@getcommunity/gc-validators 0.0.216 → 0.0.218

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.
Files changed (86) hide show
  1. package/dist/chunk-CKQMccvm.cjs +28 -0
  2. package/dist/constants.cjs +461 -438
  3. package/dist/constants.cjs.map +1 -1
  4. package/dist/constants.d.cts +2 -233
  5. package/dist/constants.d.mts +2 -0
  6. package/dist/constants.mjs +355 -0
  7. package/dist/constants.mjs.map +1 -0
  8. package/dist/index-B6pNPQrV.d.mts +4192 -0
  9. package/dist/index-CQtazKyX.d.cts +4192 -0
  10. package/dist/index-CiWVYf_f.d.cts +292 -0
  11. package/dist/index-DOR_It7I.d.mts +292 -0
  12. package/dist/index.cjs +350 -1388
  13. package/dist/index.d.cts +3 -10
  14. package/dist/index.d.mts +3 -0
  15. package/dist/index.mjs +6 -0
  16. package/dist/permissions.cjs +757 -30
  17. package/dist/permissions.cjs.map +1 -1
  18. package/dist/permissions.d.cts +2 -747
  19. package/dist/permissions.d.mts +2 -0
  20. package/dist/permissions.mjs +753 -0
  21. package/dist/permissions.mjs.map +1 -0
  22. package/dist/schemas.cjs +1781 -896
  23. package/dist/schemas.cjs.map +1 -1
  24. package/dist/schemas.d.cts +2 -1935
  25. package/dist/schemas.d.mts +2 -0
  26. package/dist/schemas.mjs +1559 -0
  27. package/dist/schemas.mjs.map +1 -0
  28. package/dist/types.cjs +0 -6
  29. package/dist/types.d.cts +2 -851
  30. package/dist/types.d.mts +2 -0
  31. package/dist/types.mjs +1 -0
  32. package/dist/utilities.cjs +76 -38
  33. package/dist/utilities.cjs.map +1 -1
  34. package/dist/utilities.d.cts +2 -26
  35. package/dist/utilities.d.mts +2 -0
  36. package/dist/utilities.mjs +68 -0
  37. package/dist/utilities.mjs.map +1 -0
  38. package/package.json +4 -4
  39. package/dist/chunk-57PRSDKM.cjs +0 -368
  40. package/dist/chunk-57PRSDKM.cjs.map +0 -1
  41. package/dist/chunk-7CI3M2JM.js +0 -3
  42. package/dist/chunk-7CI3M2JM.js.map +0 -1
  43. package/dist/chunk-ABPKJ5AP.js +0 -259
  44. package/dist/chunk-ABPKJ5AP.js.map +0 -1
  45. package/dist/chunk-BYTL5J7D.js +0 -2606
  46. package/dist/chunk-BYTL5J7D.js.map +0 -1
  47. package/dist/chunk-CDBT3J75.cjs +0 -4
  48. package/dist/chunk-CDBT3J75.cjs.map +0 -1
  49. package/dist/chunk-DU5WCXJJ.js +0 -685
  50. package/dist/chunk-DU5WCXJJ.js.map +0 -1
  51. package/dist/chunk-IMI6XEMX.cjs +0 -2849
  52. package/dist/chunk-IMI6XEMX.cjs.map +0 -1
  53. package/dist/chunk-NMDMJZPF.cjs +0 -692
  54. package/dist/chunk-NMDMJZPF.cjs.map +0 -1
  55. package/dist/chunk-NNLSUHMQ.js +0 -63
  56. package/dist/chunk-NNLSUHMQ.js.map +0 -1
  57. package/dist/chunk-UAQWYRXG.cjs +0 -92
  58. package/dist/chunk-UAQWYRXG.cjs.map +0 -1
  59. package/dist/comment.document-HT6qJLh5.d.cts +0 -468
  60. package/dist/comment.document-xCsfHOer.d.ts +0 -468
  61. package/dist/constants.d.ts +0 -233
  62. package/dist/constants.js +0 -3
  63. package/dist/constants.js.map +0 -1
  64. package/dist/font.constants-BVwxlH3J.d.cts +0 -52
  65. package/dist/font.constants-BVwxlH3J.d.ts +0 -52
  66. package/dist/index.cjs.map +0 -1
  67. package/dist/index.d.ts +0 -10
  68. package/dist/index.js +0 -7
  69. package/dist/index.js.map +0 -1
  70. package/dist/permission.constants-B99nobws.d.cts +0 -30
  71. package/dist/permission.constants-B99nobws.d.ts +0 -30
  72. package/dist/permissions.d.ts +0 -747
  73. package/dist/permissions.js +0 -3
  74. package/dist/permissions.js.map +0 -1
  75. package/dist/response-8Bkawql4.d.cts +0 -56
  76. package/dist/response-8Bkawql4.d.ts +0 -56
  77. package/dist/schemas.d.ts +0 -1935
  78. package/dist/schemas.js +0 -5
  79. package/dist/schemas.js.map +0 -1
  80. package/dist/types.cjs.map +0 -1
  81. package/dist/types.d.ts +0 -851
  82. package/dist/types.js +0 -3
  83. package/dist/types.js.map +0 -1
  84. package/dist/utilities.d.ts +0 -26
  85. package/dist/utilities.js +0 -3
  86. package/dist/utilities.js.map +0 -1
@@ -1,3 +0,0 @@
1
- export { CLIENT_ENTITY_KEYS, CLIENT_ENTITY_PERMISSIONS, CLIENT_ENTITY_SCOPES, ROLE_PERMISSIONS, canAssignPermission, hasPermission } from './chunk-DU5WCXJJ.js';
2
- //# sourceMappingURL=permissions.js.map
3
- //# sourceMappingURL=permissions.js.map
@@ -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 };