Skip to content

TypeScript API / laikacms/storage / StorageObjectCreateSchema

Variable: StorageObjectCreateSchema ​

ts
const StorageObjectCreateSchema: 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: $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.