@strapi/admin 5.7.0-beta.0 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { errors } from '@strapi/utils';
2
- import type { File } from 'formidable';
2
+ import { File } from 'formidable';
3
3
  export interface Logo {
4
4
  name: string;
5
5
  url: string;
@@ -194,4 +194,3 @@ export declare namespace GetLicenseLimitInformation {
194
194
  error?: errors.ApplicationError;
195
195
  }
196
196
  }
197
- //# sourceMappingURL=admin.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { errors } from '@strapi/utils';
2
- import type { Data } from '@strapi/types';
2
+ import { Data } from '@strapi/types';
3
3
  export type ApiToken = {
4
4
  accessKey: string;
5
5
  createdAt: string;
@@ -92,4 +92,3 @@ export declare namespace Update {
92
92
  error?: errors.ApplicationError | errors.YupValidationError;
93
93
  }
94
94
  }
95
- //# sourceMappingURL=api-token.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { AdminUser, SanitizedAdminUser } from './shared';
2
- import type { errors } from '@strapi/utils';
1
+ import { AdminUser, SanitizedAdminUser } from './shared';
2
+ import { errors } from '@strapi/utils';
3
3
  /**
4
4
  * /login - Log in as an admin user
5
5
  */
@@ -127,4 +127,3 @@ export declare namespace Logout {
127
127
  data: {};
128
128
  }
129
129
  }
130
- //# sourceMappingURL=authentication.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { errors } from '@strapi/utils';
2
- import type { Core } from '@strapi/types';
1
+ import { errors } from '@strapi/utils';
2
+ import { Core } from '@strapi/types';
3
3
  /**
4
4
  * GET /content-api/permissions - Get the permissions of all content types
5
5
  */
@@ -28,4 +28,3 @@ export declare namespace GetRoutes {
28
28
  error?: errors.ApplicationError;
29
29
  }
30
30
  }
31
- //# sourceMappingURL=content-api.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { errors } from '@strapi/utils';
2
- import type { Struct, UID } from '@strapi/types';
1
+ import { errors } from '@strapi/utils';
2
+ import { Struct, UID } from '@strapi/types';
3
3
  export interface RecentDocument {
4
4
  kind: Struct.ContentTypeKind;
5
5
  contentTypeUid: UID.ContentType;
@@ -23,4 +23,3 @@ export declare namespace GetRecentDocuments {
23
23
  error?: errors.ApplicationError;
24
24
  }
25
25
  }
26
- //# sourceMappingURL=homepage.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { errors } from '@strapi/utils';
1
+ import { errors } from '@strapi/utils';
2
2
  import { Entity, Permission } from './shared';
3
3
  export interface Action {
4
4
  actionId: string;
@@ -79,4 +79,3 @@ export declare namespace Check {
79
79
  error?: errors.ApplicationError | errors.YupValidationError;
80
80
  }
81
81
  }
82
- //# sourceMappingURL=permissions.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { Data, Modules } from '@strapi/types';
2
- import type { errors } from '@strapi/utils';
1
+ import { Data, Modules } from '@strapi/types';
2
+ import { errors } from '@strapi/utils';
3
3
  import { AdminRole, Permission, SanitizedAdminRole } from './shared';
4
4
  export type SanitizedPermission = Pick<Permission, 'id' | 'action' | 'actionParameters' | 'subject' | 'properties' | 'conditions'>;
5
5
  type SanitizedAdminRoleWithUsersCount = SanitizedAdminRole & {
@@ -135,4 +135,3 @@ export declare namespace BatchDelete {
135
135
  }
136
136
  }
137
137
  export {};
138
- //# sourceMappingURL=roles.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { Data } from '@strapi/types';
1
+ import { Data } from '@strapi/types';
2
2
  export interface Entity {
3
3
  id: Data.ID;
4
4
  createdAt: string;
@@ -51,4 +51,3 @@ export interface Pagination {
51
51
  pageCount: number;
52
52
  total: number;
53
53
  }
54
- //# sourceMappingURL=shared.d.ts.map
@@ -139,4 +139,3 @@ export declare namespace TokenRegenerate {
139
139
  error?: errors.ApplicationError;
140
140
  }
141
141
  }
