@common-stack/server-core 7.2.1-alpha.45 → 7.2.1-alpha.47

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 (81) hide show
  1. package/package.json +2 -2
  2. package/lib/__tests__/connector-inngest-arrays.test.d.ts +0 -1
  3. package/lib/connector/__tests__/container-connector.test.d.ts +0 -2
  4. package/lib/connector/__tests__/context-connector.test.d.ts +0 -1
  5. package/lib/connector/__tests__/fixtures/preferenfces/sample-settings.d.ts +0 -98
  6. package/lib/connector/__tests__/fixtures/sample-roles-permissions/account-api/permission-contribution.d.ts +0 -90
  7. package/lib/connector/__tests__/graphql-middleware.test.d.ts +0 -1
  8. package/lib/connector/__tests__/permissions.test.d.ts +0 -1
  9. package/lib/connector/__tests__/policies.test.d.ts +0 -1
  10. package/lib/connector/__tests__/preferences.test.d.ts +0 -1
  11. package/lib/connector/__tests__/roles-update-connector.test.d.ts +0 -1
  12. package/lib/connector/__tests__/rules-connector.test.d.ts +0 -1
  13. package/lib/connector/__tests__/samples/graphql/types/person_entity_type.d.ts +0 -2
  14. package/lib/connector/__tests__/samples/graphql/types/person_search_type.d.ts +0 -2
  15. package/lib/connector/__tests__/samples/graphql/types/vendor_type.d.ts +0 -2
  16. package/lib/connector/__tests__/schema-connector.test.d.ts +0 -1
  17. package/lib/connector/__tests__/service-connector.test.d.ts +0 -2
  18. package/lib/connector/__tests__/websocket-connector.test.d.ts +0 -1
  19. package/lib/connector/connector.d.ts +0 -619
  20. package/lib/connector/connector.js +0 -470
  21. package/lib/connector/connector.js.map +0 -1
  22. package/lib/connector/index.d.ts +0 -1
  23. package/lib/constants/directives.d.ts +0 -1
  24. package/lib/constants/directives.js +0 -1
  25. package/lib/constants/directives.js.map +0 -1
  26. package/lib/constants/index.d.ts +0 -2
  27. package/lib/constants/types.d.ts +0 -8
  28. package/lib/constants/types.js +0 -8
  29. package/lib/constants/types.js.map +0 -1
  30. package/lib/index.d.ts +0 -6
  31. package/lib/index.js +0 -1
  32. package/lib/index.js.map +0 -1
  33. package/lib/interfaces/connector.d.ts +0 -36
  34. package/lib/interfaces/datasource.d.ts +0 -14
  35. package/lib/interfaces/index.d.ts +0 -7
  36. package/lib/interfaces/mongo-migration.d.ts +0 -17
  37. package/lib/interfaces/permissions.d.ts +0 -5
  38. package/lib/interfaces/policies.d.ts +0 -5
  39. package/lib/interfaces/roles.d.ts +0 -8
  40. package/lib/interfaces/rules.d.ts +0 -12
  41. package/lib/interfaces/rules.js +0 -6
  42. package/lib/interfaces/rules.js.map +0 -1
  43. package/lib/interfaces/store.d.ts +0 -3
  44. package/lib/logger/index.d.ts +0 -1
  45. package/lib/logger/logger.d.ts +0 -2
  46. package/lib/logger/logger.js +0 -5
  47. package/lib/logger/logger.js.map +0 -1
  48. package/lib/moleculer-generation/__tests__/moleculerEventHandler.test.d.ts +0 -5
  49. package/lib/moleculer-generation/__tests__/serviceGenerationUtils.test.d.ts +0 -5
  50. package/lib/moleculer-generation/__tests__/typedMoleculerService.test.d.ts +0 -5
  51. package/lib/moleculer-generation/__tests__/typedProxyService.test.d.ts +0 -5
  52. package/lib/moleculer-generation/generateAllServiceSchemas.cjs +0 -628
  53. package/lib/moleculer-generation/index.d.ts +0 -16
  54. package/lib/moleculer-generation/moleculerEventHandler.d.ts +0 -73
  55. package/lib/moleculer-generation/moleculerEventHandler.js +0 -91
  56. package/lib/moleculer-generation/moleculerEventHandler.js.map +0 -1
  57. package/lib/moleculer-generation/serviceGenerationUtils.d.ts +0 -100
  58. package/lib/moleculer-generation/serviceGenerationUtils.js +0 -156
  59. package/lib/moleculer-generation/serviceGenerationUtils.js.map +0 -1
  60. package/lib/moleculer-generation/typedMoleculerService.d.ts +0 -502
  61. package/lib/moleculer-generation/typedMoleculerService.js +0 -670
  62. package/lib/moleculer-generation/typedMoleculerService.js.map +0 -1
  63. package/lib/moleculer-generation/typedProxyService.d.ts +0 -119
  64. package/lib/moleculer-generation/typedProxyService.js +0 -231
  65. package/lib/moleculer-generation/typedProxyService.js.map +0 -1
  66. package/lib/moleculer-generation/zodToMoleculer.d.ts +0 -45
  67. package/lib/moleculer-generation/zodToMoleculer.js +0 -120
  68. package/lib/moleculer-generation/zodToMoleculer.js.map +0 -1
  69. package/lib/utils/extract-tenant-id.d.ts +0 -1
  70. package/lib/utils/extract-tenant-id.js +0 -4
  71. package/lib/utils/extract-tenant-id.js.map +0 -1
  72. package/lib/utils/generate-query-cache-key.d.ts +0 -11
  73. package/lib/utils/generate-query-cache-key.js +0 -13
  74. package/lib/utils/generate-query-cache-key.js.map +0 -1
  75. package/lib/utils/get-directive-args-from-schema.d.ts +0 -13
  76. package/lib/utils/get-directive-args-from-schema.js +0 -25
  77. package/lib/utils/get-directive-args-from-schema.js.map +0 -1
  78. package/lib/utils/index.d.ts +0 -4
  79. package/lib/utils/preferences.d.ts +0 -87
  80. package/lib/utils/preferences.js +0 -40
  81. package/lib/utils/preferences.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/server-core",
