@opencrvs/toolkit 2.0.0-rc.dd60863 → 2.0.0-rc.df1ed4f
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/application-config/index.js +4 -4
- package/dist/cli.js +1383 -142
- package/dist/commons/api/router.d.ts +56 -57
- package/dist/commons/application-config/index.d.ts +16 -4
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +3 -4
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts +3 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.js +373 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +19 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +17 -13
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +4 -5
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +4 -5
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -1
- package/dist/migrations/v2.0/create-events-index.js +1 -2
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +3 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +77 -0
- package/dist/migrations/v2.0/index.d.ts +8 -4
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +1351 -139
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +5 -6
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +3 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +221 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-application-config-url.js +342 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-scopes.js +6 -7
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +3 -4
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +3 -4
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-delete-actions.js +3 -4
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-demo-scope.js +2 -3
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-deprecated-imports.js +3 -4
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts +3 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.js +163 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-hearth-migrations.js +1 -2
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts +3 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.js +356 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +3 -4
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-review-from-register-action.js +3 -4
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts +3 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.js +186 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -1
- package/dist/migrations/v2.0/rename-api-paths.js +3 -4
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -1
- package/dist/migrations/v2.0/rename-location-parent-id.js +3 -4
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -1
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +1 -2
- package/dist/migrations/v2.0/update-package-json.d.ts +3 -0
- package/dist/migrations/v2.0/update-package-json.d.ts.map +1 -0
- package/dist/migrations/v2.0/update-package-json.js +105 -0
- package/opencrvs-toolkit-2.0.0-rc.df1ed4f.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.dd60863.tgz +0 -0
|
@@ -2,7 +2,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2
2
|
ctx: Partial<{
|
|
3
3
|
token: `Bearer ${string}`;
|
|
4
4
|
user: {
|
|
5
|
-
id: string
|
|
5
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
7
|
signature?: undefined;
|
|
8
8
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24
24
|
ctx: Partial<{
|
|
25
25
|
token: `Bearer ${string}`;
|
|
26
26
|
user: {
|
|
27
|
-
id: string
|
|
27
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
29
|
signature?: undefined;
|
|
30
30
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
ctx: Partial<{
|
|
47
47
|
token: `Bearer ${string}`;
|
|
48
48
|
user: {
|
|
49
|
-
id: string
|
|
49
|
+
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
51
|
signature?: undefined;
|
|
52
52
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -92,7 +92,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
92
92
|
ctx: Partial<{
|
|
93
93
|
token: `Bearer ${string}`;
|
|
94
94
|
user: {
|
|
95
|
-
id: string
|
|
95
|
+
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
97
|
signature?: undefined;
|
|
98
98
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1054,7 +1054,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1054
1054
|
ctx: Partial<{
|
|
1055
1055
|
token: `Bearer ${string}`;
|
|
1056
1056
|
user: {
|
|
1057
|
-
id: string
|
|
1057
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1058
1058
|
type: "system";
|
|
1059
1059
|
signature?: undefined;
|
|
1060
1060
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1133,7 +1133,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1133
1133
|
ctx: Partial<{
|
|
1134
1134
|
token: `Bearer ${string}`;
|
|
1135
1135
|
user: {
|
|
1136
|
-
id: string
|
|
1136
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1137
1137
|
type: "system";
|
|
1138
1138
|
signature?: undefined;
|
|
1139
1139
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1155,7 +1155,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1155
1155
|
ctx: Partial<{
|
|
1156
1156
|
token: `Bearer ${string}`;
|
|
1157
1157
|
user: {
|
|
1158
|
-
id: string
|
|
1158
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1159
1159
|
type: "system";
|
|
1160
1160
|
signature?: undefined;
|
|
1161
1161
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1199,7 +1199,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1199
1199
|
ctx: Partial<{
|
|
1200
1200
|
token: `Bearer ${string}`;
|
|
1201
1201
|
user: {
|
|
1202
|
-
id: string
|
|
1202
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1203
1203
|
type: "system";
|
|
1204
1204
|
signature?: undefined;
|
|
1205
1205
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1552,7 +1552,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1552
1552
|
ctx: Partial<{
|
|
1553
1553
|
token: `Bearer ${string}`;
|
|
1554
1554
|
user: {
|
|
1555
|
-
id: string
|
|
1555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1556
1556
|
type: "system";
|
|
1557
1557
|
signature?: undefined;
|
|
1558
1558
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1596,7 +1596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1596
1596
|
ctx: Partial<{
|
|
1597
1597
|
token: `Bearer ${string}`;
|
|
1598
1598
|
user: {
|
|
1599
|
-
id: string
|
|
1599
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1600
1600
|
type: "system";
|
|
1601
1601
|
signature?: undefined;
|
|
1602
1602
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1640,7 +1640,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1640
1640
|
ctx: Partial<{
|
|
1641
1641
|
token: `Bearer ${string}`;
|
|
1642
1642
|
user: {
|
|
1643
|
-
id: string
|
|
1643
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1644
1644
|
type: "system";
|
|
1645
1645
|
signature?: undefined;
|
|
1646
1646
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1684,7 +1684,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1684
1684
|
ctx: Partial<{
|
|
1685
1685
|
token: `Bearer ${string}`;
|
|
1686
1686
|
user: {
|
|
1687
|
-
id: string
|
|
1687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1688
1688
|
type: "system";
|
|
1689
1689
|
signature?: undefined;
|
|
1690
1690
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1728,7 +1728,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1728
1728
|
ctx: Partial<{
|
|
1729
1729
|
token: `Bearer ${string}`;
|
|
1730
1730
|
user: {
|
|
1731
|
-
id: string
|
|
1731
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1732
1732
|
type: "system";
|
|
1733
1733
|
signature?: undefined;
|
|
1734
1734
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -1772,7 +1772,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1772
1772
|
ctx: Partial<{
|
|
1773
1773
|
token: `Bearer ${string}`;
|
|
1774
1774
|
user: {
|
|
1775
|
-
id: string
|
|
1775
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1776
1776
|
type: "system";
|
|
1777
1777
|
signature?: undefined;
|
|
1778
1778
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2126,7 +2126,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2126
2126
|
ctx: Partial<{
|
|
2127
2127
|
token: `Bearer ${string}`;
|
|
2128
2128
|
user: {
|
|
2129
|
-
id: string
|
|
2129
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2130
2130
|
type: "system";
|
|
2131
2131
|
signature?: undefined;
|
|
2132
2132
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2779,7 +2779,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2779
2779
|
ctx: Partial<{
|
|
2780
2780
|
token: `Bearer ${string}`;
|
|
2781
2781
|
user: {
|
|
2782
|
-
id: string
|
|
2782
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2783
2783
|
type: "system";
|
|
2784
2784
|
signature?: undefined;
|
|
2785
2785
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2801,7 +2801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2801
2801
|
ctx: Partial<{
|
|
2802
2802
|
token: `Bearer ${string}`;
|
|
2803
2803
|
user: {
|
|
2804
|
-
id: string
|
|
2804
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2805
2805
|
type: "system";
|
|
2806
2806
|
signature?: undefined;
|
|
2807
2807
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2845,7 +2845,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2845
2845
|
ctx: Partial<{
|
|
2846
2846
|
token: `Bearer ${string}`;
|
|
2847
2847
|
user: {
|
|
2848
|
-
id: string
|
|
2848
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2849
2849
|
type: "system";
|
|
2850
2850
|
signature?: undefined;
|
|
2851
2851
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2889,7 +2889,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2889
2889
|
ctx: Partial<{
|
|
2890
2890
|
token: `Bearer ${string}`;
|
|
2891
2891
|
user: {
|
|
2892
|
-
id: string
|
|
2892
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2893
2893
|
type: "system";
|
|
2894
2894
|
signature?: undefined;
|
|
2895
2895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -2934,7 +2934,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2934
2934
|
ctx: Partial<{
|
|
2935
2935
|
token: `Bearer ${string}`;
|
|
2936
2936
|
user: {
|
|
2937
|
-
id: string
|
|
2937
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2938
2938
|
type: "system";
|
|
2939
2939
|
signature?: undefined;
|
|
2940
2940
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -3952,7 +3952,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3952
3952
|
ctx: Partial<{
|
|
3953
3953
|
token: `Bearer ${string}`;
|
|
3954
3954
|
user: {
|
|
3955
|
-
id: string
|
|
3955
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3956
3956
|
type: "system";
|
|
3957
3957
|
signature?: undefined;
|
|
3958
3958
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -3992,7 +3992,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3992
3992
|
email?: string | undefined;
|
|
3993
3993
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3994
3994
|
} | {
|
|
3995
|
-
id: string
|
|
3995
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3996
3996
|
name: string;
|
|
3997
3997
|
type: "system";
|
|
3998
3998
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4020,6 +4020,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4020
4020
|
email?: string | undefined;
|
|
4021
4021
|
mobile?: string | undefined;
|
|
4022
4022
|
username?: undefined;
|
|
4023
|
+
password?: undefined;
|
|
4023
4024
|
signature?: {
|
|
4024
4025
|
path: string;
|
|
4025
4026
|
originalFilename: string;
|
|
@@ -4069,8 +4070,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4069
4070
|
type: string;
|
|
4070
4071
|
} | undefined;
|
|
4071
4072
|
status?: "active" | "deactivated" | undefined;
|
|
4072
|
-
} & {
|
|
4073
|
-
id: string;
|
|
4074
4073
|
};
|
|
4075
4074
|
output: {
|
|
4076
4075
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -4116,7 +4115,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4116
4115
|
email?: string | undefined;
|
|
4117
4116
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4118
4117
|
} | {
|
|
4119
|
-
id: string
|
|
4118
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4120
4119
|
name: string;
|
|
4121
4120
|
type: "system";
|
|
4122
4121
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4161,7 +4160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4161
4160
|
email?: string | undefined;
|
|
4162
4161
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4163
4162
|
} | {
|
|
4164
|
-
id: string
|
|
4163
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4165
4164
|
name: string;
|
|
4166
4165
|
type: "system";
|
|
4167
4166
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4216,7 +4215,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4216
4215
|
ctx: Partial<{
|
|
4217
4216
|
token: `Bearer ${string}`;
|
|
4218
4217
|
user: {
|
|
4219
|
-
id: string
|
|
4218
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4220
4219
|
type: "system";
|
|
4221
4220
|
signature?: undefined;
|
|
4222
4221
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4322,7 +4321,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4322
4321
|
ctx: Partial<{
|
|
4323
4322
|
token: `Bearer ${string}`;
|
|
4324
4323
|
user: {
|
|
4325
|
-
id: string
|
|
4324
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4326
4325
|
type: "system";
|
|
4327
4326
|
signature?: undefined;
|
|
4328
4327
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4615,7 +4614,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4615
4614
|
ctx: Partial<{
|
|
4616
4615
|
token: `Bearer ${string}`;
|
|
4617
4616
|
user: {
|
|
4618
|
-
id: string
|
|
4617
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4619
4618
|
type: "system";
|
|
4620
4619
|
signature?: undefined;
|
|
4621
4620
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4688,7 +4687,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4688
4687
|
ctx: Partial<{
|
|
4689
4688
|
token: `Bearer ${string}`;
|
|
4690
4689
|
user: {
|
|
4691
|
-
id: string
|
|
4690
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4692
4691
|
type: "system";
|
|
4693
4692
|
signature?: undefined;
|
|
4694
4693
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4710,7 +4709,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4710
4709
|
ctx: Partial<{
|
|
4711
4710
|
token: `Bearer ${string}`;
|
|
4712
4711
|
user: {
|
|
4713
|
-
id: string
|
|
4712
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4714
4713
|
type: "system";
|
|
4715
4714
|
signature?: undefined;
|
|
4716
4715
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4773,7 +4772,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4773
4772
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4774
4773
|
type: "within";
|
|
4775
4774
|
location: string | {
|
|
4776
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4775
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4777
4776
|
$location?: string | undefined;
|
|
4778
4777
|
};
|
|
4779
4778
|
} | undefined;
|
|
@@ -4795,7 +4794,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4795
4794
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4796
4795
|
type: "within";
|
|
4797
4796
|
location: string | {
|
|
4798
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4797
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4799
4798
|
$location?: string | undefined;
|
|
4800
4799
|
};
|
|
4801
4800
|
} | undefined;
|
|
@@ -4810,47 +4809,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4810
4809
|
createdAtLocation?: {
|
|
4811
4810
|
type: "within";
|
|
4812
4811
|
location: string | {
|
|
4813
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4812
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4814
4813
|
$location?: string | undefined;
|
|
4815
4814
|
};
|
|
4816
4815
|
} | {
|
|
4817
4816
|
type: "exact";
|
|
4818
4817
|
term: string | {
|
|
4819
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4818
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4820
4819
|
$location?: string | undefined;
|
|
4821
4820
|
};
|
|
4822
4821
|
} | undefined;
|
|
4823
4822
|
updatedAtLocation?: {
|
|
4824
4823
|
type: "within";
|
|
4825
4824
|
location: string | {
|
|
4826
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4825
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4827
4826
|
$location?: string | undefined;
|
|
4828
4827
|
};
|
|
4829
4828
|
} | {
|
|
4830
4829
|
type: "exact";
|
|
4831
4830
|
term: string | {
|
|
4832
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4831
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4833
4832
|
$location?: string | undefined;
|
|
4834
4833
|
};
|
|
4835
4834
|
} | undefined;
|
|
4836
4835
|
updatedByUserRole?: {
|
|
4837
4836
|
type: "exact";
|
|
4838
4837
|
term: string | {
|
|
4839
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4838
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4840
4839
|
$location?: string | undefined;
|
|
4841
4840
|
};
|
|
4842
4841
|
} | undefined;
|
|
4843
4842
|
assignedTo?: {
|
|
4844
4843
|
type: "exact";
|
|
4845
4844
|
term: string | {
|
|
4846
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4845
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4847
4846
|
$location?: string | undefined;
|
|
4848
4847
|
};
|
|
4849
4848
|
} | undefined;
|
|
4850
4849
|
createdBy?: {
|
|
4851
4850
|
type: "exact";
|
|
4852
4851
|
term: string | {
|
|
4853
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4852
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4854
4853
|
$location?: string | undefined;
|
|
4855
4854
|
};
|
|
4856
4855
|
} | undefined;
|
|
@@ -4861,7 +4860,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4861
4860
|
updatedBy?: {
|
|
4862
4861
|
type: "exact";
|
|
4863
4862
|
term: string | {
|
|
4864
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4863
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4865
4864
|
$location?: string | undefined;
|
|
4866
4865
|
};
|
|
4867
4866
|
} | undefined;
|
|
@@ -4911,7 +4910,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4911
4910
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4912
4911
|
type: "within";
|
|
4913
4912
|
location: string | {
|
|
4914
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4913
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4915
4914
|
$location?: string | undefined;
|
|
4916
4915
|
};
|
|
4917
4916
|
} | undefined;
|
|
@@ -4933,7 +4932,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4933
4932
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4934
4933
|
type: "within";
|
|
4935
4934
|
location: string | {
|
|
4936
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4935
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4937
4936
|
$location?: string | undefined;
|
|
4938
4937
|
};
|
|
4939
4938
|
} | undefined;
|
|
@@ -4948,47 +4947,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4948
4947
|
createdAtLocation?: {
|
|
4949
4948
|
type: "within";
|
|
4950
4949
|
location: string | {
|
|
4951
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4950
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4952
4951
|
$location?: string | undefined;
|
|
4953
4952
|
};
|
|
4954
4953
|
} | {
|
|
4955
4954
|
type: "exact";
|
|
4956
4955
|
term: string | {
|
|
4957
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4956
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4958
4957
|
$location?: string | undefined;
|
|
4959
4958
|
};
|
|
4960
4959
|
} | undefined;
|
|
4961
4960
|
updatedAtLocation?: {
|
|
4962
4961
|
type: "within";
|
|
4963
4962
|
location: string | {
|
|
4964
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4963
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4965
4964
|
$location?: string | undefined;
|
|
4966
4965
|
};
|
|
4967
4966
|
} | {
|
|
4968
4967
|
type: "exact";
|
|
4969
4968
|
term: string | {
|
|
4970
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4969
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4971
4970
|
$location?: string | undefined;
|
|
4972
4971
|
};
|
|
4973
4972
|
} | undefined;
|
|
4974
4973
|
updatedByUserRole?: {
|
|
4975
4974
|
type: "exact";
|
|
4976
4975
|
term: string | {
|
|
4977
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4976
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4978
4977
|
$location?: string | undefined;
|
|
4979
4978
|
};
|
|
4980
4979
|
} | undefined;
|
|
4981
4980
|
assignedTo?: {
|
|
4982
4981
|
type: "exact";
|
|
4983
4982
|
term: string | {
|
|
4984
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4983
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4985
4984
|
$location?: string | undefined;
|
|
4986
4985
|
};
|
|
4987
4986
|
} | undefined;
|
|
4988
4987
|
createdBy?: {
|
|
4989
4988
|
type: "exact";
|
|
4990
4989
|
term: string | {
|
|
4991
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4990
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4992
4991
|
$location?: string | undefined;
|
|
4993
4992
|
};
|
|
4994
4993
|
} | undefined;
|
|
@@ -4999,7 +4998,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4999
4998
|
updatedBy?: {
|
|
5000
4999
|
type: "exact";
|
|
5001
5000
|
term: string | {
|
|
5002
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
5001
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
5003
5002
|
$location?: string | undefined;
|
|
5004
5003
|
};
|
|
5005
5004
|
} | undefined;
|
|
@@ -5050,7 +5049,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5050
5049
|
ctx: Partial<{
|
|
5051
5050
|
token: `Bearer ${string}`;
|
|
5052
5051
|
user: {
|
|
5053
|
-
id: string
|
|
5052
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5054
5053
|
type: "system";
|
|
5055
5054
|
signature?: undefined;
|
|
5056
5055
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5098,7 +5097,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5098
5097
|
ctx: Partial<{
|
|
5099
5098
|
token: `Bearer ${string}`;
|
|
5100
5099
|
user: {
|
|
5101
|
-
id: string
|
|
5100
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5102
5101
|
type: "system";
|
|
5103
5102
|
signature?: undefined;
|
|
5104
5103
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5150,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5150
5149
|
scopes: string[];
|
|
5151
5150
|
status: string;
|
|
5152
5151
|
createdAt: string;
|
|
5153
|
-
createdBy: string
|
|
5152
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5154
5153
|
}[];
|
|
5155
5154
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5156
5155
|
}>;
|
|
@@ -5165,7 +5164,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5165
5164
|
status: string;
|
|
5166
5165
|
shaSecret: string | null;
|
|
5167
5166
|
createdAt: string;
|
|
5168
|
-
createdBy: string
|
|
5167
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5169
5168
|
};
|
|
5170
5169
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5171
5170
|
}>;
|
|
@@ -5216,7 +5215,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5216
5215
|
ctx: Partial<{
|
|
5217
5216
|
token: `Bearer ${string}`;
|
|
5218
5217
|
user: {
|
|
5219
|
-
id: string
|
|
5218
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5220
5219
|
type: "system";
|
|
5221
5220
|
signature?: undefined;
|
|
5222
5221
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5251,7 +5250,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5251
5250
|
ctx: Partial<{
|
|
5252
5251
|
token: `Bearer ${string}`;
|
|
5253
5252
|
user: {
|
|
5254
|
-
id: string
|
|
5253
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5255
5254
|
type: "system";
|
|
5256
5255
|
signature?: undefined;
|
|
5257
5256
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -24,8 +24,14 @@ export declare const ApplicationConfig: z.ZodObject<{
|
|
|
24
24
|
label: z.ZodObject<import("./events/TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
25
25
|
}, z.core.$strip>>;
|
|
26
26
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
27
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
28
|
-
|
|
27
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
28
|
+
email: "email";
|
|
29
|
+
sms: "sms";
|
|
30
|
+
}>;
|
|
31
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
32
|
+
email: "email";
|
|
33
|
+
sms: "sms";
|
|
34
|
+
}>;
|
|
29
35
|
SEARCH_DEFAULT_CRITERIA: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
30
36
|
NAME: "NAME";
|
|
31
37
|
EMAIL: "EMAIL";
|
|
@@ -46,8 +52,14 @@ export declare const BackgroundConfig: z.ZodObject<{
|
|
|
46
52
|
export declare const LoginConfig: z.ZodObject<{
|
|
47
53
|
COUNTRY: z.ZodString;
|
|
48
54
|
LANGUAGES: z.ZodArray<z.ZodString>;
|
|
49
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
50
|
-
|
|
55
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
56
|
+
email: "email";
|
|
57
|
+
sms: "sms";
|
|
58
|
+
}>;
|
|
59
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
60
|
+
email: "email";
|
|
61
|
+
sms: "sms";
|
|
62
|
+
}>;
|
|
51
63
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
52
64
|
LOGIN_BACKGROUND: z.ZodObject<{
|
|
53
65
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-birth-certificate-issuance-flag.d.ts","sourceRoot":"","sources":["../../../src/migrations/v2.0/add-birth-certificate-issuance-flag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-birth-certificate-issuance-flag.d.ts","sourceRoot":"","sources":["../../../src/migrations/v2.0/add-birth-certificate-issuance-flag.ts"],"names":[],"mappings":"AA2aA,iBAAe,IAAI,kBAiDlB;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -48,7 +48,6 @@ exports.main = main;
|
|
|
48
48
|
*/
|
|
49
49
|
const ts_morph_1 = require("ts-morph");
|
|
50
50
|
const path_1 = __importDefault(require("path"));
|
|
51
|
-
const _1 = require(".");
|
|
52
51
|
const DEFINE_CONFIG_NAME = 'defineConfig';
|
|
53
52
|
const DEFINE_WORKQUEUES_NAME = 'defineWorkqueues';
|
|
54
53
|
const ACTIONS_PROPERTY_NAME = 'actions';
|
|
@@ -318,7 +317,7 @@ function processFile(filePath, project) {
|
|
|
318
317
|
if (!sourceFile)
|
|
319
318
|
return 0;
|
|
320
319
|
let totalChanges = 0;
|
|
321
|
-
const relPath = path_1.default.relative(
|
|
320
|
+
const relPath = path_1.default.relative(process.cwd(), filePath);
|
|
322
321
|
const callExpressions = sourceFile.getDescendantsOfKind(ts_morph_1.SyntaxKind.CallExpression);
|
|
323
322
|
for (const call of callExpressions) {
|
|
324
323
|
const expression = call.getExpression();
|
|
@@ -369,7 +368,7 @@ function processFile(filePath, project) {
|
|
|
369
368
|
// ─── Entry point ─────────────────────────────────────────────────────────────
|
|
370
369
|
function main() {
|
|
371
370
|
return __awaiter(this, void 0, void 0, function* () {
|
|
372
|
-
const srcDir = path_1.default.join(
|
|
371
|
+
const srcDir = path_1.default.join(process.cwd(), 'src');
|
|
373
372
|
console.log(`Scanning for birth defineConfig and PRINT_CERTIFICATE workqueues in: ${srcDir}\n`);
|
|
374
373
|
const project = new ts_morph_1.Project({
|
|
375
374
|
tsConfigFilePath: path_1.default.resolve(srcDir, '../tsconfig.json'),
|
|
@@ -398,7 +397,7 @@ function main() {
|
|
|
398
397
|
for (const filePath of modifiedFiles) {
|
|
399
398
|
const sourceFile = project.getSourceFileOrThrow(filePath);
|
|
400
399
|
yield sourceFile.save();
|
|
401
|
-
console.log(` Saved: ${path_1.default.relative(
|
|
400
|
+
console.log(` Saved: ${path_1.default.relative(process.cwd(), filePath)}`);
|
|
402
401
|
}
|
|
403
402
|
console.log(`\nDone. Applied ${totalChanges} change(s) across ${modifiedFiles.length} file(s).`);
|
|
404
403
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-resend-invite-notification.d.ts","sourceRoot":"","sources":["../../../src/migrations/v2.0/add-resend-invite-notification.ts"],"names":[],"mappings":"AA8ZA,iBAAe,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAuCnC;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
|