Aller au contenu

db/config

Ce contenu n’est pas encore disponible dans votre langue.

default: {
tables: unknown;
};

Defined in: studiocms/packages/studiocms/src/db/config.ts:212^

optional tables: unknown;

const tsAPIKeys: Table<"StudioCMSAPIKeys", {
creationDate: {
type: "date";
};
description: {
type: "text";
};
id: {
type: "text";
};
key: {
type: "text";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:237^


const tsDiffTracking: Table<"StudioCMSDiffTracking", {
diff: {
type: "text";
};
id: {
type: "text";
};
pageContentStart: {
type: "text";
};
pageId: {
type: "text";
};
pageMetaData: {
type: "json";
};
timestamp: {
type: "date";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:250^


const tsEmailVerificationTokens: Table<"StudioCMSEmailVerificationTokens", {
expiresAt: {
type: "date";
};
id: {
type: "text";
};
token: {
type: "text";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:263^


const tsMailerConfig: Table<"StudioCMSMailerConfig", {
auth_pass: {
type: "text";
};
auth_user: {
type: "text";
};
default_sender: {
type: "text";
};
host: {
type: "text";
};
id: {
type: "text";
};
port: {
type: "number";
};
proxy: {
type: "text";
};
secure: {
type: "boolean";
};
tls_rejectUnauthorized: {
type: "boolean";
};
tls_servername: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:258^


const tsNotificationSettings: Table<"StudioCMSNotificationSettings", {
emailVerification: {
type: "boolean";
};
id: {
type: "text";
};
oAuthBypassVerification: {
type: "boolean";
};
requireAdminVerification: {
type: "boolean";
};
requireEditorVerification: {
type: "boolean";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:259^


const tsOAuthAccounts: Table<"StudioCMSOAuthAccounts", {
provider: {
type: "text";
};
providerUserId: {
type: "text";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:242^


const tsPageContent: Table<"StudioCMSPageContent", {
content: {
type: "text";
};
contentId: {
type: "text";
};
contentLang: {
type: "text";
};
id: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:256^


const tsPageData: Table<"StudioCMSPageData", {
authorId: {
type: "text";
};
categories: {
type: "json";
};
contentLang: {
type: "text";
};
contributorIds: {
type: "json";
};
description: {
type: "text";
};
draft: {
type: "boolean";
};
heroImage: {
type: "text";
};
id: {
type: "text";
};
package: {
type: "text";
};
parentFolder: {
type: "text";
};
publishedAt: {
type: "date";
};
showAuthor: {
type: "boolean";
};
showContributors: {
type: "boolean";
};
showOnNav: {
type: "boolean";
};
slug: {
type: "text";
};
tags: {
type: "json";
};
title: {
type: "text";
};
updatedAt: {
type: "date";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:249^


const tsPageDataCategories: Table<"StudioCMSPageDataCategories", {
description: {
type: "text";
};
id: {
type: "number";
};
meta: {
type: "json";
};
name: {
type: "text";
};
parent: {
type: "number";
};
slug: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:252^


const tsPageDataTags: Table<"StudioCMSPageDataTags", {
description: {
type: "text";
};
id: {
type: "number";
};
meta: {
type: "json";
};
name: {
type: "text";
};
slug: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:251^


const tsPageFolderStructure: Table<"StudioCMSPageFolderStructure", {
id: {
type: "text";
};
name: {
type: "text";
};
parent: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:245^


const tsPermissions: Table<"StudioCMSPermissions", {
rank: {
type: "text";
};
user: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:244^


const tsPluginData: Table<"StudioCMSPluginData", {
data: {
type: "json";
};
id: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:267^


const tsSessionTable: Table<"StudioCMSSessionTable", {
expiresAt: {
type: "date";
};
id: {
type: "text";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:243^


const tsSiteConfig: Table<"StudioCMSSiteConfig", {
defaultOgImage: {
type: "text";
};
description: {
type: "text";
};
diffPerPage: {
type: "number";
};
enableDiffs: {
type: "boolean";
};
enableMailer: {
type: "boolean";
};
gridItems: {
type: "json";
};
hideDefaultIndex: {
type: "boolean";
};
id: {
type: "number";
};
loginPageBackground: {
type: "text";
};
loginPageCustomImage: {
type: "text";
};
siteIcon: {
type: "text";
};
title: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:257^


const tsUserResetTokens: Table<"StudioCMSUserResetTokens", {
id: {
type: "text";
};
token: {
type: "text";
};
userId: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:238^


const tsUsers: Table<"StudioCMSUsers", {
avatar: {
type: "text";
};
createdAt: {
type: "date";
};
email: {
type: "text";
};
emailVerified: {
type: "boolean";
};
id: {
type: "text";
};
name: {
type: "text";
};
notifications: {
type: "text";
};
password: {
type: "text";
};
updatedAt: {
type: "date";
};
url: {
type: "text";
};
username: {
type: "text";
};
}>;

Defined in: studiocms/packages/studiocms/src/db/config.ts:236^