Variable GraffitiPutObjectJSONSchemaConst
GraffitiPutObjectJSONSchema : { properties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; name : { type : "string" } ; source : { type : "string" } ; tombstone : { type : "boolean" } ; value : { type : "object" } ; } ; required : readonly [ "value" , "channels" ] ; type : "object" ; }
Type declaration Readonly
properties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; name : { type : "string" } ; source : { type : "string" } ; tombstone : { type : "boolean" } ; value : { type : "object" } ; } Readonly
required : readonly [ "value" , "channels" ] Readonly
type : "object" Defined in node_modules/@graffiti-garden/api/dist/src/2-types.d.ts:193
A JSON Schema equivalent to the GraffitiPutObject type. Needed internally for type inference of JSON Schemas, but can be used by implementations to validate objects.