@venizia/ignis 0.1.1-2 → 0.1.1-3

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 (34) hide show
  1. package/dist/base/applications/abstract.d.ts +6 -0
  2. package/dist/base/applications/abstract.d.ts.map +1 -1
  3. package/dist/base/applications/abstract.js +19 -0
  4. package/dist/base/applications/abstract.js.map +1 -1
  5. package/dist/base/applications/base.d.ts +18 -1
  6. package/dist/base/applications/base.d.ts.map +1 -1
  7. package/dist/base/applications/base.js +119 -0
  8. package/dist/base/applications/base.js.map +1 -1
  9. package/dist/base/controllers/factory/definition.d.ts +90 -27
  10. package/dist/base/controllers/factory/definition.d.ts.map +1 -1
  11. package/dist/base/middlewares/app-error/app-error.middleware.d.ts.map +1 -1
  12. package/dist/base/middlewares/app-error/app-error.middleware.js +12 -0
  13. package/dist/base/middlewares/app-error/app-error.middleware.js.map +1 -1
  14. package/dist/base/middlewares/app-error/zod.handler.d.ts +5 -0
  15. package/dist/base/middlewares/app-error/zod.handler.d.ts.map +1 -1
  16. package/dist/base/middlewares/app-error/zod.handler.js +8 -3
  17. package/dist/base/middlewares/app-error/zod.handler.js.map +1 -1
  18. package/dist/base/models/common/types.d.ts +10 -3
  19. package/dist/base/models/common/types.d.ts.map +1 -1
  20. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts +10 -3
  21. package/dist/components/auth/authenticate/controllers/jwks/definitions.d.ts.map +1 -1
  22. package/dist/components/static-asset/controller/base.definition.d.ts +100 -30
  23. package/dist/components/static-asset/controller/base.definition.d.ts.map +1 -1
  24. package/dist/connectors/postgres/datasources/abstract.d.ts +23 -1
  25. package/dist/connectors/postgres/datasources/abstract.d.ts.map +1 -1
  26. package/dist/connectors/postgres/datasources/abstract.js +86 -6
  27. package/dist/connectors/postgres/datasources/abstract.js.map +1 -1
  28. package/dist/connectors/search/controllers/definition.d.ts +20 -6
  29. package/dist/connectors/search/controllers/definition.d.ts.map +1 -1
  30. package/dist/connectors/search/internal/search-connector-internal.js +1 -1
  31. package/dist/connectors/search/internal/search-connector-internal.js.map +1 -1
  32. package/dist/utilities/jsx.utility.d.ts +10 -3
  33. package/dist/utilities/jsx.utility.d.ts.map +1 -1
  34. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"app-error.middleware.js","sourceRoot":"","sources":["../../../../src/base/middlewares/app-error/app-error.middleware.ts"],"names":[],"mappings":";;;AACA,0DAAwE;AAExE,gDAAsD;AACtD,yDAAqF;AACrF,6CAA+F;AAC/F,+CAA+C;AAE/C,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;AAE/D;;;;;;;GAOG;AACI,MAAM,eAAe,GAAG,CAAC,IAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAElD,MAAM,EAAE,GAAiB,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QAChD,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,kCAAoB,CAAC,cAAc,CAAC,CAAC;QAEnE,MAAM,CAAC,KAAK,CACV,mFAAmF,EACnF,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,IAAI,EAChB,OAAO,CAAC,GAAG,CAAC,MAAM,EAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EACf,KAAK,CACN,CAAC;QAEF,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;QACjC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE5D,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,MAAM,CAAC,KAAK,CACV,sGAAsG,EACtG,SAAS,EACT,GAAG,EACH,OAAO,CAAC,GAAG,CAAC,IAAI,EAChB,OAAO,CAAC,GAAG,CAAC,MAAM,EAClB,OAAO,CAAC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AC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAChC,kBAAwD,CACzD,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AArGW,QAAA,eAAe,mBAqG1B"}
