@getcommunity/gc-validators 0.0.216 → 0.0.217
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/chunk-CKQMccvm.cjs +28 -0
- package/dist/constants.cjs +461 -438
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +2 -233
- package/dist/constants.d.mts +2 -0
- package/dist/constants.mjs +355 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/index-B6pNPQrV.d.mts +4192 -0
- package/dist/index-CQtazKyX.d.cts +4192 -0
- package/dist/index-CiWVYf_f.d.cts +292 -0
- package/dist/index-DOR_It7I.d.mts +292 -0
- package/dist/index.cjs +350 -1388
- package/dist/index.d.cts +3 -10
- package/dist/index.d.mts +3 -0
- package/dist/index.mjs +6 -0
- package/dist/permissions.cjs +757 -30
- package/dist/permissions.cjs.map +1 -1
- package/dist/permissions.d.cts +2 -747
- package/dist/permissions.d.mts +2 -0
- package/dist/permissions.mjs +753 -0
- package/dist/permissions.mjs.map +1 -0
- package/dist/schemas.cjs +1781 -896
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +2 -1935
- package/dist/schemas.d.mts +2 -0
- package/dist/schemas.mjs +1559 -0
- package/dist/schemas.mjs.map +1 -0
- package/dist/types.cjs +0 -6
- package/dist/types.d.cts +2 -851
- package/dist/types.d.mts +2 -0
- package/dist/types.mjs +1 -0
- package/dist/utilities.cjs +76 -38
- package/dist/utilities.cjs.map +1 -1
- package/dist/utilities.d.cts +2 -26
- package/dist/utilities.d.mts +2 -0
- package/dist/utilities.mjs +68 -0
- package/dist/utilities.mjs.map +1 -0
- package/package.json +4 -4
- package/dist/chunk-57PRSDKM.cjs +0 -368
- package/dist/chunk-57PRSDKM.cjs.map +0 -1
- package/dist/chunk-7CI3M2JM.js +0 -3
- package/dist/chunk-7CI3M2JM.js.map +0 -1
- package/dist/chunk-ABPKJ5AP.js +0 -259
- package/dist/chunk-ABPKJ5AP.js.map +0 -1
- package/dist/chunk-BYTL5J7D.js +0 -2606
- package/dist/chunk-BYTL5J7D.js.map +0 -1
- package/dist/chunk-CDBT3J75.cjs +0 -4
- package/dist/chunk-CDBT3J75.cjs.map +0 -1
- package/dist/chunk-DU5WCXJJ.js +0 -685
- package/dist/chunk-DU5WCXJJ.js.map +0 -1
- package/dist/chunk-IMI6XEMX.cjs +0 -2849
- package/dist/chunk-IMI6XEMX.cjs.map +0 -1
- package/dist/chunk-NMDMJZPF.cjs +0 -692
- package/dist/chunk-NMDMJZPF.cjs.map +0 -1
- package/dist/chunk-NNLSUHMQ.js +0 -63
- package/dist/chunk-NNLSUHMQ.js.map +0 -1
- package/dist/chunk-UAQWYRXG.cjs +0 -92
- package/dist/chunk-UAQWYRXG.cjs.map +0 -1
- package/dist/comment.document-HT6qJLh5.d.cts +0 -468
- package/dist/comment.document-xCsfHOer.d.ts +0 -468
- package/dist/constants.d.ts +0 -233
- package/dist/constants.js +0 -3
- package/dist/constants.js.map +0 -1
- package/dist/font.constants-BVwxlH3J.d.cts +0 -52
- package/dist/font.constants-BVwxlH3J.d.ts +0 -52
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -7
- package/dist/index.js.map +0 -1
- package/dist/permission.constants-B99nobws.d.cts +0 -30
- package/dist/permission.constants-B99nobws.d.ts +0 -30
- package/dist/permissions.d.ts +0 -747
- package/dist/permissions.js +0 -3
- package/dist/permissions.js.map +0 -1
- package/dist/response-8Bkawql4.d.cts +0 -56
- package/dist/response-8Bkawql4.d.ts +0 -56
- package/dist/schemas.d.ts +0 -1935
- package/dist/schemas.js +0 -5
- package/dist/schemas.js.map +0 -1
- package/dist/types.cjs.map +0 -1
- package/dist/types.d.ts +0 -851
- package/dist/types.js +0 -3
- package/dist/types.js.map +0 -1
- package/dist/utilities.d.ts +0 -26
- package/dist/utilities.js +0 -3
- package/dist/utilities.js.map +0 -1
package/dist/permissions.js
DELETED
package/dist/permissions.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"permissions.js"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
type StrapiPagination = {
|
|
2
|
-
page: number;
|
|
3
|
-
pageSize: number;
|
|
4
|
-
pageCount: number;
|
|
5
|
-
total: number;
|
|
6
|
-
};
|
|
7
|
-
type StrapiResponseMeta = {
|
|
8
|
-
pagination?: StrapiPagination;
|
|
9
|
-
token?: string;
|
|
10
|
-
};
|
|
11
|
-
type StrapiResponseMetaWithPagination = StrapiResponseMeta & {
|
|
12
|
-
pagination: StrapiPagination;
|
|
13
|
-
};
|
|
14
|
-
type StrapiAttributeErrorKey<T> = {
|
|
15
|
-
message: string;
|
|
16
|
-
name: string;
|
|
17
|
-
path: string[];
|
|
18
|
-
value: T[keyof T];
|
|
19
|
-
};
|
|
20
|
-
type StrapiErrorDetail<T> = {
|
|
21
|
-
status: string | number;
|
|
22
|
-
name: string;
|
|
23
|
-
message: string;
|
|
24
|
-
details: Record<keyof T, string>;
|
|
25
|
-
};
|
|
26
|
-
type StrapiAttributeErrorDetail<T> = {
|
|
27
|
-
status: string | number;
|
|
28
|
-
name: string;
|
|
29
|
-
message: string;
|
|
30
|
-
details: {
|
|
31
|
-
errors: StrapiAttributeErrorKey<T>[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type StrapiSingleResponse<T> = {
|
|
35
|
-
data: T;
|
|
36
|
-
error?: undefined;
|
|
37
|
-
meta?: StrapiResponseMeta;
|
|
38
|
-
};
|
|
39
|
-
type StrapiListResponse<T> = {
|
|
40
|
-
data: T[];
|
|
41
|
-
error?: undefined;
|
|
42
|
-
meta?: StrapiResponseMetaWithPagination;
|
|
43
|
-
};
|
|
44
|
-
type StrapiErrorResponse<T> = {
|
|
45
|
-
data: null;
|
|
46
|
-
error: StrapiErrorDetail<T>;
|
|
47
|
-
meta?: undefined;
|
|
48
|
-
};
|
|
49
|
-
type StrapiAttributeErrorResponse<T> = {
|
|
50
|
-
data: null;
|
|
51
|
-
error: StrapiAttributeErrorDetail<T>;
|
|
52
|
-
meta?: undefined;
|
|
53
|
-
};
|
|
54
|
-
type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
|
|
55
|
-
|
|
56
|
-
export type { StrapiPagination as S, StrapiResponseMeta as a, StrapiResponseMetaWithPagination as b, StrapiAttributeErrorKey as c, StrapiErrorDetail as d, StrapiAttributeErrorDetail as e, StrapiSingleResponse as f, StrapiListResponse as g, StrapiErrorResponse as h, StrapiAttributeErrorResponse as i, StrapiErrorResult as j };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
type StrapiPagination = {
|
|
2
|
-
page: number;
|
|
3
|
-
pageSize: number;
|
|
4
|
-
pageCount: number;
|
|
5
|
-
total: number;
|
|
6
|
-
};
|
|
7
|
-
type StrapiResponseMeta = {
|
|
8
|
-
pagination?: StrapiPagination;
|
|
9
|
-
token?: string;
|
|
10
|
-
};
|
|
11
|
-
type StrapiResponseMetaWithPagination = StrapiResponseMeta & {
|
|
12
|
-
pagination: StrapiPagination;
|
|
13
|
-
};
|
|
14
|
-
type StrapiAttributeErrorKey<T> = {
|
|
15
|
-
message: string;
|
|
16
|
-
name: string;
|
|
17
|
-
path: string[];
|
|
18
|
-
value: T[keyof T];
|
|
19
|
-
};
|
|
20
|
-
type StrapiErrorDetail<T> = {
|
|
21
|
-
status: string | number;
|
|
22
|
-
name: string;
|
|
23
|
-
message: string;
|
|
24
|
-
details: Record<keyof T, string>;
|
|
25
|
-
};
|
|
26
|
-
type StrapiAttributeErrorDetail<T> = {
|
|
27
|
-
status: string | number;
|
|
28
|
-
name: string;
|
|
29
|
-
message: string;
|
|
30
|
-
details: {
|
|
31
|
-
errors: StrapiAttributeErrorKey<T>[];
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type StrapiSingleResponse<T> = {
|
|
35
|
-
data: T;
|
|
36
|
-
error?: undefined;
|
|
37
|
-
meta?: StrapiResponseMeta;
|
|
38
|
-
};
|
|
39
|
-
type StrapiListResponse<T> = {
|
|
40
|
-
data: T[];
|
|
41
|
-
error?: undefined;
|
|
42
|
-
meta?: StrapiResponseMetaWithPagination;
|
|
43
|
-
};
|
|
44
|
-
type StrapiErrorResponse<T> = {
|
|
45
|
-
data: null;
|
|
46
|
-
error: StrapiErrorDetail<T>;
|
|
47
|
-
meta?: undefined;
|
|
48
|
-
};
|
|
49
|
-
type StrapiAttributeErrorResponse<T> = {
|
|
50
|
-
data: null;
|
|
51
|
-
error: StrapiAttributeErrorDetail<T>;
|
|
52
|
-
meta?: undefined;
|
|
53
|
-
};
|
|
54
|
-
type StrapiErrorResult<T> = StrapiErrorResponse<T> | StrapiAttributeErrorResponse<T>;
|
|
55
|
-
|
|
56
|
-
export type { StrapiPagination as S, StrapiResponseMeta as a, StrapiResponseMetaWithPagination as b, StrapiAttributeErrorKey as c, StrapiErrorDetail as d, StrapiAttributeErrorDetail as e, StrapiSingleResponse as f, StrapiListResponse as g, StrapiErrorResponse as h, StrapiAttributeErrorResponse as i, StrapiErrorResult as j };
|