TypeScript API / laikacms/storage / CapabilitiesSchema
Variable: CapabilitiesSchema
ts
const CapabilitiesSchema: StandardSchemaV1<{
changes: | {
description: string;
supported: false;
}
| {
changeFeed: boolean;
description: string;
subscription: boolean;
supported: true;
syncToken: boolean;
};
compatibilityDate: string;
fileExtensions: | {
description: string;
supported: false;
}
| {
description: string;
supported: true;
supportedExtensions: {
[key: string]: object;
};
};
pagination: | {
description: string;
supported: false;
}
| {
description: string;
styles: {
cursor: boolean;
offset: boolean;
page: boolean;
};
supported: true;
};
}, {
changes: | {
description: string;
supported: false;
}
| {
changeFeed: boolean;
description: string;
subscription: boolean;
supported: true;
syncToken: boolean;
};
compatibilityDate: string & Brand<"StorageRepositoryCompatibilityDate">;
fileExtensions: | {
description: string;
supported: false;
}
| {
description: string;
supported: true;
supportedExtensions: {
[key: string]: object;
};
};
pagination: | {
description: string;
supported: false;
}
| {
description: string;
styles: {
cursor: boolean;
offset: boolean;
page: boolean;
};
supported: true;
};
}> & Struct<{
changes: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
changeFeed: Boolean;
description: String;
subscription: Boolean;
supported: Literal<true>;
syncToken: Boolean;
}>]>;
compatibilityDate: brand<String, "StorageRepositoryCompatibilityDate">;
fileExtensions: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
description: String;
supported: Literal<true>;
supportedExtensions: $Record<String, Struct<{
format: brand<..., ...>;
}>>;
}>]>;
pagination: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
description: String;
styles: Struct<{
cursor: Boolean;
offset: Boolean;
page: Boolean;
}>;
supported: Literal<true>;
}>]>;
}>;