Skip to content

TypeScript API / laikacms/storage / StorageObjectUpdateSchema

Variable: StorageObjectUpdateSchema ​

ts
const StorageObjectUpdateSchema: StandardSchemaV1<{
  content?: {
   [key: string]: any;
  };
  key: string;
  metadata?: {
     extension?: string;
     revisionId?: string;
  };
  type?: "object";
}, {
  content?: {
   [key: string]: any;
  };
  key: string;
  metadata?: {
     extension?: string;
     revisionId?: string;
  };
  type?: "object";
}> & Struct<{
  content: optional<$Record<String, Any>>;
  key: String;
  metadata: optional<StandardSchemaV1<{
     extension?: string;
     revisionId?: string;
   }, {
     extension?: string;
     revisionId?: string;
   }> & Struct<{
     extension: optional<String>;
     revisionId: optional<String>;
  }>>;
  type: optional<Literal<"object">>;
}>;

Released under the MIT License.