@strapi/types 5.50.0 → 5.50.1
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.
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,YAAY,KAAK,IAAI,MAAM,QAAQ,CAAC;AACpC,YAAY,KAAK,IAAI,MAAM,QAAQ,CAAC;AACpC,YAAY,KAAK,QAAQ,MAAM,YAAY,CAAC;AAC5C,YAAY,KAAK,OAAO,MAAM,WAAW,CAAC;AAC1C,YAAY,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,KAAK,KAAK,MAAM,SAAS,CAAC;AACtC,YAAY,KAAK,MAAM,MAAM,UAAU,CAAC;AACxC,YAAY,KAAK,GAAG,MAAM,OAAO,CAAC;AAElC,OAAO,CAAC,MAAM,CAAC;IAEb,IAAI,MAAM,EAAE,MAAM,CAAC;IAGnB,UAAU,MAAM,CAAC;QACf,UAAU,MAAM;YACd,MAAM,EAAE,MAAM,CAAC;SAChB;KACF;CACF"}
|
|
@@ -10,11 +10,9 @@ import type { ComponentSchema, ContentTypeSchema } from '../struct';
|
|
|
10
10
|
* Example usage of ContentTypeSchemas:
|
|
11
11
|
* ```ts
|
|
12
12
|
* declare module '@strapi/types' {
|
|
13
|
-
* export
|
|
14
|
-
* export
|
|
15
|
-
*
|
|
16
|
-
* 'api::foo.foo': { ... }
|
|
17
|
-
* }
|
|
13
|
+
* export namespace Public {
|
|
14
|
+
* export interface ContentTypeSchemas {
|
|
15
|
+
* 'api::foo.foo': { ... }
|
|
18
16
|
* }
|
|
19
17
|
* }
|
|
20
18
|
* }
|
|
@@ -32,11 +30,9 @@ export interface ContentTypeSchemas {
|
|
|
32
30
|
* Example usage of ComponentSchemas:
|
|
33
31
|
* ```ts
|
|
34
32
|
* declare module '@strapi/types' {
|
|
35
|
-
* export
|
|
36
|
-
* export
|
|
37
|
-
*
|
|
38
|
-
* 'default.foo': { ... }
|
|
39
|
-
* }
|
|
33
|
+
* export namespace Public {
|
|
34
|
+
* export interface ComponentSchemas {
|
|
35
|
+
* 'default.foo': { ... }
|
|
40
36
|
* }
|
|
41
37
|
* }
|
|
42
38
|
* }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../../src/public/registries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../../src/public/registries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEpE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,kBAAkB;IACjC,CAAC,IAAI,EAAE,GAAG,CAAC,WAAW,GAAG,iBAAiB,CAAC;CAC5C;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,IAAI,EAAE,GAAG,CAAC,SAAS,GAAG,eAAe,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,GAAG,OAAO,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,GAAG,UAAU,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,GAAG,UAAU,CAAC;CACnC"}
|
package/dist/public/shared.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* Here's how `DocumentServicePluginParams` can be used to define parameters for a fictional plugin "Internationalization":
|
|
12
12
|
* ```typescript
|
|
13
13
|
* declare module '@strapi/types' {
|
|
14
|
-
* export
|
|
14
|
+
* export namespace Public {
|
|
15
15
|
* export interface DocumentServicePluginParams {
|
|
16
16
|
* 'locale': string;
|
|
17
17
|
* }
|
|
@@ -36,7 +36,7 @@ export interface DocumentServicePluginParams {
|
|
|
36
36
|
* Here's how `EntityServicePluginParams` can be used to define parameters for a fictional plugin "Internationalization":
|
|
37
37
|
* ```typescript
|
|
38
38
|
* declare module '@strapi/types' {
|
|
39
|
-
* export
|
|
39
|
+
* export namespace Public {
|
|
40
40
|
* export interface EntityServicePluginParams {
|
|
41
41
|
* 'locale': string;
|
|
42
42
|
* }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/types",
|
|
3
|
-
"version": "5.50.
|
|
3
|
+
"version": "5.50.1",
|
|
4
4
|
"description": "Shared typescript types for Strapi internal use",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi"
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"@koa/cors": "5.0.0",
|
|
49
49
|
"@koa/router": "12.0.2",
|
|
50
50
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
51
|
-
"@strapi/database": "5.50.
|
|
52
|
-
"@strapi/logger": "5.50.
|
|
53
|
-
"@strapi/permissions": "5.50.
|
|
54
|
-
"@strapi/utils": "5.50.
|
|
51
|
+
"@strapi/database": "5.50.1",
|
|
52
|
+
"@strapi/logger": "5.50.1",
|
|
53
|
+
"@strapi/permissions": "5.50.1",
|
|
54
|
+
"@strapi/utils": "5.50.1",
|
|
55
55
|
"commander": "8.3.0",
|
|
56
56
|
"json-logic-js": "2.0.5",
|
|
57
57
|
"koa": "2.16.4",
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"@types/koa": "2.15.2",
|
|
69
69
|
"@types/koa__router": "12.0.0",
|
|
70
70
|
"@types/node-schedule": "2.1.7",
|
|
71
|
-
"eslint-config-custom": "5.50.
|
|
71
|
+
"eslint-config-custom": "5.50.1",
|
|
72
72
|
"lodash": "4.18.1",
|
|
73
|
-
"tsconfig": "5.50.
|
|
73
|
+
"tsconfig": "5.50.1",
|
|
74
74
|
"typescript": "5.9.3",
|
|
75
75
|
"undici": "6.27.0"
|
|
76
76
|
},
|