3
- "version": "7.2.1-alpha.45",
3
+ "version": "7.2.1-alpha.47",
4
4
  "description": "common core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "03388dcb9560925774aa8916f6cf02546ee54968",
37
+ "gitHead": "f6ce2d1b15ee0c51cebdd046674efdc545174e70",
38
38
  "typescript": {
39
39
  "definition": "lib/index.d.ts"
40
40
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import 'reflect-metadata';
2
- import 'jest';
@@ -1 +0,0 @@
1
- import 'reflect-metadata';
@@ -1,98 +0,0 @@
1
- import { IPreferences } from "../../../../interfaces";
2
- export declare const defaultSettings: IPreferences;
3
- export declare const convertedDefaultSettings: ({
4
- type: string;
5
- data: ({
6
- default: boolean;
7
- description: string;
8
- enum: any[];
9
- enumDescriptions: any[];
10
- name: string;
11
- overridable: boolean;
12
- settings: string;
13
- type: string;
14
- } | {
15
- default: boolean;
16
- description: string;
17
- enum: any[];
18
- enumDescriptions: any[];
19
- name: string;
20
- settings: string;
21
- type: string;
22
- overridable?: undefined;
23
- })[];
24
- } | {
25
- type: string;
26
- data: {
27
- name: string;
28
- one: boolean;
29
- }[];
30
- })[];
31
- export declare const userSettings: {
32
- 'files.trimTrailingWhitespace.default': boolean;
33
- 'tree.trimTrailingWhitespace.something': string;
34
- 'tree.trimTrailingWhitespace.one': boolean;
35
- };
36
- export declare const prefRes: {
37
- 'files.trimTrailingWhitespace': {
38
- type: string;
39
- default: boolean;
40
- description: string;
41
- settings: string;
42
- enum: any[];
43
- enumDescriptions: any[];
44
- overridable: boolean;
45
- };
46
- 'files.autosave': {
47
- type: string;
48
- default: boolean;
49
- description: string;
50
- settings: string;
51
- enum: any[];
52
- enumDescriptions: any[];
53
- };
54
- 'tree.trimTrailingWhitespace': {
55
- one: boolean;
56
- };
57
- };
58
- export declare const prefsArrRes: ({
59
- type: string;
60
- data: ({
61
- name: string;
62
- type: string;
63
- default: boolean;
64
- description: string;
65
- settings: string;
66
- enum: any[];
67
- enumDescriptions: any[];
68
- overridable: boolean;
69
- } | {
70
- name: string;
71
- type: string;
72
- default: boolean;
73
- description: string;
74
- settings: string;
75
- enum: any[];
76
- enumDescriptions: any[];
77
- overridable?: undefined;
78
- })[];
79
- } | {
80
- type: string;
81
- data: {
82
- name: string;
83
- one: boolean;
84
- }[];
85
- })[];
86
- export declare const finalSettings: {
87
- type: string;
88
- data: {
89
- name: string;
90
- type: string;
91
- default: boolean;
92
- description: string;
93
- settings: string;
94
- enum: any[];
95
- enumDescriptions: any[];
96
- overridable: boolean;
97
- }[];
98
- }[];
@@ -1,90 +0,0 @@
1
- export declare const permissionContribution: {
2
- "organization.teams.inviteMember": {
3
- enumDescriptions: string[];
4
- description: string;
5
- type: string;
6
- enum: string[];
7
- default: string;
8
- scope: number;
9
- };
10
- "organization.teams.view": {
11
- enumDescriptions: string[];
12
- description: string;
13
- type: string;
14
- enum: string[];
15
- default: string;
16
- scope: number;
17
- };
18
- "organization.teams.create": {
19
- enumDescriptions: string[];
20
- description: string;
21
- type: string;
22
- enum: string[];
23
- default: string;
24
- scope: number;
25
- };
26
- "organization.teams.edit": {
27
- enumDescriptions: string[];
28
- description: string;
29
- type: string;
30
- enum: string[];
31
- default: string;
32
- scope: number;
33
- };
34
- "organization.teams.delete": {
35
- enumDescriptions: string[];
36
- description: string;
37
- type: string;
38
- enum: string[];
39
- default: string;
40
- scope: number;
41
- };
42
- "organization.teams.manage": {
43
- enumDescriptions: string[];
44
- description: string;
45
- type: string;
46
- enum: string[];
47
- default: string;
48
- scope: number;
49
- };
50
- "organization.projects.view": {
51
- enumDescriptions: string[];
52
- description: string;
53
- type: string;
54
- enum: string[];
55
- default: string;
56
- scope: number;
57
- };
58
- "organization.projects.create": {
59
- enumDescriptions: string[];
60
- description: string;
61
- type: string;
62
- enum: string[];
63
- default: string;
64
- scope: number;
65
- };
66
- "organization.projects.edit": {
67
- enumDescriptions: string[];
68
- description: string;
69
- type: string;
70
- enum: string[];
71
- default: string;
72
- scope: number;
73
- };
74
- "organization.projects.delete": {
75
- enumDescriptions: string[];
76
- description: string;
77
- type: string;
78
- enum: string[];
79
- default: string;
80
- scope: number;
81
- };
82
- "organization.projects.manage": {
83
- enumDescriptions: string[];
84
- description: string;
85
- type: string;
86
- enum: string[];
87
- default: string;
88
- scope: number;
89
- };
90
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1,2 +0,0 @@
1
- declare const _default: "\n interface PersonEntity {\n name: String\n age: Int\n dob: Date\n }\n";
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: "\n union personSearch = Client | Vendor\n type personQuery {\n firstSearchResult: personSearch\n }\n";
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: "\n type Vendor implements PersonEntity {\n id: ID!\n name: String\n age: Int\n dob: Date\n }\n type Query {\n vendors: [Vendor]\n }\n";
2
- export default _default;
@@ -1 +0,0 @@
1
- import 'jest';
@@ -1,2 +0,0 @@
1
- import 'reflect-metadata';
2
- import 'jest';
@@ -1 +0,0 @@
1
- import 'jest';