TypeScript API / laikacms/assets / AssetsCapabilitiesSchema
Variable: AssetsCapabilitiesSchema
ts
const AssetsCapabilitiesSchema: StandardSchemaV1<{
changes: | {
description: string;
supported: false;
}
| {
changeFeed: boolean;
description: string;
supported: true;
syncToken: boolean;
};
compatibilityDate: string;
filtering?: | {
description: string;
supported: false;
}
| {
description: string;
filters: readonly object[];
supported: true;
};
pagination: | {
description: string;
supported: false;
}
| {
description: string;
styles: {
cursor: boolean;
offset: boolean;
page: boolean;
};
supported: true;
};
versionTracking: | {
description: string;
supported: false;
}
| {
description: string;
supported: true;
};
}, {
changes: | {
description: string;
supported: false;
}
| {
changeFeed: boolean;
description: string;
supported: true;
syncToken: boolean;
};
compatibilityDate: string & Brand<"AssetsRepositoryCompatibilityDate">;
filtering?: | {
description: string;
supported: false;
}
| {
description: string;
filters: readonly object[];
supported: true;
};
pagination: | {
description: string;
supported: false;
}
| {
description: string;
styles: {
cursor: boolean;
offset: boolean;
page: boolean;
};
supported: true;
};
versionTracking: | {
description: string;
supported: false;
}
| {
description: string;
supported: true;
};
}> & Struct<{
changes: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
changeFeed: Boolean;
description: String;
supported: Literal<true>;
syncToken: Boolean;
}>]>;
compatibilityDate: brand<String, "AssetsRepositoryCompatibilityDate">;
filtering: optional<Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
description: String;
filters: $Array<Struct<{
description: ...;
name: ...;
}>>;
supported: Literal<true>;
}>]>>;
pagination: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
description: String;
styles: Struct<{
cursor: Boolean;
offset: Boolean;
page: Boolean;
}>;
supported: Literal<true>;
}>]>;
versionTracking: Union<readonly [Struct<{
description: String;
supported: Literal<false>;
}>, Struct<{
description: String;
supported: Literal<true>;
}>]>;
}>;Capabilities advertised by an AssetsRepository. Pagination affects listResources.