Releasing new design #161
@ -508,7 +508,6 @@ export const CreatePage = () => {
|
|||||||
) => {
|
) => {
|
||||||
const signers = users.filter((user) => user.role === UserRole.signer)
|
const signers = users.filter((user) => user.role === UserRole.signer)
|
||||||
const viewers = users.filter((user) => user.role === UserRole.viewer)
|
const viewers = users.filter((user) => user.role === UserRole.viewer)
|
||||||
|
|
||||||
const markConfig = createMarkConfig(fileHashes)
|
const markConfig = createMarkConfig(fileHashes)
|
||||||
|
|
||||||
const content: CreateSignatureEventContent = {
|
const content: CreateSignatureEventContent = {
|
||||||
|
@ -29,7 +29,6 @@ export interface MarkDetails {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface MarkValue {
|
export interface MarkValue {
|
||||||
type: MarkType,
|
|
||||||
value: string
|
value: string
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,14 +55,14 @@ const creatorMetaExample = {
|
|||||||
// Signer npub
|
// Signer npub
|
||||||
'npub1x77qywdllzetv9ncnhlfpv62kshlgtt0uqlsq3v22uzzkk2xvvrsn6uyfy': {
|
'npub1x77qywdllzetv9ncnhlfpv62kshlgtt0uqlsq3v22uzzkk2xvvrsn6uyfy': {
|
||||||
// PDF Page 1 (PNG file hash)
|
// PDF Page 1 (PNG file hash)
|
||||||
'hash123png1': [
|
'da5f857e77d3aa59c461efad804116931c059b36e6b4da0b5d9452753ec70c05/1.png': [
|
||||||
{
|
{
|
||||||
markType: "FULLNAME",
|
markType: "FULLNAME",
|
||||||
markLocation: "X:56;Y:306"
|
markLocation: "X:56;Y:306"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// PDF Page 2 (PNG file hash)
|
// PDF Page 2 (PNG file hash)
|
||||||
'hash321png2': [
|
'da5f857e77d3aa59c461efad804116931c059b36e6b4da0b5d9452753ec70c05/2.png': [
|
||||||
{
|
{
|
||||||
markType: "FULLNAME",
|
markType: "FULLNAME",
|
||||||
markLocation: "X:76;Y:283.71875"
|
markLocation: "X:76;Y:283.71875"
|
||||||
@ -78,18 +77,16 @@ const signerExample = {
|
|||||||
"prevSig": "10de030dd2bfafbbd34969645bd0b3f5e8ab71b3b32091fb29bbea5e272f8a3b7284ef667b6a02e9becc1036450d9fbe5c1c6d146fa91d70e0d8f3cd54d64f17",
|
"prevSig": "10de030dd2bfafbbd34969645bd0b3f5e8ab71b3b32091fb29bbea5e272f8a3b7284ef667b6a02e9becc1036450d9fbe5c1c6d146fa91d70e0d8f3cd54d64f17",
|
||||||
"marks": {
|
"marks": {
|
||||||
// PDF Page 1 (PNG file hash)
|
// PDF Page 1 (PNG file hash)
|
||||||
'hash123png1': {
|
'da5f857e77d3aa59c461efad804116931c059b36e6b4da0b5d9452753ec70c05/1.png': {
|
||||||
// Mark coordinates
|
// Mark coordinates
|
||||||
"X:56;Y:306": {
|
"X:56;Y:306": {
|
||||||
type: 'FULLNAME',
|
|
||||||
value: 'Pera Peric'
|
value: 'Pera Peric'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// PDF Page 2 (PNG file hash)
|
// PDF Page 2 (PNG file hash)
|
||||||
'hash321png2': {
|
'da5f857e77d3aa59c461efad804116931c059b36e6b4da0b5d9452753ec70c05/2.png': {
|
||||||
// Mark coordinates
|
// Mark coordinates
|
||||||
"X:76;Y:283.71875": {
|
"X:76;Y:283.71875": {
|
||||||
type: 'FULLNAME',
|
|
||||||
value: 'Pera Peric'
|
value: 'Pera Peric'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user