2024-12-29 13:03:32 +11:00
|
|
|
import type { Attribute, Schema } from '@strapi/strapi';
|
2024-04-01 14:42:25 +11:00
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface AdminApiToken extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_api_tokens';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Api Token';
|
|
|
|
|
name: 'Api Token';
|
|
|
|
|
pluralName: 'api-tokens';
|
|
|
|
|
singularName: 'api-token';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
accessKey: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'admin::api-token',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
description: Attribute.String &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}> &
|
|
|
|
|
Attribute.DefaultTo<''>;
|
|
|
|
|
expiresAt: Attribute.DateTime;
|
|
|
|
|
lastUsedAt: Attribute.DateTime;
|
|
|
|
|
lifespan: Attribute.BigInteger;
|
|
|
|
|
name: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.Unique &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
permissions: Attribute.Relation<
|
|
|
|
|
'admin::api-token',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'admin::api-token-permission'
|
|
|
|
|
>;
|
|
|
|
|
type: Attribute.Enumeration<['read-only', 'full-access', 'custom']> &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.DefaultTo<'read-only'>;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
2024-12-29 13:03:32 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'admin::api-token',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface AdminApiTokenPermission extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_api_token_permissions';
|
|
|
|
|
info: {
|
|
|
|
|
description: '';
|
|
|
|
|
displayName: 'API Token Permission';
|
|
|
|
|
name: 'API Token Permission';
|
|
|
|
|
pluralName: 'api-token-permissions';
|
|
|
|
|
singularName: 'api-token-permission';
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
action: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::api-token-permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
token: Attribute.Relation<
|
|
|
|
|
'admin::api-token-permission',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'admin::api-token'
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::api-token-permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface AdminPermission extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'admin_permissions';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Permission';
|
|
|
|
|
name: 'Permission';
|
|
|
|
|
pluralName: 'permissions';
|
|
|
|
|
singularName: 'permission';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
action: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
actionParameters: Attribute.JSON & Attribute.DefaultTo<{}>;
|
|
|
|
|
conditions: Attribute.JSON & Attribute.DefaultTo<[]>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'admin::permission',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
properties: Attribute.JSON & Attribute.DefaultTo<{}>;
|
|
|
|
|
role: Attribute.Relation<'admin::permission', 'manyToOne', 'admin::role'>;
|
|
|
|
|
subject: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-12-29 13:03:32 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'admin::permission',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface AdminRole extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'admin_roles';
|
|
|
|
|
info: {
|
|
|
|
|
description: '';
|
|
|
|
|
displayName: 'Role';
|
2024-12-29 13:03:32 +11:00
|
|
|
name: 'Role';
|
|
|
|
|
pluralName: 'roles';
|
|
|
|
|
singularName: 'role';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
code: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.Unique &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
description: Attribute.String;
|
|
|
|
|
name: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.Unique &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
permissions: Attribute.Relation<
|
|
|
|
|
'admin::role',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'admin::permission'
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
users: Attribute.Relation<'admin::role', 'manyToMany', 'admin::user'>;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface AdminTransferToken extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_transfer_tokens';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Transfer Token';
|
|
|
|
|
name: 'Transfer Token';
|
|
|
|
|
pluralName: 'transfer-tokens';
|
|
|
|
|
singularName: 'transfer-token';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
accessKey: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'admin::transfer-token',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-04-01 14:42:25 +11:00
|
|
|
description: Attribute.String &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}> &
|
|
|
|
|
Attribute.DefaultTo<''>;
|
2024-12-29 13:03:32 +11:00
|
|
|
expiresAt: Attribute.DateTime;
|
|
|
|
|
lastUsedAt: Attribute.DateTime;
|
|
|
|
|
lifespan: Attribute.BigInteger;
|
|
|
|
|
name: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
2024-12-29 13:03:32 +11:00
|
|
|
Attribute.Unique &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
permissions: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::transfer-token',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToMany',
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::transfer-token-permission'
|
2024-04-01 14:42:25 +11:00
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::transfer-token',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface AdminTransferTokenPermission extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_transfer_token_permissions';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Transfer Token Permission';
|
|
|
|
|
name: 'Transfer Token Permission';
|
|
|
|
|
pluralName: 'transfer-token-permissions';
|
|
|
|
|
singularName: 'transfer-token-permission';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
action: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::transfer-token-permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
token: Attribute.Relation<
|
|
|
|
|
'admin::transfer-token-permission',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'admin::transfer-token'
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::transfer-token-permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface AdminUser extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'admin_users';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'User';
|
|
|
|
|
name: 'User';
|
|
|
|
|
pluralName: 'users';
|
|
|
|
|
singularName: 'user';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
email: Attribute.Email &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
2024-12-29 13:03:32 +11:00
|
|
|
Attribute.Private &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Unique &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
2024-12-29 13:03:32 +11:00
|
|
|
minLength: 6;
|
2024-04-01 14:42:25 +11:00
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
firstname: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
2024-12-29 13:03:32 +11:00
|
|
|
}>;
|
|
|
|
|
isActive: Attribute.Boolean &
|
|
|
|
|
Attribute.Private &
|
|
|
|
|
Attribute.DefaultTo<false>;
|
|
|
|
|
lastname: Attribute.String &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 1;
|
|
|
|
|
}>;
|
2024-12-29 13:03:32 +11:00
|
|
|
password: Attribute.Password &
|
|
|
|
|
Attribute.Private &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
preferedLanguage: Attribute.String;
|
|
|
|
|
registrationToken: Attribute.String & Attribute.Private;
|
|
|
|
|
resetPasswordToken: Attribute.String & Attribute.Private;
|
|
|
|
|
roles: Attribute.Relation<'admin::user', 'manyToMany', 'admin::role'> &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
username: Attribute.String;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiArticleArticle extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'articles';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Article';
|
|
|
|
|
pluralName: 'articles';
|
|
|
|
|
singularName: 'article';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
Abstract: Attribute.RichText &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
2024-12-29 13:03:32 +11:00
|
|
|
maxLength: 255;
|
2024-04-01 14:42:25 +11:00
|
|
|
}>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::article.article',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Featured: Attribute.Boolean;
|
|
|
|
|
FeaturedImageCaption: Attribute.String & Attribute.Required;
|
|
|
|
|
FeatureImage: Attribute.Media<'images'> & Attribute.Required;
|
|
|
|
|
FullBody: Attribute.RichText &
|
|
|
|
|
Attribute.CustomField<
|
|
|
|
|
'plugin::ckeditor5.CKEditor',
|
|
|
|
|
{
|
|
|
|
|
preset: 'custom';
|
|
|
|
|
}
|
|
|
|
|
>;
|
|
|
|
|
project: Attribute.Relation<
|
|
|
|
|
'api::article.article',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'api::project.project'
|
|
|
|
|
>;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::article.article', 'Title'>;
|
|
|
|
|
tags: Attribute.Relation<
|
|
|
|
|
'api::article.article',
|
|
|
|
|
'manyToMany',
|
|
|
|
|
'api::tag.tag'
|
|
|
|
|
>;
|
|
|
|
|
Title: Attribute.String & Attribute.Required & Attribute.Unique;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::article.article',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiGalleryImageGalleryImage extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'gallery_images';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Gallery Image';
|
|
|
|
|
pluralName: 'gallery-images';
|
|
|
|
|
singularName: 'gallery-image';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::gallery-image.gallery-image',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Description: Attribute.RichText & Attribute.Required;
|
|
|
|
|
galleries: Attribute.Relation<
|
|
|
|
|
'api::gallery-image.gallery-image',
|
|
|
|
|
'manyToMany',
|
|
|
|
|
'api::gallery.gallery'
|
|
|
|
|
>;
|
|
|
|
|
Image: Attribute.Media<'images'> & Attribute.Required;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::gallery-image.gallery-image', 'Title'>;
|
|
|
|
|
Title: Attribute.String & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::gallery-image.gallery-image',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiGalleryGallery extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'galleries';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
description: '';
|
|
|
|
|
displayName: 'Gallery';
|
|
|
|
|
pluralName: 'galleries';
|
|
|
|
|
singularName: 'gallery';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::gallery.gallery',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Description: Attribute.RichText & Attribute.Required;
|
|
|
|
|
gallery_images: Attribute.Relation<
|
|
|
|
|
'api::gallery.gallery',
|
|
|
|
|
'manyToMany',
|
|
|
|
|
'api::gallery-image.gallery-image'
|
|
|
|
|
>;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::gallery.gallery', 'Title'> & Attribute.Required;
|
|
|
|
|
Title: Attribute.String & Attribute.Required & Attribute.Unique;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::gallery.gallery',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiPagePage extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'pages';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Page';
|
|
|
|
|
pluralName: 'pages';
|
|
|
|
|
singularName: 'page';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
2024-12-29 13:03:32 +11:00
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
Body: Attribute.RichText;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
2024-12-29 13:03:32 +11:00
|
|
|
createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Title: Attribute.String;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
2024-12-29 13:03:32 +11:00
|
|
|
updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ApiPodcastEpisodePodcastEpisode extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'podcast_episodes';
|
|
|
|
|
info: {
|
|
|
|
|
description: '';
|
|
|
|
|
displayName: 'Podcast Episode';
|
|
|
|
|
pluralName: 'podcast-episodes';
|
|
|
|
|
singularName: 'podcast-episode';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
Audio_MP3: Attribute.Media<'audios'> & Attribute.Required;
|
|
|
|
|
Audio_OGG: Attribute.Media<'audios'>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::podcast-episode.podcast-episode',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Description: Attribute.RichText & Attribute.Required;
|
|
|
|
|
podcast_sery: Attribute.Relation<
|
|
|
|
|
'api::podcast-episode.podcast-episode',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'api::podcast-serie.podcast-serie'
|
|
|
|
|
>;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::podcast-episode.podcast-episode', 'Title'>;
|
|
|
|
|
Subtitles: Attribute.Media<'files'>;
|
|
|
|
|
Title: Attribute.String & Attribute.Required;
|
|
|
|
|
Transcript: Attribute.RichText &
|
|
|
|
|
Attribute.CustomField<
|
|
|
|
|
'plugin::ckeditor5.CKEditor',
|
|
|
|
|
{
|
|
|
|
|
preset: 'custom';
|
|
|
|
|
}
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::podcast-episode.podcast-episode',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiPodcastSeriePodcastSerie extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'podcast_series';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
description: '';
|
|
|
|
|
displayName: 'Podcast Series';
|
|
|
|
|
pluralName: 'podcast-series';
|
|
|
|
|
singularName: 'podcast-serie';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
2024-12-29 13:03:32 +11:00
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::podcast-serie.podcast-serie',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Description: Attribute.RichText & Attribute.Required;
|
|
|
|
|
iTunesCategory: Attribute.Text;
|
|
|
|
|
itunesExplicit: Attribute.Enumeration<['Yes', 'No']>;
|
|
|
|
|
iTunesKeywords: Attribute.Text;
|
|
|
|
|
iTunesLink: Attribute.String & Attribute.Required;
|
|
|
|
|
Logo: Attribute.Media<'images'> & Attribute.Required;
|
|
|
|
|
podcast_episodes: Attribute.Relation<
|
|
|
|
|
'api::podcast-serie.podcast-serie',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'api::podcast-episode.podcast-episode'
|
|
|
|
|
>;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
rssLink: Attribute.String & Attribute.Required;
|
|
|
|
|
Slug: Attribute.UID<'api::podcast-serie.podcast-serie', 'Title'>;
|
|
|
|
|
status: Attribute.Boolean;
|
|
|
|
|
symfonyId: Attribute.Integer & Attribute.Private & Attribute.Unique;
|
|
|
|
|
Title: Attribute.String & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::podcast-serie.podcast-serie',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiProjectProject extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'projects';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Project';
|
|
|
|
|
pluralName: 'projects';
|
|
|
|
|
singularName: 'project';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
2024-12-29 13:03:32 +11:00
|
|
|
draftAndPublish: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
articles: Attribute.Relation<
|
|
|
|
|
'api::project.project',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'api::article.article'
|
|
|
|
|
>;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::project.project',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
Description: Attribute.Text;
|
|
|
|
|
HasFeed: Attribute.Boolean;
|
|
|
|
|
ProjectLogo: Attribute.Media<'images'>;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::project.project', 'Title'>;
|
|
|
|
|
tags: Attribute.Relation<
|
|
|
|
|
'api::project.project',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'api::tag.tag'
|
|
|
|
|
>;
|
|
|
|
|
Title: Attribute.String;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'api::project.project',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface ApiTagTag extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'tags';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Tag';
|
|
|
|
|
pluralName: 'tags';
|
|
|
|
|
singularName: 'tag';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: true;
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
articles: Attribute.Relation<
|
|
|
|
|
'api::tag.tag',
|
|
|
|
|
'manyToMany',
|
|
|
|
|
'api::article.article'
|
|
|
|
|
>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
publishedAt: Attribute.DateTime;
|
|
|
|
|
Slug: Attribute.UID<'api::tag.tag', 'TagTitle'> & Attribute.Required;
|
|
|
|
|
TagTitle: Attribute.String;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<'api::tag.tag', 'oneToOne', 'admin::user'> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginContentReleasesRelease extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_releases';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Release';
|
|
|
|
|
pluralName: 'releases';
|
|
|
|
|
singularName: 'release';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
actions: Attribute.Relation<
|
|
|
|
|
'plugin::content-releases.release',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::content-releases.release-action'
|
2024-04-01 14:42:25 +11:00
|
|
|
>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::content-releases.release',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
name: Attribute.String & Attribute.Required;
|
|
|
|
|
releasedAt: Attribute.DateTime;
|
|
|
|
|
scheduledAt: Attribute.DateTime;
|
|
|
|
|
status: Attribute.Enumeration<
|
|
|
|
|
['ready', 'blocked', 'failed', 'done', 'empty']
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Required;
|
|
|
|
|
timezone: Attribute.String;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::content-releases.release',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginContentReleasesReleaseAction
|
|
|
|
|
extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'strapi_release_actions';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Release Action';
|
|
|
|
|
pluralName: 'release-actions';
|
|
|
|
|
singularName: 'release-action';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
contentType: Attribute.String & Attribute.Required;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::content-releases.release-action',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
entry: Attribute.Relation<
|
|
|
|
|
'plugin::content-releases.release-action',
|
|
|
|
|
'morphToOne'
|
|
|
|
|
>;
|
|
|
|
|
isEntryValid: Attribute.Boolean;
|
|
|
|
|
locale: Attribute.String;
|
|
|
|
|
release: Attribute.Relation<
|
|
|
|
|
'plugin::content-releases.release-action',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::content-releases.release'
|
|
|
|
|
>;
|
|
|
|
|
type: Attribute.Enumeration<['publish', 'unpublish']> & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::content-releases.release-action',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginI18NLocale extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'i18n_locale';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
collectionName: 'locales';
|
2024-04-01 14:42:25 +11:00
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Locale';
|
|
|
|
|
pluralName: 'locales';
|
|
|
|
|
singularName: 'locale';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
2024-12-29 13:03:32 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
code: Attribute.String & Attribute.Unique;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::i18n.locale',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
name: Attribute.String &
|
|
|
|
|
Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
max: 50;
|
|
|
|
|
min: 1;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::i18n.locale',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginMenusMenu extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'menus';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Menu';
|
2024-12-29 13:03:32 +11:00
|
|
|
name: 'Menu';
|
2024-04-01 14:42:25 +11:00
|
|
|
pluralName: 'menus';
|
2024-12-29 13:03:32 +11:00
|
|
|
singularName: 'menu';
|
2024-04-01 14:42:25 +11:00
|
|
|
tableName: 'menus';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'plugin::menus.menu',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
items: Attribute.Relation<
|
|
|
|
|
'plugin::menus.menu',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::menus.menu-item'
|
|
|
|
|
>;
|
|
|
|
|
slug: Attribute.UID<'plugin::menus.menu', 'title'> & Attribute.Required;
|
|
|
|
|
title: Attribute.String & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::menus.menu',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginMenusMenuItem extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'menu_items';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Menu Item';
|
2024-12-29 13:03:32 +11:00
|
|
|
name: 'MenuItem';
|
2024-04-01 14:42:25 +11:00
|
|
|
pluralName: 'menu-items';
|
2024-12-29 13:03:32 +11:00
|
|
|
singularName: 'menu-item';
|
2024-04-01 14:42:25 +11:00
|
|
|
tableName: 'menu_items';
|
|
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
draftAndPublish: false;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::menus.menu-item',
|
2024-12-29 13:03:32 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
2024-04-01 14:42:25 +11:00
|
|
|
> &
|
2024-12-29 13:03:32 +11:00
|
|
|
Attribute.Private;
|
|
|
|
|
order: Attribute.Integer;
|
2024-04-01 14:42:25 +11:00
|
|
|
parent: Attribute.Relation<
|
|
|
|
|
'plugin::menus.menu-item',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'plugin::menus.menu-item'
|
|
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
root_menu: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::menus.menu-item',
|
2024-12-29 13:03:32 +11:00
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::menus.menu'
|
2024-04-01 14:42:25 +11:00
|
|
|
> &
|
2024-12-29 13:03:32 +11:00
|
|
|
Attribute.Required;
|
|
|
|
|
target: Attribute.Enumeration<['_blank', '_parent', '_self', '_top']>;
|
|
|
|
|
title: Attribute.String & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::menus.menu-item',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
url: Attribute.String;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginNavigationAudience extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'audience';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Audience';
|
|
|
|
|
name: 'audience';
|
2024-12-29 13:03:32 +11:00
|
|
|
pluralName: 'audiences';
|
|
|
|
|
singularName: 'audience';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
comment: 'Audience';
|
2024-12-29 13:03:32 +11:00
|
|
|
increments: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.audience',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
key: Attribute.UID<'plugin::navigation.audience', 'name'>;
|
|
|
|
|
name: Attribute.String & Attribute.Required;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.audience',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginNavigationNavigation extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'navigations';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Navigation';
|
|
|
|
|
name: 'navigation';
|
2024-12-29 13:03:32 +11:00
|
|
|
pluralName: 'navigations';
|
|
|
|
|
singularName: 'navigation';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
comment: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
increments: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-04-01 14:42:25 +11:00
|
|
|
items: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::navigation.navigation-item'
|
|
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
localeCode: Attribute.String;
|
2024-04-01 14:42:25 +11:00
|
|
|
localizations: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::navigation.navigation'
|
|
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
name: Attribute.Text & Attribute.Required;
|
|
|
|
|
slug: Attribute.UID & Attribute.Required;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
visible: Attribute.Boolean & Attribute.DefaultTo<false>;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginNavigationNavigationItem extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'navigations_items';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Navigation Item';
|
|
|
|
|
name: 'navigation-item';
|
2024-12-29 13:03:32 +11:00
|
|
|
pluralName: 'navigation-items';
|
|
|
|
|
singularName: 'navigation-item';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
2024-12-29 13:03:32 +11:00
|
|
|
comment: 'Navigation Item';
|
2024-04-01 14:42:25 +11:00
|
|
|
increments: true;
|
|
|
|
|
timestamps: true;
|
|
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
i18n: {
|
|
|
|
|
localized: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
additionalFields: Attribute.JSON & Attribute.DefaultTo<{}>;
|
|
|
|
|
audience: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::navigation.navigation-item',
|
2024-12-29 13:03:32 +11:00
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::navigation.audience'
|
2024-04-01 14:42:25 +11:00
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
autoSync: Attribute.Boolean & Attribute.DefaultTo<true>;
|
|
|
|
|
collapsed: Attribute.Boolean & Attribute.DefaultTo<false>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::navigation.navigation-item',
|
|
|
|
|
'oneToOne',
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
externalPath: Attribute.Text;
|
2024-04-01 14:42:25 +11:00
|
|
|
master: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation-item',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::navigation.navigation'
|
|
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
menuAttached: Attribute.Boolean & Attribute.DefaultTo<false>;
|
|
|
|
|
order: Attribute.Integer & Attribute.DefaultTo<0>;
|
|
|
|
|
parent: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::navigation.navigation-item',
|
2024-12-29 13:03:32 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'plugin::navigation.navigation-item'
|
2024-04-01 14:42:25 +11:00
|
|
|
>;
|
2024-12-29 13:03:32 +11:00
|
|
|
path: Attribute.Text;
|
|
|
|
|
related: Attribute.Relation<
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::navigation.navigation-item',
|
|
|
|
|
'oneToOne',
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::navigation.navigations-items-related'
|
|
|
|
|
>;
|
|
|
|
|
title: Attribute.Text &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetPluginOptions<{
|
|
|
|
|
i18n: {
|
|
|
|
|
localized: false;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
type: Attribute.Enumeration<['INTERNAL', 'EXTERNAL', 'WRAPPER']> &
|
|
|
|
|
Attribute.DefaultTo<'INTERNAL'>;
|
|
|
|
|
uiRouterKey: Attribute.String;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigation-item',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface PluginNavigationNavigationsItemsRelated
|
|
|
|
|
extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'navigations_items_related';
|
|
|
|
|
info: {
|
|
|
|
|
displayName: 'Navigations Items Related';
|
|
|
|
|
name: 'navigations_items_related';
|
2024-12-29 13:03:32 +11:00
|
|
|
pluralName: 'navigations-items-relateds';
|
|
|
|
|
singularName: 'navigations-items-related';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
|
|
|
|
increments: true;
|
|
|
|
|
populateCreatorFields: false;
|
2024-12-29 13:03:32 +11:00
|
|
|
timestamps: false;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
i18n: {
|
|
|
|
|
localized: false;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'plugin::navigation.navigations-items-related',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
field: Attribute.String & Attribute.Required;
|
|
|
|
|
master: Attribute.String & Attribute.Required;
|
|
|
|
|
order: Attribute.Integer & Attribute.Required;
|
|
|
|
|
related_id: Attribute.String & Attribute.Required;
|
|
|
|
|
related_type: Attribute.String & Attribute.Required;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::navigation.navigations-items-related',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginUploadFile extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'files';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'File';
|
|
|
|
|
pluralName: 'files';
|
|
|
|
|
singularName: 'file';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
alternativeText: Attribute.String;
|
|
|
|
|
caption: Attribute.String;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::upload.file',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
ext: Attribute.String;
|
|
|
|
|
folder: Attribute.Relation<
|
|
|
|
|
'plugin::upload.file',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::upload.folder'
|
2024-04-01 14:42:25 +11:00
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
folderPath: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.Private &
|
|
|
|
|
Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
min: 1;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
formats: Attribute.JSON;
|
|
|
|
|
hash: Attribute.String & Attribute.Required;
|
|
|
|
|
height: Attribute.Integer;
|
|
|
|
|
mime: Attribute.String & Attribute.Required;
|
|
|
|
|
name: Attribute.String & Attribute.Required;
|
|
|
|
|
previewUrl: Attribute.String;
|
|
|
|
|
provider: Attribute.String & Attribute.Required;
|
|
|
|
|
provider_metadata: Attribute.JSON;
|
|
|
|
|
related: Attribute.Relation<'plugin::upload.file', 'morphToMany'>;
|
|
|
|
|
size: Attribute.Decimal & Attribute.Required;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::upload.file',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
url: Attribute.String & Attribute.Required;
|
|
|
|
|
width: Attribute.Integer;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginUploadFolder extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'upload_folders';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Folder';
|
|
|
|
|
pluralName: 'folders';
|
|
|
|
|
singularName: 'folder';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
children: Attribute.Relation<
|
|
|
|
|
'plugin::upload.folder',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::upload.folder'
|
2024-04-01 14:42:25 +11:00
|
|
|
>;
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::upload.folder',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
files: Attribute.Relation<
|
|
|
|
|
'plugin::upload.folder',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::upload.file'
|
|
|
|
|
>;
|
|
|
|
|
name: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
min: 1;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
parent: Attribute.Relation<
|
|
|
|
|
'plugin::upload.folder',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::upload.folder'
|
|
|
|
|
>;
|
|
|
|
|
path: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMax<
|
|
|
|
|
{
|
|
|
|
|
min: 1;
|
|
|
|
|
},
|
|
|
|
|
number
|
|
|
|
|
>;
|
|
|
|
|
pathId: Attribute.Integer & Attribute.Required & Attribute.Unique;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::upload.folder',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginUsersPermissionsPermission
|
|
|
|
|
extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'up_permissions';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Permission';
|
|
|
|
|
name: 'permission';
|
|
|
|
|
pluralName: 'permissions';
|
|
|
|
|
singularName: 'permission';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
action: Attribute.String & Attribute.Required;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::users-permissions.permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
role: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.permission',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::users-permissions.permission',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginUsersPermissionsRole extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'up_roles';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'Role';
|
|
|
|
|
name: 'role';
|
|
|
|
|
pluralName: 'roles';
|
|
|
|
|
singularName: 'role';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
2024-12-29 13:03:32 +11:00
|
|
|
pluginOptions: {
|
|
|
|
|
'content-manager': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
|
|
|
|
'content-type-builder': {
|
|
|
|
|
visible: false;
|
|
|
|
|
};
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
|
|
|
|
createdAt: Attribute.DateTime;
|
|
|
|
|
createdBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::users-permissions.role',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
description: Attribute.String;
|
|
|
|
|
name: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
|
|
|
|
permissions: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.role',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.permission'
|
|
|
|
|
>;
|
|
|
|
|
type: Attribute.String & Attribute.Unique;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
2024-04-01 14:42:25 +11:00
|
|
|
updatedBy: Attribute.Relation<
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::users-permissions.role',
|
2024-04-01 14:42:25 +11:00
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
|
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
users: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.role',
|
|
|
|
|
'oneToMany',
|
|
|
|
|
'plugin::users-permissions.user'
|
|
|
|
|
>;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2024-12-29 13:03:32 +11:00
|
|
|
export interface PluginUsersPermissionsUser extends Schema.CollectionType {
|
|
|
|
|
collectionName: 'up_users';
|
2024-04-01 14:42:25 +11:00
|
|
|
info: {
|
|
|
|
|
description: '';
|
2024-12-29 13:03:32 +11:00
|
|
|
displayName: 'User';
|
|
|
|
|
name: 'user';
|
|
|
|
|
pluralName: 'users';
|
|
|
|
|
singularName: 'user';
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
options: {
|
2024-12-29 13:03:32 +11:00
|
|
|
draftAndPublish: false;
|
|
|
|
|
timestamps: true;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
attributes: {
|
2024-12-29 13:03:32 +11:00
|
|
|
blocked: Attribute.Boolean & Attribute.DefaultTo<false>;
|
|
|
|
|
confirmationToken: Attribute.String & Attribute.Private;
|
|
|
|
|
confirmed: Attribute.Boolean & Attribute.DefaultTo<false>;
|
2024-04-01 14:42:25 +11:00
|
|
|
createdAt: Attribute.DateTime;
|
2024-12-29 13:03:32 +11:00
|
|
|
createdBy: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.user',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
email: Attribute.Email &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
password: Attribute.Password &
|
|
|
|
|
Attribute.Private &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 6;
|
|
|
|
|
}>;
|
|
|
|
|
provider: Attribute.String;
|
|
|
|
|
resetPasswordToken: Attribute.String & Attribute.Private;
|
|
|
|
|
role: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.user',
|
|
|
|
|
'manyToOne',
|
|
|
|
|
'plugin::users-permissions.role'
|
|
|
|
|
>;
|
|
|
|
|
updatedAt: Attribute.DateTime;
|
|
|
|
|
updatedBy: Attribute.Relation<
|
|
|
|
|
'plugin::users-permissions.user',
|
|
|
|
|
'oneToOne',
|
|
|
|
|
'admin::user'
|
|
|
|
|
> &
|
2024-04-01 14:42:25 +11:00
|
|
|
Attribute.Private;
|
2024-12-29 13:03:32 +11:00
|
|
|
username: Attribute.String &
|
|
|
|
|
Attribute.Required &
|
|
|
|
|
Attribute.Unique &
|
|
|
|
|
Attribute.SetMinMaxLength<{
|
|
|
|
|
minLength: 3;
|
|
|
|
|
}>;
|
2024-04-01 14:42:25 +11:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
declare module '@strapi/types' {
|
|
|
|
|
export module Shared {
|
|
|
|
|
export interface ContentTypes {
|
|
|
|
|
'admin::api-token': AdminApiToken;
|
|
|
|
|
'admin::api-token-permission': AdminApiTokenPermission;
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::permission': AdminPermission;
|
|
|
|
|
'admin::role': AdminRole;
|
2024-04-01 14:42:25 +11:00
|
|
|
'admin::transfer-token': AdminTransferToken;
|
|
|
|
|
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
2024-12-29 13:03:32 +11:00
|
|
|
'admin::user': AdminUser;
|
|
|
|
|
'api::article.article': ApiArticleArticle;
|
|
|
|
|
'api::gallery-image.gallery-image': ApiGalleryImageGalleryImage;
|
|
|
|
|
'api::gallery.gallery': ApiGalleryGallery;
|
|
|
|
|
'api::page.page': ApiPagePage;
|
|
|
|
|
'api::podcast-episode.podcast-episode': ApiPodcastEpisodePodcastEpisode;
|
|
|
|
|
'api::podcast-serie.podcast-serie': ApiPodcastSeriePodcastSerie;
|
|
|
|
|
'api::project.project': ApiProjectProject;
|
|
|
|
|
'api::tag.tag': ApiTagTag;
|
2024-04-01 14:42:25 +11:00
|
|
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
|
|
|
|
'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
|
|
|
|
|
'plugin::i18n.locale': PluginI18NLocale;
|
|
|
|
|
'plugin::menus.menu': PluginMenusMenu;
|
|
|
|
|
'plugin::menus.menu-item': PluginMenusMenuItem;
|
|
|
|
|
'plugin::navigation.audience': PluginNavigationAudience;
|
|
|
|
|
'plugin::navigation.navigation': PluginNavigationNavigation;
|
|
|
|
|
'plugin::navigation.navigation-item': PluginNavigationNavigationItem;
|
|
|
|
|
'plugin::navigation.navigations-items-related': PluginNavigationNavigationsItemsRelated;
|
2024-12-29 13:03:32 +11:00
|
|
|
'plugin::upload.file': PluginUploadFile;
|
|
|
|
|
'plugin::upload.folder': PluginUploadFolder;
|
|
|
|
|
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
|
|
|
|
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
|
|
|
|
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
2024-04-01 14:42:25 +11:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|