Changed Backend to Supabase
This commit is contained in:
13
strapi/types/generated/contentTypes.d.ts
vendored
13
strapi/types/generated/contentTypes.d.ts
vendored
@@ -631,7 +631,6 @@ export interface PluginUsersPermissionsUser extends Schema.CollectionType {
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: false;
|
||||
timestamps: true;
|
||||
};
|
||||
attributes: {
|
||||
username: Attribute.String &
|
||||
@@ -660,6 +659,11 @@ export interface PluginUsersPermissionsUser extends Schema.CollectionType {
|
||||
'manyToOne',
|
||||
'plugin::users-permissions.role'
|
||||
>;
|
||||
tenant: Attribute.Relation<
|
||||
'plugin::users-permissions.user',
|
||||
'manyToOne',
|
||||
'api::tenant.tenant'
|
||||
>;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
createdBy: Attribute.Relation<
|
||||
@@ -999,6 +1003,7 @@ export interface ApiTenantTenant extends Schema.CollectionType {
|
||||
singularName: 'tenant';
|
||||
pluralName: 'tenants';
|
||||
displayName: 'Tenants';
|
||||
description: '';
|
||||
};
|
||||
options: {
|
||||
draftAndPublish: true;
|
||||
@@ -1006,6 +1011,12 @@ export interface ApiTenantTenant extends Schema.CollectionType {
|
||||
attributes: {
|
||||
name: Attribute.String;
|
||||
short: Attribute.String;
|
||||
users: Attribute.Relation<
|
||||
'api::tenant.tenant',
|
||||
'oneToMany',
|
||||
'plugin::users-permissions.user'
|
||||
>;
|
||||
modules: Attribute.JSON;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
publishedAt: Attribute.DateTime;
|
||||
|
||||
Reference in New Issue
Block a user