|
|
|
@ -1,5 +1,498 @@
|
|
|
|
|
import type { Struct, Schema } from '@strapi/strapi';
|
|
|
|
|
|
|
|
|
|
export interface ApiHomeHome extends Struct.SingleTypeSchema {
|
|
|
|
|
collectionName: 'homes';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'home';
|
|
|
|
|
pluralName: 'homes';
|
|
|
|
|
displayName: 'Home';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
title: Schema.Attribute.String;
|
|
|
|
|
slug: Schema.Attribute.UID<'title'>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiPagePage extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'pages';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'page';
|
|
|
|
|
pluralName: 'pages';
|
|
|
|
|
displayName: 'Page';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
title: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUploadFile extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'files';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'file';
|
|
|
|
|
pluralName: 'files';
|
|
|
|
|
displayName: 'File';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
alternativeText: Schema.Attribute.String;
|
|
|
|
|
caption: Schema.Attribute.String;
|
|
|
|
|
width: Schema.Attribute.Integer;
|
|
|
|
|
height: Schema.Attribute.Integer;
|
|
|
|
|
formats: Schema.Attribute.JSON;
|
|
|
|
|
hash: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
ext: Schema.Attribute.String;
|
|
|
|
|
mime: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
size: Schema.Attribute.Decimal & Schema.Attribute.Required;
|
|
|
|
|
url: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
previewUrl: Schema.Attribute.String;
|
|
|
|
|
provider: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
provider_metadata: Schema.Attribute.JSON;
|
|
|
|
|
related: Schema.Attribute.Relation<'morphToMany'>;
|
|
|
|
|
folder: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
folderPath: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Private &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUploadFolder extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'upload_folders';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'folder';
|
|
|
|
|
pluralName: 'folders';
|
|
|
|
|
displayName: 'Folder';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
pathId: Schema.Attribute.Integer &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Unique;
|
|
|
|
|
parent: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'>;
|
|
|
|
|
children: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.folder'>;
|
|
|
|
|
files: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.file'>;
|
|
|
|
|
path: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginI18NLocale extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'i18n_locale';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'locale';
|
|
|
|
|
pluralName: 'locales';
|
|
|
|
|
collectionName: 'locales';
|
|
|
|
|
displayName: 'Locale';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
min: 1;
|
|
|
|
|
max: 50;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
code: Schema.Attribute.String & Schema.Attribute.Unique;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginContentReleasesRelease
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_releases';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'release';
|
|
|
|
|
pluralName: 'releases';
|
|
|
|
|
displayName: 'Release';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
releasedAt: Schema.Attribute.DateTime;
|
|
|
|
|
scheduledAt: Schema.Attribute.DateTime;
|
|
|
|
|
timezone: Schema.Attribute.String;
|
|
|
|
|
status: Schema.Attribute.Enumeration<
|
|
|
|
|
['ready', 'blocked', 'failed', 'done', 'empty']
|
|
|
|
|
> &
|
|
|
|
|
Schema.Attribute.Required;
|
|
|
|
|
actions: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::content-releases.release-action'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginContentReleasesReleaseAction
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_release_actions';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'release-action';
|
|
|
|
|
pluralName: 'release-actions';
|
|
|
|
|
displayName: 'Release Action';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
type: Schema.Attribute.Enumeration<['publish', 'unpublish']> &
|
|
|
|
|
Schema.Attribute.Required;
|
|
|
|
|
contentType: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
entryDocumentId: Schema.Attribute.String;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
release: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::content-releases.release'
|
|
|
|
|
>;
|
|
|
|
|
isEntryValid: Schema.Attribute.Boolean;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginReviewWorkflowsWorkflow
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_workflows';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'Workflow';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'workflow';
|
|
|
|
|
pluralName: 'workflows';
|
|
|
|
|
displayName: 'Workflow';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Unique;
|
|
|
|
|
stages: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::review-workflows.workflow-stage'
|
|
|
|
|
>;
|
|
|
|
|
contentTypes: Schema.Attribute.JSON &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.DefaultTo<'[]'>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginReviewWorkflowsWorkflowStage
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_workflows_stages';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'Workflow Stage';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'workflow-stage';
|
|
|
|
|
pluralName: 'workflow-stages';
|
|
|
|
|
displayName: 'Stages';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
version: '1.1.0';
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String;
|
|
|
|
|
color: Schema.Attribute.String & Schema.Attribute.DefaultTo<'#4945FF'>;
|
|
|
|
|
workflow: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::review-workflows.workflow'
|
|
|
|
|
>;
|
|
|
|
|
permissions: Schema.Attribute.Relation<'manyToMany', 'admin::permission'>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsPermission
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_permissions';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'permission';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'permission';
|
|
|
|
|
pluralName: 'permissions';
|
|
|
|
|
displayName: 'Permission';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
action: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
role: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsRole
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_roles';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'role';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'role';
|
|
|
|
|
pluralName: 'roles';
|
|
|
|
|
displayName: 'Role';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
|
|
|
|
description: Schema.Attribute.String;
|
|
|
|
|
type: Schema.Attribute.String & Schema.Attribute.Unique;
|
|
|
|
|
permissions: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.permission'
|
|
|
|
|
>;
|
|
|
|
|
users: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.user'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsUser
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_users';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'user';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'user';
|
|
|
|
|
pluralName: 'users';
|
|
|
|
|
displayName: 'User';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
timestamps: true;
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
username: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Unique &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
|
|
|
|
email: Schema.Attribute.Email &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
provider: Schema.Attribute.String;
|
|
|
|
|
password: Schema.Attribute.Password &
|
|
|
|
|
Schema.Attribute.Private &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
resetPasswordToken: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
|
|
confirmationToken: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
|
|
confirmed: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
|
|
|
|
blocked: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
|
|
|
|
role: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface AdminPermission extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'admin_permissions';
|
|
|
|
|
info: {
|
|
|
|
@ -346,370 +839,21 @@ export interface AdminTransferTokenPermission
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUploadFile extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'files';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'file';
|
|
|
|
|
pluralName: 'files';
|
|
|
|
|
displayName: 'File';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
alternativeText: Schema.Attribute.String;
|
|
|
|
|
caption: Schema.Attribute.String;
|
|
|
|
|
width: Schema.Attribute.Integer;
|
|
|
|
|
height: Schema.Attribute.Integer;
|
|
|
|
|
formats: Schema.Attribute.JSON;
|
|
|
|
|
hash: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
ext: Schema.Attribute.String;
|
|
|
|
|
mime: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
size: Schema.Attribute.Decimal & Schema.Attribute.Required;
|
|
|
|
|
url: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
previewUrl: Schema.Attribute.String;
|
|
|
|
|
provider: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
provider_metadata: Schema.Attribute.JSON;
|
|
|
|
|
related: Schema.Attribute.Relation<'morphToMany'>;
|
|
|
|
|
folder: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
folderPath: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Private &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUploadFolder extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'upload_folders';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'folder';
|
|
|
|
|
pluralName: 'folders';
|
|
|
|
|
displayName: 'Folder';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
pathId: Schema.Attribute.Integer &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Unique;
|
|
|
|
|
parent: Schema.Attribute.Relation<'manyToOne', 'plugin::upload.folder'>;
|
|
|
|
|
children: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.folder'>;
|
|
|
|
|
files: Schema.Attribute.Relation<'oneToMany', 'plugin::upload.file'>;
|
|
|
|
|
path: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginI18NLocale extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'i18n_locale';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'locale';
|
|
|
|
|
pluralName: 'locales';
|
|
|
|
|
collectionName: 'locales';
|
|
|
|
|
displayName: 'Locale';
|
|
|
|
|
description: '';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
min: 1;
|
|
|
|
|
max: 50;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
code: Schema.Attribute.String & Schema.Attribute.Unique;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginContentReleasesRelease
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_releases';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'release';
|
|
|
|
|
pluralName: 'releases';
|
|
|
|
|
displayName: 'Release';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
releasedAt: Schema.Attribute.DateTime;
|
|
|
|
|
scheduledAt: Schema.Attribute.DateTime;
|
|
|
|
|
timezone: Schema.Attribute.String;
|
|
|
|
|
status: Schema.Attribute.Enumeration<
|
|
|
|
|
['ready', 'blocked', 'failed', 'done', 'empty']
|
|
|
|
|
> &
|
|
|
|
|
Schema.Attribute.Required;
|
|
|
|
|
actions: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::content-releases.release-action'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginContentReleasesReleaseAction
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'strapi_release_actions';
|
|
|
|
|
info: {
|
|
|
|
|
singularName: 'release-action';
|
|
|
|
|
pluralName: 'release-actions';
|
|
|
|
|
displayName: 'Release Action';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
type: Schema.Attribute.Enumeration<['publish', 'unpublish']> &
|
|
|
|
|
Schema.Attribute.Required;
|
|
|
|
|
entry: Schema.Attribute.Relation<'morphToOne'>;
|
|
|
|
|
contentType: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
release: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::content-releases.release'
|
|
|
|
|
>;
|
|
|
|
|
isEntryValid: Schema.Attribute.Boolean;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsPermission
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_permissions';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'permission';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'permission';
|
|
|
|
|
pluralName: 'permissions';
|
|
|
|
|
displayName: 'Permission';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
action: Schema.Attribute.String & Schema.Attribute.Required;
|
|
|
|
|
role: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsRole
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_roles';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'role';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'role';
|
|
|
|
|
pluralName: 'roles';
|
|
|
|
|
displayName: 'Role';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
name: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
|
|
|
|
description: Schema.Attribute.String;
|
|
|
|
|
type: Schema.Attribute.String & Schema.Attribute.Unique;
|
|
|
|
|
permissions: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.permission'
|
|
|
|
|
>;
|
|
|
|
|
users: Schema.Attribute.Relation<
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.user'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginUsersPermissionsUser
|
|
|
|
|
extends Struct.CollectionTypeSchema {
|
|
|
|
|
collectionName: 'up_users';
|
|
|
|
|
info: {
|
|
|
|
|
name: 'user';
|
|
|
|
|
description: '';
|
|
|
|
|
singularName: 'user';
|
|
|
|
|
pluralName: 'users';
|
|
|
|
|
displayName: 'User';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
timestamps: true;
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
username: Schema.Attribute.String &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.Unique &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
|
|
|
|
email: Schema.Attribute.Email &
|
|
|
|
|
Schema.Attribute.Required &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
provider: Schema.Attribute.String;
|
|
|
|
|
password: Schema.Attribute.Password &
|
|
|
|
|
Schema.Attribute.Private &
|
|
|
|
|
Schema.Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
resetPasswordToken: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
|
|
confirmationToken: Schema.Attribute.String & Schema.Attribute.Private;
|
|
|
|
|
confirmed: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
|
|
|
|
blocked: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
|
|
|
|
role: Schema.Attribute.Relation<
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Schema.Attribute.DateTime;
|
|
|
|
|
updatedAt: Schema.Attribute.DateTime;
|
|
|
|
|
publishedAt: Schema.Attribute.DateTime;
|
|
|
|
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
|
|
|
|
Schema.Attribute.Private;
|
|
|
|
|
locale: Schema.Attribute.String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare module '@strapi/strapi' {
|
|
|
|
|
export module Public {
|
|
|
|
|
export interface ContentTypeSchemas {
|
|
|
|
|
'api::home.home': ApiHomeHome;
|
|
|
|
|
'api::page.page': ApiPagePage;
|
|
|
|
|
'plugin::upload.file': PluginUploadFile;
|
|
|
|
|
'plugin::upload.folder': PluginUploadFolder;
|
|
|
|
|
'plugin::i18n.locale': PluginI18NLocale;
|
|
|
|
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
|
|
|
|
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
|
|
|
|
'plugin::review-workflows.workflow': PluginReviewWorkflowsWorkflow;
|
|
|
|
|
'plugin::review-workflows.workflow-stage': PluginReviewWorkflowsWorkflowStage;
|
|
|
|
|
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
|
|
|
|
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
|
|
|
|
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
|
|
|
|
'admin::permission': AdminPermission;
|
|
|
|
|
'admin::user': AdminUser;
|
|
|
|
|
'admin::role': AdminRole;
|
|
|
|
@ -717,14 +861,6 @@ declare module '@strapi/strapi' {
|
|
|
|
|
'admin::api-token-permission': AdminApiTokenPermission;
|
|
|
|
|
'admin::transfer-token': AdminTransferToken;
|
|
|
|
|
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
|
|
|
|
'plugin::upload.file': PluginUploadFile;
|
|
|
|
|
'plugin::upload.folder': PluginUploadFolder;
|
|
|
|
|
'plugin::i18n.locale': PluginI18NLocale;
|
|
|
|
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
|
|
|
|
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
|
|
|
|
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
|
|
|
|
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
|
|
|
|
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|