Skip to content

Commit

Permalink
Make plc op unknown object rather than bytes (#1792)
Browse files Browse the repository at this point in the history
make plc op unknown object rather than bytes
  • Loading branch information
devinivy authored Nov 1, 2023
1 parent cae5909 commit a161f81
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lexicons/com/atproto/server/createAccount.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"inviteCode": { "type": "string" },
"password": { "type": "string" },
"recoveryKey": { "type": "string" },
"plcOp": { "type": "bytes" }
"plcOp": { "type": "unknown" }
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ export const schemaDict = {
type: 'string',
},
plcOp: {
type: 'bytes',
type: 'unknown',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface InputSchema {
inviteCode?: string
password: string
recoveryKey?: string
plcOp?: Uint8Array
plcOp?: {}
[k: string]: unknown
}

Expand Down
2 changes: 1 addition & 1 deletion packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2512,7 +2512,7 @@ export const schemaDict = {
type: 'string',
},
plcOp: {
type: 'bytes',
type: 'unknown',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface InputSchema {
inviteCode?: string
password: string
recoveryKey?: string
plcOp?: Uint8Array
plcOp?: {}
[k: string]: unknown
}

Expand Down
4 changes: 3 additions & 1 deletion packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,8 @@ export const schemaDict = {
},
reason: {
type: 'string',
maxGraphemes: 2000,
maxLength: 20000,
},
subject: {
type: 'union',
Expand Down Expand Up @@ -2510,7 +2512,7 @@ export const schemaDict = {
type: 'string',
},
plcOp: {
type: 'bytes',
type: 'unknown',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface InputSchema {
inviteCode?: string
password: string
recoveryKey?: string
plcOp?: Uint8Array
plcOp?: {}
[k: string]: unknown
}

Expand Down

0 comments on commit a161f81

Please sign in to comment.