sdk/types/tableDefs
Esta página aún no está disponible en tu idioma.
Interfaces
Section titled “Interfaces”CombinedRank
Section titled “CombinedRank”Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:94
Represents a combined rank with associated details.
Extends
Section titled “Extends”Properties
Section titled “Properties”id: string;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:83
The unique identifier for the rank.
Inherited from
Section titled “Inherited from”name: string;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:84
The name associated with the rank.
Inherited from
Section titled “Inherited from”rank: string;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:95
The rank of the entity.
SingleRank
Section titled “SingleRank”Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:82
Represents a single rank with an identifier and a name.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”id: string;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:83
name: string;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:84
Type Aliases
Section titled “Type Aliases”AvailableLists
Section titled “AvailableLists”type AvailableLists = "owners" | "admins" | "editors" | "visitors" | "all";
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:107
Represents the different types of user lists available in the system.
- ‘owners’: List of owners.
- ‘admins’: List of administrators.
- ‘editors’: List of editors.
- ‘visitors’: List of visitors.
- ‘all’: List of all users.
DatabaseTables
Section titled “DatabaseTables”type DatabaseTables = | tsUsersSelect[] | tsOAuthAccountsSelect[] | tsSessionTableSelect[] | tsPermissionsSelect[] | tsSiteConfigSelect | tsPageDataSelect[] | tsPageDataTagsSelect[] | tsPageDataCategoriesSelect[] | tsPageContentSelect[] | tsDiffTrackingSelect[] | undefined;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:66
Represents the possible types of database tables used in the application.
This type is a union of several specific table selection types, each representing a different table in the database. The possible types include:
tsUsersSelect[]
: An array of user selection objects.tsOAuthAccountsSelect[]
: An array of OAuth account selection objects.tsSessionTableSelect[]
: An array of session table selection objects.tsPermissionsSelect[]
: An array of permission selection objects.tsSiteConfigSelect
: A site configuration selection object.tsPageDataSelect[]
: An array of page data selection objects.tsPageDataTagsSelect[]
: An array of page data tags selection objects.tsPageDataCategoriesSelect[]
: An array of page data categories selection objects.tsPageContentSelect[]
: An array of page content selection objects.tsDiffTrackingSelect[]
: An array of diff tracking selection objects.undefined
: Represents an undefined state.
PageContentReturnId
Section titled “PageContentReturnId”type PageContentReturnId = Pick<tsPageDataSelect, "id">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:35
Represents a type that picks the ‘id’ property from the tsPageDataSelect type. This type is used to return only the ‘id’ field from a tsPageDataSelect object.
PageDataCategoriesInsertResponse
Section titled “PageDataCategoriesInsertResponse”type PageDataCategoriesInsertResponse = Pick<tsPageDataCategoriesSelect, "id">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:47
Represents the response type for inserting a new page data category.
This type is a subset of tsPageDataCategoriesSelect
containing only the ‘id’ field.
PageDataReturnId
Section titled “PageDataReturnId”type PageDataReturnId = Pick<tsPageContentSelect, "id">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:29
Represents a type that picks the ‘id’ property from the tsPageContentSelect type.
PageDataStripped
Section titled “PageDataStripped”type PageDataStripped = Omit<tsPageDataSelect, "categories" | "tags" | "contributorIds">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:24
Represents a stripped-down version of the tsPageDataSelect
type,
excluding the properties ‘categories’, ‘tags’, and ‘contributorIds’.
PageDataTagsInsertResponse
Section titled “PageDataTagsInsertResponse”type PageDataTagsInsertResponse = Pick<tsPageDataTagsSelect, "id">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:41
Represents the response type for inserting page data tags.
This type is a subset of tsPageDataTagsSelect
containing only the id
field.
SiteConfig
Section titled “SiteConfig”type SiteConfig = Omit<tsSiteConfigSelect, "id">;
Defined in: studiocms/packages/studiocms/src/sdk/types/tableDefs.ts:18
Represents a stripped-down version of the tsSiteConfigSelect
type,
excluding the property ‘id’.