Zum Inhalt springen

virtuals/sdk/types/tableDefs

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:95^

Represents a combined rank with associated details.

id: string;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:84^

The unique identifier for the rank.

SingleRank.id

name: string;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:85^

The name associated with the rank.

SingleRank.name

rank: string;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:96^

The rank of the entity.


Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:83^

Represents a single rank with an identifier and a name.

id: string;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:84^

name: string;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:85^

type AvailableLists = "owners" | "admins" | "editors" | "visitors" | "all";

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:108^

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.

type DatabaseTables =
| tsUsersSelect[]
| tsOAuthAccountsSelect[]
| tsSessionTableSelect[]
| tsPermissionsSelect[]
| tsSiteConfigSelect
| tsPageDataSelect[]
| tsPageDataTagsSelect[]
| tsPageDataCategoriesSelect[]
| tsPageContentSelect[]
| tsDiffTrackingSelect[]
| undefined;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:67^

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.

type PageContentReturnId = Pick<tsPageDataSelect, "id">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:36^

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.


type PageDataCategoriesInsertResponse = Pick<tsPageDataCategoriesSelect, "id">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:48^

Represents the response type for inserting a new page data category. This type is a subset of tsPageDataCategoriesSelect containing only the ‘id’ field.


type PageDataReturnId = Pick<tsPageContentSelect, "id">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:30^

Represents a type that picks the ‘id’ property from the tsPageContentSelect type.


type PageDataStripped = Omit<tsPageDataSelect, "categories" | "tags" | "contributorIds">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:25^

Represents a stripped-down version of the tsPageDataSelect type, excluding the properties ‘categories’, ‘tags’, and ‘contributorIds’.


type PageDataTagsInsertResponse = Pick<tsPageDataTagsSelect, "id">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:42^

Represents the response type for inserting page data tags. This type is a subset of tsPageDataTagsSelect containing only the id field.


type SiteConfig = Omit<tsSiteConfigInsert, "id">;

Defined in: studiocms/packages/studiocms/src/virtuals/sdk/types/tableDefs.ts:19^

Represents a stripped-down version of the tsSiteConfigSelect type, excluding the property ‘id’.