1
+ {"version":3,"file":"app-error.middleware.js","sourceRoot":"","sources":["../../../../src/base/middlewares/app-error/app-error.middleware.ts"],"names":[],"mappings":";;;AACA,0DAAwE;AAExE,gDAAsD;AACtD,yDAAqF;AACrF,6CAA+F;AAC/F,+CAA+C;AAE/C,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;AAE/D;;;;;;;GAOG;AACI,MAAM,eAAe,GAAG,CAAC,IAA0C,EAAE,EAAE;IAC5E,MAAM,EAAE,MAAM,GAAG,OAAO,EAAE,OAAO,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAElD,MAAM,EAAE,GAAiB,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;QAChD,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,kCAAoB,CAAC,cAAc,CAAC,CAAC;QAEnE,MAAM,CAAC,KAAK,CACV,mFAAmF,EACnF,SAAS,EACT,OAAO,CAAC,GAAG,CAAC,IAAI,EAChB,OAAO,CAAC,GAAG,CAAC,MAAM,EAClB,OAAO,CAAC,GAAG,CAAC,GAAG,EACf,KAAK,CACN,CAAC;QAEF,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;QACjC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE5D,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,MAAM,CAAC,KAAK,CACV,sGAAsG,EACtG,SAAS,EACT,GAAG,EACH,OAAO,CAAC,GAAG,CAAC,IAAI,EAChB,OAAO,CAAC,GAAG,CAAC,MAAM,EAClB,OAA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,GAAG;gBACpB,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,IAAI;gBACtB,KAAK,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gBAC9C,KAAK,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;aAC/C;SACF,CAAC;QAEF,OAAO,OAAO,CAAC,IAAI,CACjB,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,EAChC,kBAAwD,CACzD,CAAC;IACJ,CAAC,CAAC;IAEF,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAnHW,QAAA,eAAe,mBAmH1B"}
@@ -16,6 +16,11 @@ export declare const formatZodError: (opts: {
16
16
  message: string;
17
17
  messageCode: string;
18
18
  statusCode: 422;
19
+ normalized: {
20
+ text: string;
21
+ code: string;
22
+ args: {};
23
+ };
19
24
  requestId: string;
20
25
  details: {
21
26
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"zod.handler.d.ts","sourceRoot":"","sources":["../../../../src/base/middlewares/app-error/zod.handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAgBpD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,GAAG,iBAAiB,CAAC;CAClC;;;;;;;;;;;;;;CAkDA,CAAC"}
1
+ {"version":3,"file":"zod.handler.d.ts","sourceRoot":"","sources":["../../../../src/base/middlewares/app-error/zod.handler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAgBpD;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,GAAG,iBAAiB,CAAC;CAClC;;;;;;;;;;;;;;;;;;;CAwDA,CAAC"}
@@ -36,14 +36,19 @@ const formatZodError = (opts) => {
36
36
  messageCode = extractIssueCode({ issue: primaryIssue }) ?? primaryIssue.code;
37
37
  message = primaryIssue.message;
38
38
  }
39
+ // A ZodError we could not parse into issues yields no code of its own; the response still
40
+ // carries one, so no error response anywhere is missing the field a client branches on.
41
+ const resolvedMessageCode = ignis_helpers_1.MessageCode.resolve(messageCode);
39
42
  return {
40
43
  statusCode,
41
44
  response: {
42
45
  message,
43
- // A ZodError we could not parse into issues yields no code of its own; the response still
44
- // carries one, so no error response anywhere is missing the field a client branches on.
45
- messageCode: ignis_helpers_1.MessageCode.resolve(messageCode),
46
+ messageCode: resolvedMessageCode,
46
47
  statusCode,
48
+ // Validation is the branch a client hits most, so it cannot be the one branch without
49
+ // `normalized`. `args` is empty because a Zod issue carries no interpolation values - the
50
+ // per-field detail a form needs lives in `details.cause`, not here.
51
+ normalized: { text: message, code: resolvedMessageCode, args: {} },
47
52
  requestId,
48
53
  details: {
49
54
  url,
@@ -1 +1 @@
1
- {"version":3,"file":"zod.handler.js","sourceRoot":"","sources":["../../../../src/base/middlewares/app-error/zod.handler.ts"],"names":[],"mappings":";;;AAAA,0DAA2D;AAI3D,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAErD,iGAAiG;AACjG,MAAM,gBAAgB,GAAG,CAAC,IAA8B,EAAE,EAAE;IAC1D,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC;IAE5C,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,CAAC,MAA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AS;YACT,OAAO,EAAE;gBACP,GAAG;gBACH,IAAI;gBACJ,KAAK,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;gBAC9C,KAAK,EAAE,MAAM;oBACX,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;wBAChB,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,MAAM;wBACjC,OAAO,EAAE,EAAE,CAAC,OAAO;wBACnB,IAAI,EAAE,EAAE,CAAC,IAAI;wBACb,QAAQ,EAAE,EAAE,CAAC,QAAQ;wBACrB,QAAQ,EAAE,EAAE,CAAC,QAAQ;qBACtB,CAAC,CAAC;oBACL,CAAC,CAAC,gBAAgB;aACrB;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AA9DW,QAAA,cAAc,kBA8DzB"}
@@ -65,11 +65,18 @@ export declare const jsonResponse: <ContentSchema extends z.ZodType, HeaderSchem
65
65
  content: {
66
66
  'application/json': {
67
67
  schema: z.ZodObject<{
68
- name: z.ZodOptional<z.ZodString>;
69
68
  statusCode: z.ZodOptional<z.ZodNumber>;
70
- messageCode: z.ZodOptional<z.ZodString>;
71
69
  message: z.ZodString;
72
- }, z.core.$catchall<z.ZodAny>>;
70
+ messageCode: z.ZodOptional<z.ZodString>;
71
+ normalized: z.ZodOptional<z.ZodObject<{
72
+ text: z.ZodString;
73
+ code: z.ZodString;
74
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
75
+ }, z.core.$strip>>;
76
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
77
+ requestId: z.ZodOptional<z.ZodString>;
78
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
79
+ }, z.core.$strip>;
73
80
  };
74
81
  };
75
82
  required: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","s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AC,WAAW,IAAI;KAC5C,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,GAC1F,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GACZ,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,OAAO,CAAC,0SAW7D,CAAC"}
@@ -51,11 +51,18 @@ export declare const RouteConfigs: {
51
51
  content: {
52
52
  'application/json': {
53
53
  schema: z.ZodObject<{
54
- name: z.ZodOptional<z.ZodString>;
55
54
  statusCode: z.ZodOptional<z.ZodNumber>;
56
- messageCode: z.ZodOptional<z.ZodString>;
57
55
  message: z.ZodString;
58
- }, z.core.$catchall<z.ZodAny>>;
56
+ messageCode: z.ZodOptional<z.ZodString>;
57
+ normalized: z.ZodOptional<z.ZodObject<{
58
+ text: z.ZodString;
59
+ code: z.ZodString;
60
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
61
+ }, z.core.$strip>>;
62
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
63
+ requestId: z.ZodOptional<z.ZodString>;
64
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
65
+ }, z.core.$strip>;
59
66
  };
60
67
  };
61
68
  required: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/auth/authenticate/controllers/jwks/definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Bf,CAAC"}
1
+ {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/auth/authenticate/controllers/jwks/definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Bf,CAAC"}
@@ -33,11 +33,18 @@ export declare const StaticAssetDefinitions: {
33
33
  content: {
34
34
  'application/json': {
35
35
  schema: z.ZodObject<{
36
- name: z.ZodOptional<z.ZodString>;
37
36
  statusCode: z.ZodOptional<z.ZodNumber>;
38
- messageCode: z.ZodOptional<z.ZodString>;
39
37
  message: z.ZodString;
40
- }, z.core.$catchall<z.ZodAny>>;
38
+ messageCode: z.ZodOptional<z.ZodString>;
39
+ normalized: z.ZodOptional<z.ZodObject<{
40
+ text: z.ZodString;
41
+ code: z.ZodString;
42
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
43
+ }, z.core.$strip>>;
44
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
45
+ requestId: z.ZodOptional<z.ZodString>;
46
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
47
+ }, z.core.$strip>;
41
48
  };
42
49
  };
43
50
  required: boolean | undefined;
@@ -82,11 +89,18 @@ export declare const StaticAssetDefinitions: {
82
89
  content: {
83
90
  'application/json': {
84
91
  schema: z.ZodObject<{
85
- name: z.ZodOptional<z.ZodString>;
86
92
  statusCode: z.ZodOptional<z.ZodNumber>;
87
- messageCode: z.ZodOptional<z.ZodString>;
88
93
  message: z.ZodString;
89
- }, z.core.$catchall<z.ZodAny>>;
94
+ messageCode: z.ZodOptional<z.ZodString>;
95
+ normalized: z.ZodOptional<z.ZodObject<{
96
+ text: z.ZodString;
97
+ code: z.ZodString;
98
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
99
+ }, z.core.$strip>>;
100
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
101
+ requestId: z.ZodOptional<z.ZodString>;
102
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
103
+ }, z.core.$strip>;
90
104
  };
91
105
  };
92
106
  required: boolean | undefined;
@@ -131,11 +145,18 @@ export declare const StaticAssetDefinitions: {
131
145
  content: {
132
146
  'application/json': {
133
147
  schema: z.ZodObject<{
134
- name: z.ZodOptional<z.ZodString>;
135
148
  statusCode: z.ZodOptional<z.ZodNumber>;
136
- messageCode: z.ZodOptional<z.ZodString>;
137
149
  message: z.ZodString;
138
- }, z.core.$catchall<z.ZodAny>>;
150
+ messageCode: z.ZodOptional<z.ZodString>;
151
+ normalized: z.ZodOptional<z.ZodObject<{
152
+ text: z.ZodString;
153
+ code: z.ZodString;
154
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
155
+ }, z.core.$strip>>;
156
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
157
+ requestId: z.ZodOptional<z.ZodString>;
158
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
159
+ }, z.core.$strip>;
139
160
  };
140
161
  };
141
162
  required: boolean | undefined;
@@ -168,11 +189,18 @@ export declare const StaticAssetDefinitions: {
168
189
  content: {
169
190
  'application/json': {
170
191
  schema: z.ZodObject<{
171
- name: z.ZodOptional<z.ZodString>;
172
192
  statusCode: z.ZodOptional<z.ZodNumber>;
173
- messageCode: z.ZodOptional<z.ZodString>;
174
193
  message: z.ZodString;
175
- }, z.core.$catchall<z.ZodAny>>;
194
+ messageCode: z.ZodOptional<z.ZodString>;
195
+ normalized: z.ZodOptional<z.ZodObject<{
196
+ text: z.ZodString;
197
+ code: z.ZodString;
198
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
199
+ }, z.core.$strip>>;
200
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
201
+ requestId: z.ZodOptional<z.ZodString>;
202
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
203
+ }, z.core.$strip>;
176
204
  };
177
205
  };
178
206
  required: boolean | undefined;
@@ -205,11 +233,18 @@ export declare const StaticAssetDefinitions: {
205
233
  content: {
206
234
  'application/json': {
207
235
  schema: z.ZodObject<{
208
- name: z.ZodOptional<z.ZodString>;
209
236
  statusCode: z.ZodOptional<z.ZodNumber>;
210
- messageCode: z.ZodOptional<z.ZodString>;
211
237
  message: z.ZodString;
212
- }, z.core.$catchall<z.ZodAny>>;
238
+ messageCode: z.ZodOptional<z.ZodString>;
239
+ normalized: z.ZodOptional<z.ZodObject<{
240
+ text: z.ZodString;
241
+ code: z.ZodString;
242
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
243
+ }, z.core.$strip>>;
244
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
245
+ requestId: z.ZodOptional<z.ZodString>;
246
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
247
+ }, z.core.$strip>;
213
248
  };
214
249
  };
215
250
  required: boolean | undefined;
@@ -275,11 +310,18 @@ export declare const StaticAssetDefinitions: {
275
310
  content: {
276
311
  'application/json': {
277
312
  schema: z.ZodObject<{
278
- name: z.ZodOptional<z.ZodString>;
279
313
  statusCode: z.ZodOptional<z.ZodNumber>;
280
- messageCode: z.ZodOptional<z.ZodString>;
281
314
  message: z.ZodString;
282
- }, z.core.$catchall<z.ZodAny>>;
315
+ messageCode: z.ZodOptional<z.ZodString>;
316
+ normalized: z.ZodOptional<z.ZodObject<{
317
+ text: z.ZodString;
318
+ code: z.ZodString;
319
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
320
+ }, z.core.$strip>>;
321
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
322
+ requestId: z.ZodOptional<z.ZodString>;
323
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
324
+ }, z.core.$strip>;
283
325
  };
284
326
  };
285
327
  required: boolean | undefined;
@@ -322,11 +364,18 @@ export declare const StaticAssetDefinitions: {
322
364
  content: {
323
365
  'application/json': {
324
366
  schema: z.ZodObject<{
325
- name: z.ZodOptional<z.ZodString>;
326
367
  statusCode: z.ZodOptional<z.ZodNumber>;
327
- messageCode: z.ZodOptional<z.ZodString>;
328
368
  message: z.ZodString;
329
- }, z.core.$catchall<z.ZodAny>>;
369
+ messageCode: z.ZodOptional<z.ZodString>;
370
+ normalized: z.ZodOptional<z.ZodObject<{
371
+ text: z.ZodString;
372
+ code: z.ZodString;
373
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
374
+ }, z.core.$strip>>;
375
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
376
+ requestId: z.ZodOptional<z.ZodString>;
377
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
378
+ }, z.core.$strip>;
330
379
  };
331
380
  };
332
381
  required: boolean | undefined;
@@ -370,11 +419,18 @@ export declare const StaticAssetDefinitions: {
370
419
  content: {
371
420
  'application/json': {
372
421
  schema: z.ZodObject<{
373
- name: z.ZodOptional<z.ZodString>;
374
422
  statusCode: z.ZodOptional<z.ZodNumber>;
375
- messageCode: z.ZodOptional<z.ZodString>;
376
423
  message: z.ZodString;
377
- }, z.core.$catchall<z.ZodAny>>;
424
+ messageCode: z.ZodOptional<z.ZodString>;
425
+ normalized: z.ZodOptional<z.ZodObject<{
426
+ text: z.ZodString;
427
+ code: z.ZodString;
428
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
429
+ }, z.core.$strip>>;
430
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
431
+ requestId: z.ZodOptional<z.ZodString>;
432
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
433
+ }, z.core.$strip>;
378
434
  };
379
435
  };
380
436
  required: boolean | undefined;
@@ -430,11 +486,18 @@ export declare const StaticAssetDefinitions: {
430
486
  content: {
431
487
  'application/json': {
432
488
  schema: z.ZodObject<{
433
- name: z.ZodOptional<z.ZodString>;
434
489
  statusCode: z.ZodOptional<z.ZodNumber>;
435
- messageCode: z.ZodOptional<z.ZodString>;
436
490
  message: z.ZodString;
437
- }, z.core.$catchall<z.ZodAny>>;
491
+ messageCode: z.ZodOptional<z.ZodString>;
492
+ normalized: z.ZodOptional<z.ZodObject<{
493
+ text: z.ZodString;
494
+ code: z.ZodString;
495
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
496
+ }, z.core.$strip>>;
497
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
498
+ requestId: z.ZodOptional<z.ZodString>;
499
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
500
+ }, z.core.$strip>;
438
501
  };
439
502
  };
440
503
  required: boolean | undefined;
@@ -480,11 +543,18 @@ export declare const StaticAssetDefinitions: {
480
543
  content: {
481
544
  'application/json': {
482
545
  schema: z.ZodObject<{
483
- name: z.ZodOptional<z.ZodString>;
484
546
  statusCode: z.ZodOptional<z.ZodNumber>;
485
- messageCode: z.ZodOptional<z.ZodString>;
486
547
  message: z.ZodString;
487
- }, z.core.$catchall<z.ZodAny>>;
548
+ messageCode: z.ZodOptional<z.ZodString>;
549
+ normalized: z.ZodOptional<z.ZodObject<{
550
+ text: z.ZodString;
551
+ code: z.ZodString;
552
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
553
+ }, z.core.$strip>>;
554
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
555
+ requestId: z.ZodOptional<z.ZodString>;
556
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
557
+ }, z.core.$strip>;
488
558
  };
489
559
  };
490
560
  required: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base.definition.d.ts","sourceRoot":"","sources":["../../../../src/components/static-asset/controller/base.definition.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuUlC,CAAC"}
@@ -2,7 +2,7 @@ import type { TAnyDataSourceSchema } from '../../../base/datasources';
2
2
  import { AbstractDataSource } from '../../../base/datasources';
3
3
  import type { IRelationalDriver } from '../../../connectors/postgres/drivers';
4
4
  import type { IRelationalQueryDialect } from '../../../connectors/postgres/repositories/common';
5
- import type { ValueOrPromise } from '@venizia/ignis-helpers';
5
+ import type { AnyObject, TClass, ValueOrPromise } from '@venizia/ignis-helpers';
6
6
  import type { Pool } from 'pg';
7
7
  import type { IDatabaseTransaction, IDatabaseTransactionOptions, IPostgresDataSource, TRelationalConnector } from './common';
8
8
  /** SQL branch root: connector, pool, transactions. */
@@ -16,6 +16,12 @@ export declare abstract class AbstractRelationalDataSource<Settings extends obje
16
16
  * assigned, then wires the connector from it. Idempotent and lazy.
17
17
  */
18
18
  protected wireDriverFromMetadata(): void;
19
+ /**
20
+ * Reads the driver CLASS named by `@datasource({ driver })`. Absent for an imperatively-registered
21
+ * datasource; the type forbids a driver-name string, so this catches an untyped JavaScript caller -
22
+ * and a string is exactly the mistake to catch, because it carries no module into the bundle.
23
+ */
24
+ protected resolveDriverClass(): TClass<IRelationalDriver<Schema>>;
19
25
  protected resolveDriver(): IRelationalDriver<Schema>;
20
26
  /**
21
27
  * Wires a driver in one step: assigns `this.driver` AND builds `this.connector` from it. The
@@ -38,5 +44,21 @@ export declare abstract class AbstractRelationalDataSource<Settings extends obje
38
44
  */
39
45
  getClient(): Client;
40
46
  getQueryDialect(): IRelationalQueryDialect;
47
+ /**
48
+ * Soft-evicts the connection pool after a secret rotation. Builds a fresh pool + driver + connector
49
+ * against the rotated credentials WITHOUT disturbing the live fields, then swaps them in atomically
50
+ * and drains the old pool - so in-flight work finishes on the old pool while new work uses the new
51
+ * one. If the rebuild throws (bad rotated creds, transient failure) the live state is left exactly
52
+ * as it was, any half-built pool is drained rather than leaked, and the error is rethrown so the
53
+ * dispatcher can surface it - the datasource keeps serving on the old pool throughout.
54
+ */
55
+ onSecretRotated(opts: {
56
+ key: string;
57
+ secret: Record<string, string>;
58
+ }): Promise<void>;
59
+ /** Vault's database engine returns `{ username, password }`; pg expects `{ user, password }`. */
60
+ protected mapSecretToSettings(opts: {
61
+ secret: Record<string, string>;
62
+ }): AnyObject;
41
63
  }
42
64
  //# sourceMappingURL=abstract.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstract.d.ts","sourceRoot":"","sources":["../../../../src/connectors/postgres/datasources/abstract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAGzF,OAAO,KAAK,EAAU,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAC/B,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAElB,sDAAsD;AACtD,8BAAsB,4BAA4B,CAChD,QAAQ,SAAS,MAAM,GAAG,EAAE,EAC5B,MAAM,SAAS,oBAAoB,GAAG,oBAAoB,EAC1D,mBAAmB,SAAS,MAAM,GAAG,EAAE,EACvC,MAAM,GAAG,IAAI,CAEb,SAAQ,kBAAkB,CAAC,QAAQ,EAAE,MA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O,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAExC,kGAAkG;IAClG,YAAY,IAAI,oBAAoB,CAAC,MAAM,CAAC;IAK5C;;;;OAIG;IACH,SAAS,IAAI,MAAM;IAcnB,eAAe,IAAI,uBAAuB;IAM1C;;;;;;;OAOG;IACG,eAAe,CAAC,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IA4D3F,iGAAiG;IACjG,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,SAAS;CAWnF"}
@@ -24,20 +24,25 @@ class AbstractRelationalDataSource extends datasources_1.AbstractDataSource {
24
24
  message: `[${this.constructor.name}][wireDriverFromMetadata] No driver and no client | Assign this.client in configure(), or wire a custom driver with useDriver()`,
25
25
  });
26
26
  }
27
- // Absent for an imperatively-registered datasource.
27
+ const DriverClass = this.resolveDriverClass();
28
+ this.useDriver({ driver: new DriverClass({ client: this.client }) });
29
+ }
30
+ /**
31
+ * Reads the driver CLASS named by `@datasource({ driver })`. Absent for an imperatively-registered
32
+ * datasource; the type forbids a driver-name string, so this catches an untyped JavaScript caller -
33
+ * and a string is exactly the mistake to catch, because it carries no module into the bundle.
34
+ */
35
+ resolveDriverClass() {
28
36
  const metadata = inversion_1.MetadataRegistry.getInstance().getDataSourceMetadata({
29
37
  target: this.constructor,
30
38
  });
31
39
  const driver = metadata?.driver;
32
- // The type forbids a driver-name string, so this catches an untyped JavaScript caller - and a
33
- // string is exactly the mistake to catch, because it carries no module into the bundle.
34
40
  if (typeof driver !== 'function') {
35
41
  throw (0, ignis_helpers_1.getError)({
36
- message: `[${this.constructor.name}][wireDriverFromMetadata] @datasource({ driver }) must name a driver CLASS | Got: ${String(driver)} | Use \`@datasource({ driver: NodePostgresDriver })\` with \`import { NodePostgresDriver } from '@venizia/ignis/postgres/node-postgres'\`, or wire a custom driver with useDriver()`,
42
+ message: `[${this.constructor.name}][resolveDriverClass] @datasource({ driver }) must name a driver CLASS | Got: ${String(driver)} | Use \`@datasource({ driver: NodePostgresDriver })\` with \`import { NodePostgresDriver } from '@venizia/ignis/postgres/node-postgres'\`, or wire a custom driver with useDriver()`,
37
43
  });
38
44
  }
39
- const DriverClass = driver;
40
- this.useDriver({ driver: new DriverClass({ client: this.client }) });
45
+ return driver;
41
46
  }
42
47
  resolveDriver() {
43
48
  this.wireDriverFromMetadata();
@@ -78,6 +83,81 @@ class AbstractRelationalDataSource extends datasources_1.AbstractDataSource {
78
83
  AbstractRelationalDataSource.queryDialect ??= new filter_1.FilterBuilder();
79
84
  return AbstractRelationalDataSource.queryDialect;
80
85
  }
86
+ /**
87
+ * Soft-evicts the connection pool after a secret rotation. Builds a fresh pool + driver + connector
88
+ * against the rotated credentials WITHOUT disturbing the live fields, then swaps them in atomically
89
+ * and drains the old pool - so in-flight work finishes on the old pool while new work uses the new
90
+ * one. If the rebuild throws (bad rotated creds, transient failure) the live state is left exactly
91
+ * as it was, any half-built pool is drained rather than leaked, and the error is rethrown so the
92
+ * dispatcher can surface it - the datasource keeps serving on the old pool throughout.
93
+ */
94
+ async onSecretRotated(opts) {
95
+ const logger = this.logger.for(this.onSecretRotated.name);
96
+ const oldClient = this.getClient();
97
+ // Snapshot so a failed rebuild restores the datasource verbatim. `settings` is copied because
98
+ // rotation mutates it in place; the live client stays untouched, keeping the old pool serving.
99
+ const savedClient = this.client;
100
+ const savedSettings = { ...this.settings };
101
+ // Rotation takes effect only through this.settings + configure(); a configure() that builds its
102
+ // pool from a hard-coded connection string or reads Envs directly rebuilds with stale credentials.
103
+ Object.assign(this.settings, this.mapSecretToSettings({ secret: opts.secret }));
104
+ // configure() overwrites this.client with the freshly-built pool; capture it into a local and
105
+ // immediately restore the old client so the live driver/connector stay on the old pool until the
106
+ // swap. The old client keeps serving throughout - the live fields are never nulled.
107
+ let newClient;
108
+ try {
109
+ await this.configure();
110
+ newClient = this.client;
111
+ }
112
+ catch (error) {
113
+ const halfBuilt = this.client;
114
+ this.client = savedClient;
115
+ Object.assign(this.settings, savedSettings);
116
+ if (halfBuilt && halfBuilt !== savedClient && typeof halfBuilt.end === 'function') {
117
+ await halfBuilt.end();
118
+ }
119
+ logger.error('Secret rotation failed in configure(); kept old pool | key: %s', opts.key);
120
+ throw error;
121
+ }
122
+ this.client = savedClient;
123
+ // Wire a driver + connector over the new pool into locals, still without touching live state.
124
+ let newDriver;
125
+ let newConnector;
126
+ try {
127
+ const DriverClass = this.resolveDriverClass();
128
+ newDriver = new DriverClass({ client: newClient });
129
+ newConnector = newDriver.createConnector({ schema: this.getSchema() });
130
+ }
131
+ catch (error) {
132
+ Object.assign(this.settings, savedSettings);
133
+ if (newClient && typeof newClient.end === 'function') {
134
+ await newClient.end();
135
+ }
136
+ logger.error('Secret rotation failed while wiring driver; kept old pool | key: %s', opts.key);
137
+ throw error;
138
+ }
139
+ // New pool fully built: commit the live fields to it in one synchronous step (no null window),
140
+ // then soft-evict the old pool so its in-flight transactions can finish.
141
+ this.client = newClient;
142
+ this.driver = newDriver;
143
+ this.connector = newConnector;
144
+ if (oldClient && typeof oldClient.end === 'function') {
145
+ await oldClient.end();
146
+ logger.info('Old pool drained after secret rotation | key: %s', opts.key);
147
+ }
148
+ }
149
+ /** Vault's database engine returns `{ username, password }`; pg expects `{ user, password }`. */
150
+ mapSecretToSettings(opts) {
151
+ const { username, password } = opts.secret;
152
+ const mapped = {};
153
+ if (username !== undefined) {
154
+ mapped.user = username;
155
+ }
156
+ if (password !== undefined) {
157
+ mapped.password = password;
158
+ }
159
+ return mapped;
160
+ }
81
161
  }
82
162
  exports.AbstractRelationalDataSource = AbstractRelationalDataSource;
83
163
  //# sourceMappingURL=abstract.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"abstract.js","sourceRoot":"","sources":["../../../../src/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AI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,MAAmC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACO,SAAS,CAAC,IAA4D;QAC9E,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAOD,kGAAkG;IAClG,YAAY;QACV,IAAI,CAAC,sBAAsB,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;;;OAIG;IACH,SAAS;QACP,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,EAAY,CAAC;QAC3C,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,MAAM,IAAA,wBAAQ,EAAC;gBACb,OAAO,EAAE,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,0EAA0E;aAC7G,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,eAAe;QACb,4BAA4B,CAAC,YAAY,KAAK,IAAI,sBAAa,EAAE,CAAC;QAElE,OAAO,4BAA4B,CAAC,YAAY,CAAC;IACnD,CAAC;CACF;AAzGD,oEAyGC"}
1
+ {"version":3,"file":"abstract.js","sourceRoot":"","sources":["../../../../src/connectors/postgres/datasources/abstract.ts"],"names":[],"mappings":";;;AACA,oDAAwD;AAGxD,8EAAkF;AAClF,mDAAuD;AAEvD,0DAAkD;AASlD,sDAAsD;AACtD,MAAsB,4BAMpB,SAAQ,gCAAyD;IAUjE;;;OAGG;IACO,sBAAsB;QAC9B,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,OAAO;QACT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AAO,SAAqB,CAAC,GAAG,EAAE,CAAC;YACrC,CAAC;YACD,MAAM,CAAC,KAAK,CAAC,qEAAqE,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;YAC9F,MAAM,KAAK,CAAC;QACd,CAAC;QAED,+FAA+F;QAC/F,yEAAyE;QACzE,IAAI,CAAC,MAAM,GAAG,SAAoB,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,SAAS,GAAG,YAAuB,CAAC;QAEzC,IAAI,SAAS,IAAI,OAAO,SAAS,CAAC,GAAG,KAAK,UAAU,EAAE,CAAC;YACrD,MAAM,SAAS,CAAC,GAAG,EAAE,CAAC;YACtB,MAAM,CAAC,IAAI,CAAC,kDAAkD,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;QAC5E,CAAC;IACH,CAAC;IAED,iGAAiG;IACvF,mBAAmB,CAAC,IAAwC;QACpE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3C,MAAM,MAAM,GAAc,EAAE,CAAC;QAC7B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC;QACzB,CAAC;QACD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC7B,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAhMD,oEAgMC"}
@@ -153,11 +153,18 @@ export declare const defineSearchRouteConfigs: (opts: {
153
153
  content: {
154
154
  'application/json': {
155
155
  schema: z.ZodObject<{
156
- name: z.ZodOptional<z.ZodString>;
157
156
  statusCode: z.ZodOptional<z.ZodNumber>;
158
- messageCode: z.ZodOptional<z.ZodString>;
159
157
  message: z.ZodString;
160
- }, z.core.$catchall<z.ZodAny>>;
158
+ messageCode: z.ZodOptional<z.ZodString>;
159
+ normalized: z.ZodOptional<z.ZodObject<{
160
+ text: z.ZodString;
161
+ code: z.ZodString;
162
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
163
+ }, z.core.$strip>>;
164
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
165
+ requestId: z.ZodOptional<z.ZodString>;
166
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
167
+ }, z.core.$strip>;
161
168
  };
162
169
  };
163
170
  required: boolean | undefined;
@@ -236,11 +243,18 @@ export declare const defineSearchRouteConfigs: (opts: {
236
243
  content: {
237
244
  'application/json': {
238
245
  schema: z.ZodObject<{
239
- name: z.ZodOptional<z.ZodString>;
240
246
  statusCode: z.ZodOptional<z.ZodNumber>;
241
- messageCode: z.ZodOptional<z.ZodString>;
242
247
  message: z.ZodString;
243
- }, z.core.$catchall<z.ZodAny>>;
248
+ messageCode: z.ZodOptional<z.ZodString>;
249
+ normalized: z.ZodOptional<z.ZodObject<{
250
+ text: z.ZodString;
251
+ code: z.ZodString;
252
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
253
+ }, z.core.$strip>>;
254
+ extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
255
+ requestId: z.ZodOptional<z.ZodString>;
256
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
257
+ }, z.core.$strip>;
244
258
  };
245
259
  };
246
260
  required: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/connectors/search/controllers/definition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAItC,eAAO,MAAM,wBAAwB,GAAI,MAAM;IAC7C,YAAY,EAAE,CAAC,CAAC,UAAU,CAAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAjC,aAAa,EAAE;mBAAS,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDhE,CAAC"}
@@ -21,7 +21,7 @@ class SearchConnectorInternal {
21
21
  statusCode: ignis_helpers_1.HTTP.ResultCodes.RS_5.ServiceUnavailable,
22
22
  messageCode: common_1.SearchErrorCodes.DEPENDENCY_UNAVAILABLE,
23
23
  message: `[${method}] Search engine is temporarily unavailable.`,
24
- ...(details ? { details } : {}),
24
+ ...(details ? { extra: { details } } : {}),
25
25
  });
26
26
  // The original engine error carries the code the CALLER may need to classify on - Meilisearch
27
27
  // reports `index_already_exists` as a failed TASK, and a connector that tolerates it (an
@@ -1 +1 @@
1
- {"version":3,"file":"search-connector-internal.js","sourceRoot":"","sources":["../../../../src/connectors/search/internal/search-connector-internal.ts"],"names":[],"mappings":";;;AAAA,qCAA4C;AAE5C,0DAAwD;AAExD,6KAA6K;AAC7K,MAAa,uBAAuB;IAClC,2GAA2G;IAC3G,MAAM,CAAC,aAAa,CAAC,IAAwB;QAC3C,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QACvB,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACzE,CAAC;IAED,qFAAqF;IACrF,gGAAgG;IAChG,MAAM,CAAC,mBAAmB,CAAC,IAK1B;QACC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QAEhD,MAAM;aACH,GAAG,CAAC,MAAM,CAAC;aACX,KAAK,CACJ,6CAA6C,EAC7C,uBAAuB,CAAC,aAAa,CAAC,EAAE,KAAK,EAAE,CAAC,CACjD,CAAC;QAEJ,MAAM,OAAO,GAAG,IAAA,wBAAQ,EAAC;YACvB,UAAU,EAAE,oBAAI,CAAC,WAAW,CAAC,IAAI,CAAC,kBAAkB;YACpD,WAAW,EAAE,yBAAgB,CAAC,sBAAsB;YACpD,OAAO,EAAE,IAAI,MAAM,6CAA6C;YAChE,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAChC,CAAC,CAAC;QAEH,8FAA8F;QAC9F,yFAAyF;QACzF,gFAAgF;QAChF,EAAE;QACF,yFAAyF;QACzF,0FAA0F;QAC1F,yFAAyF;QACxF,OAA+B,CAAC,KAAK,GAAG,KAAK,CAAC;QAC/C,MAAM,OAAO,CAAC;IAChB,CAAC;IAED,2GAA2G;IAC3G,MAAM,CAAC,kBAAkB,CAAC,IAAyC;QACjE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;QAEjC,MAAM,IAAA,wBAAQ,EAAC;YACb,UAAU,EAAE,oBAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ;YAC1C,WAAW,EAAE,yBAAgB,CAAC,SAAS;YACvC,OAAO,EAAE,IAAI,MAAM,KAAK,OAAO,aAAa;SAC7C,CAAC,CAAC;IACL,CAAC;CACF;AApDD,0DAoDC"}
1
+ {"version":3,"file":"search-connector-internal.js","sourceRoot":"","sources":["../../../../src/connectors/search/internal/search-connector-internal.ts"],"names":[],"mappings":";;;AAAA,qCAA4C;AAE5C,0DAAwD;AAExD,6KAA6K;AAC7K,MAAa,uBAAuB;IAClC,2GAA2G;IAC3G,MAAM,CAAC,aAAa,CAAC,IAAwB;QAC3C,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;QACvB,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,C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