142
- //# sourceMappingURL=transfer.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { errors } from '@strapi/utils';
2
- import type { AdminUserCreationPayload, AdminUserUpdatePayload, Pagination, SanitizedAdminUser } from './shared';
3
- import type { Data, Modules } from '@strapi/types';
2
+ import { AdminUserCreationPayload, AdminUserUpdatePayload, Pagination, SanitizedAdminUser } from './shared';
3
+ import { Data, Modules } from '@strapi/types';
4
4
  /**
5
5
  * /create - Create an admin user
6
6
  */
@@ -108,4 +108,3 @@ export declare namespace DeleteMany {
108
108
  error?: errors.ApplicationError | errors.YupValidationError;
109
109
  }
110
110
  }
111
- //# sourceMappingURL=user.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { errors } from '@strapi/utils';
2
- import type { SanitizedAdminUser, Permission } from './shared';
1
+ import { errors } from '@strapi/utils';
2
+ import { SanitizedAdminUser, Permission } from './shared';
3
3
  /**
4
4
  * GET /users/me - Log in as an admin user
5
5
  */
@@ -50,4 +50,3 @@ export declare namespace GetOwnPermissions {
50
50
  error?: errors.ApplicationError;
51
51
  }
52
52
  }
53
- //# sourceMappingURL=users.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { errors } from '@strapi/utils';
2
- import type { Modules } from '@strapi/types';
2
+ import { Modules } from '@strapi/types';
3
3
  /**
4
4
  * /webhooks - GET all webhooks
5
5
  */
@@ -108,4 +108,3 @@ export declare namespace TriggerWebhook {
108
108
  error?: errors.ApplicationError;
109
109
  }
110
110
  }
111
- //# sourceMappingURL=webhooks.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/admin",
3
- "version": "5.7.0-beta.0",
3
+ "version": "5.7.0",
4
4
  "description": "Strapi Admin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -82,10 +82,10 @@
82
82
  "@reduxjs/toolkit": "1.9.7",
83
83
  "@strapi/design-system": "2.0.0-rc.14",
84
84
  "@strapi/icons": "2.0.0-rc.14",
85
- "@strapi/permissions": "5.7.0-beta.0",
86
- "@strapi/types": "5.7.0-beta.0",
87
- "@strapi/typescript-utils": "5.7.0-beta.0",
88
- "@strapi/utils": "5.7.0-beta.0",
85
+ "@strapi/permissions": "5.7.0",
86
+ "@strapi/types": "5.7.0",
87
+ "@strapi/typescript-utils": "5.7.0",
88
+ "@strapi/utils": "5.7.0",
89
89
  "@testing-library/dom": "10.1.0",
90
90
  "@testing-library/react": "15.0.7",
91
91
  "@testing-library/user-event": "14.5.2",
@@ -139,8 +139,8 @@
139
139
  "zod": "^3.22.4"
140
140
  },
141
141
  "devDependencies": {
142
- "@strapi/admin-test-utils": "5.7.0-beta.0",
143
- "@strapi/data-transfer": "5.7.0-beta.0",
142
+ "@strapi/admin-test-utils": "5.7.0",
143
+ "@strapi/data-transfer": "5.7.0",
144
144
  "@strapi/pack-up": "5.0.2",
145
145
  "@types/codemirror5": "npm:@types/codemirror@^5.60.15",
146
146
  "@types/fs-extra": "11.0.4",
@@ -186,6 +186,5 @@
186
186
  ]
187
187
  }
188
188
  }
189
- },
190
- "gitHead": "7377311e89eef67196ddc5ae39f4f7d8e5fc8853"
189
+ }
191
190
  }