@opencrvs/toolkit 2.0.0-rc.daa49cf → 2.0.0-rc.db5d96b
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/create-countryconfig/index.js +73 -0
- package/create-countryconfig/package.json +11 -0
- package/dist/application-config/index.js +20 -23
- package/dist/cli.js +302 -136
- package/dist/commons/api/router.d.ts +35 -47
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionInput.d.ts +36 -0
- package/dist/commons/events/Draft.d.ts +1 -0
- package/dist/commons/events/EventIndex.d.ts +1 -0
- package/dist/commons/events/EventMetadata.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/locations.d.ts +21 -0
- package/dist/commons/events/mocks.test.utils.d.ts +19 -0
- package/dist/commons/events/scopes.d.ts +24 -1
- package/dist/commons/events/state/index.d.ts +2 -1
- package/dist/conditionals/index.js +5 -3
- package/dist/events/index.js +76 -23
- 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 +60 -35
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
- package/dist/migrations/v2.0/index.d.ts +5 -3
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +302 -136
- 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 +90 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
- package/dist/notification/index.js +21 -23
- package/dist/scopes/index.d.ts +6 -1
- package/dist/scopes/index.js +5 -3
- package/opencrvs-toolkit-2.0.0-rc.db5d96b.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.daa49cf.tgz +0 -0
|
@@ -1105,6 +1105,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1105
1105
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1106
|
originalActionId?: string | undefined;
|
|
1107
1107
|
keepAssignment?: boolean | undefined;
|
|
1108
|
+
waitFor?: boolean | undefined;
|
|
1108
1109
|
createdAtLocation?: string | null | undefined;
|
|
1109
1110
|
};
|
|
1110
1111
|
output: {
|
|
@@ -1225,6 +1226,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1225
1226
|
annotation?: Record<string, unknown> | undefined;
|
|
1226
1227
|
originalActionId?: string | undefined;
|
|
1227
1228
|
keepAssignment?: boolean | undefined;
|
|
1229
|
+
waitFor?: boolean | undefined;
|
|
1228
1230
|
createdAtLocation?: string | null | undefined;
|
|
1229
1231
|
type?: "DECLARE" | undefined;
|
|
1230
1232
|
};
|
|
@@ -1799,6 +1801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1799
1801
|
annotation?: Record<string, unknown> | undefined;
|
|
1800
1802
|
originalActionId?: string | undefined;
|
|
1801
1803
|
keepAssignment?: boolean | undefined;
|
|
1804
|
+
waitFor?: boolean | undefined;
|
|
1802
1805
|
createdAtLocation?: string | null | undefined;
|
|
1803
1806
|
type?: "CUSTOM" | undefined;
|
|
1804
1807
|
};
|
|
@@ -2154,6 +2157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2154
2157
|
annotation?: Record<string, unknown> | undefined;
|
|
2155
2158
|
originalActionId?: string | undefined;
|
|
2156
2159
|
keepAssignment?: boolean | undefined;
|
|
2160
|
+
waitFor?: boolean | undefined;
|
|
2157
2161
|
createdAtLocation?: string | null | undefined;
|
|
2158
2162
|
};
|
|
2159
2163
|
output: {
|
|
@@ -2467,6 +2471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2467
2471
|
annotation?: Record<string, unknown> | undefined;
|
|
2468
2472
|
originalActionId?: string | undefined;
|
|
2469
2473
|
keepAssignment?: boolean | undefined;
|
|
2474
|
+
waitFor?: boolean | undefined;
|
|
2470
2475
|
createdAtLocation?: string | null | undefined;
|
|
2471
2476
|
type?: "UNASSIGN" | undefined;
|
|
2472
2477
|
assignedTo?: null | undefined;
|
|
@@ -2960,6 +2965,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2960
2965
|
annotation?: Record<string, unknown> | undefined;
|
|
2961
2966
|
originalActionId?: string | undefined;
|
|
2962
2967
|
keepAssignment?: boolean | undefined;
|
|
2968
|
+
waitFor?: boolean | undefined;
|
|
2963
2969
|
createdAtLocation?: string | null | undefined;
|
|
2964
2970
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2965
2971
|
content?: {
|
|
@@ -3277,6 +3283,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3277
3283
|
annotation?: Record<string, unknown> | undefined;
|
|
3278
3284
|
originalActionId?: string | undefined;
|
|
3279
3285
|
keepAssignment?: boolean | undefined;
|
|
3286
|
+
waitFor?: boolean | undefined;
|
|
3280
3287
|
createdAtLocation?: string | null | undefined;
|
|
3281
3288
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3282
3289
|
};
|
|
@@ -3636,6 +3643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3636
3643
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3637
3644
|
updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3638
3645
|
assignedTo?: string | null | undefined;
|
|
3646
|
+
assignedToSignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3639
3647
|
updatedBy?: string | null | undefined;
|
|
3640
3648
|
}[];
|
|
3641
3649
|
total: number;
|
|
@@ -4092,33 +4100,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4092
4100
|
input: string[];
|
|
4093
4101
|
output: ({
|
|
4094
4102
|
id: string & import("zod").$brand<"UUID">;
|
|
4103
|
+
type: "user";
|
|
4095
4104
|
name: {
|
|
4096
4105
|
firstname: string;
|
|
4097
4106
|
surname: string;
|
|
4098
4107
|
};
|
|
4099
4108
|
role: string;
|
|
4100
4109
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4101
|
-
|
|
4102
|
-
status: "active" | "pending" | "deactivated";
|
|
4110
|
+
fullHonorificName?: string | undefined;
|
|
4103
4111
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4104
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4105
4112
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4106
|
-
device?: string | undefined;
|
|
4107
|
-
fullHonorificName?: string | undefined;
|
|
4108
|
-
mobile?: string | undefined;
|
|
4109
|
-
email?: string | undefined;
|
|
4110
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4111
4113
|
} | {
|
|
4112
4114
|
id: string & import("zod").$brand<"UUID">;
|
|
4113
|
-
name: string;
|
|
4114
4115
|
type: "system";
|
|
4116
|
+
name: string;
|
|
4115
4117
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4116
4118
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4117
|
-
signature?: undefined;
|
|
4118
|
-
avatar?: undefined;
|
|
4119
|
-
fullHonorificName?: string | undefined;
|
|
4120
|
-
legacyId?: string | undefined;
|
|
4121
|
-
status?: undefined;
|
|
4122
4119
|
})[];
|
|
4123
4120
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4124
4121
|
}>;
|
|
@@ -4136,33 +4133,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4136
4133
|
};
|
|
4137
4134
|
output: ({
|
|
4138
4135
|
id: string & import("zod").$brand<"UUID">;
|
|
4136
|
+
type: "user";
|
|
4139
4137
|
name: {
|
|
4140
4138
|
firstname: string;
|
|
4141
4139
|
surname: string;
|
|
4142
4140
|
};
|
|
4143
4141
|
role: string;
|
|
4144
4142
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4145
|
-
type: "user";
|
|
4146
4143
|
status: "active" | "pending" | "deactivated";
|
|
4144
|
+
fullHonorificName?: string | undefined;
|
|
4147
4145
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4148
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4149
4146
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4150
|
-
device?: string | undefined;
|
|
4151
|
-
fullHonorificName?: string | undefined;
|
|
4152
|
-
mobile?: string | undefined;
|
|
4153
|
-
email?: string | undefined;
|
|
4154
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4155
4147
|
} | {
|
|
4156
4148
|
id: string & import("zod").$brand<"UUID">;
|
|
4157
|
-
name: string;
|
|
4158
4149
|
type: "system";
|
|
4150
|
+
name: string;
|
|
4159
4151
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4160
4152
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4161
|
-
|
|
4162
|
-
avatar?: undefined;
|
|
4163
|
-
fullHonorificName?: string | undefined;
|
|
4164
|
-
legacyId?: string | undefined;
|
|
4165
|
-
status?: undefined;
|
|
4153
|
+
status?: "active" | "pending" | "deactivated" | undefined;
|
|
4166
4154
|
})[];
|
|
4167
4155
|
meta: object;
|
|
4168
4156
|
}>;
|
|
@@ -4774,7 +4762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4774
4762
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4775
4763
|
type: "within";
|
|
4776
4764
|
location: string | {
|
|
4777
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4765
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4778
4766
|
$location?: string | undefined;
|
|
4779
4767
|
};
|
|
4780
4768
|
} | undefined;
|
|
@@ -4796,7 +4784,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4796
4784
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4797
4785
|
type: "within";
|
|
4798
4786
|
location: string | {
|
|
4799
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4787
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4800
4788
|
$location?: string | undefined;
|
|
4801
4789
|
};
|
|
4802
4790
|
} | undefined;
|
|
@@ -4811,47 +4799,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4811
4799
|
createdAtLocation?: {
|
|
4812
4800
|
type: "within";
|
|
4813
4801
|
location: string | {
|
|
4814
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4802
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4815
4803
|
$location?: string | undefined;
|
|
4816
4804
|
};
|
|
4817
4805
|
} | {
|
|
4818
4806
|
type: "exact";
|
|
4819
4807
|
term: string | {
|
|
4820
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4808
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4821
4809
|
$location?: string | undefined;
|
|
4822
4810
|
};
|
|
4823
4811
|
} | undefined;
|
|
4824
4812
|
updatedAtLocation?: {
|
|
4825
4813
|
type: "within";
|
|
4826
4814
|
location: string | {
|
|
4827
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4815
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4828
4816
|
$location?: string | undefined;
|
|
4829
4817
|
};
|
|
4830
4818
|
} | {
|
|
4831
4819
|
type: "exact";
|
|
4832
4820
|
term: string | {
|
|
4833
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4821
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4834
4822
|
$location?: string | undefined;
|
|
4835
4823
|
};
|
|
4836
4824
|
} | undefined;
|
|
4837
4825
|
updatedByUserRole?: {
|
|
4838
4826
|
type: "exact";
|
|
4839
4827
|
term: string | {
|
|
4840
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4828
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4841
4829
|
$location?: string | undefined;
|
|
4842
4830
|
};
|
|
4843
4831
|
} | undefined;
|
|
4844
4832
|
assignedTo?: {
|
|
4845
4833
|
type: "exact";
|
|
4846
4834
|
term: string | {
|
|
4847
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4835
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4848
4836
|
$location?: string | undefined;
|
|
4849
4837
|
};
|
|
4850
4838
|
} | undefined;
|
|
4851
4839
|
createdBy?: {
|
|
4852
4840
|
type: "exact";
|
|
4853
4841
|
term: string | {
|
|
4854
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4842
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4855
4843
|
$location?: string | undefined;
|
|
4856
4844
|
};
|
|
4857
4845
|
} | undefined;
|
|
@@ -4862,7 +4850,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4862
4850
|
updatedBy?: {
|
|
4863
4851
|
type: "exact";
|
|
4864
4852
|
term: string | {
|
|
4865
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4853
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4866
4854
|
$location?: string | undefined;
|
|
4867
4855
|
};
|
|
4868
4856
|
} | undefined;
|
|
@@ -4912,7 +4900,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4912
4900
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4913
4901
|
type: "within";
|
|
4914
4902
|
location: string | {
|
|
4915
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4903
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4916
4904
|
$location?: string | undefined;
|
|
4917
4905
|
};
|
|
4918
4906
|
} | undefined;
|
|
@@ -4934,7 +4922,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
4922
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4935
4923
|
type: "within";
|
|
4936
4924
|
location: string | {
|
|
4937
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4925
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4938
4926
|
$location?: string | undefined;
|
|
4939
4927
|
};
|
|
4940
4928
|
} | undefined;
|
|
@@ -4949,47 +4937,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4949
4937
|
createdAtLocation?: {
|
|
4950
4938
|
type: "within";
|
|
4951
4939
|
location: string | {
|
|
4952
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4940
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4953
4941
|
$location?: string | undefined;
|
|
4954
4942
|
};
|
|
4955
4943
|
} | {
|
|
4956
4944
|
type: "exact";
|
|
4957
4945
|
term: string | {
|
|
4958
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4946
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4959
4947
|
$location?: string | undefined;
|
|
4960
4948
|
};
|
|
4961
4949
|
} | undefined;
|
|
4962
4950
|
updatedAtLocation?: {
|
|
4963
4951
|
type: "within";
|
|
4964
4952
|
location: string | {
|
|
4965
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4953
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4966
4954
|
$location?: string | undefined;
|
|
4967
4955
|
};
|
|
4968
4956
|
} | {
|
|
4969
4957
|
type: "exact";
|
|
4970
4958
|
term: string | {
|
|
4971
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4959
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4972
4960
|
$location?: string | undefined;
|
|
4973
4961
|
};
|
|
4974
4962
|
} | undefined;
|
|
4975
4963
|
updatedByUserRole?: {
|
|
4976
4964
|
type: "exact";
|
|
4977
4965
|
term: string | {
|
|
4978
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4966
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4979
4967
|
$location?: string | undefined;
|
|
4980
4968
|
};
|
|
4981
4969
|
} | undefined;
|
|
4982
4970
|
assignedTo?: {
|
|
4983
4971
|
type: "exact";
|
|
4984
4972
|
term: string | {
|
|
4985
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4973
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4986
4974
|
$location?: string | undefined;
|
|
4987
4975
|
};
|
|
4988
4976
|
} | undefined;
|
|
4989
4977
|
createdBy?: {
|
|
4990
4978
|
type: "exact";
|
|
4991
4979
|
term: string | {
|
|
4992
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4980
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4993
4981
|
$location?: string | undefined;
|
|
4994
4982
|
};
|
|
4995
4983
|
} | undefined;
|
|
@@ -5000,7 +4988,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5000
4988
|
updatedBy?: {
|
|
5001
4989
|
type: "exact";
|
|
5002
4990
|
term: string | {
|
|
5003
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4991
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
5004
4992
|
$location?: string | undefined;
|
|
5005
4993
|
};
|
|
5006
4994
|
} | undefined;
|
|
@@ -86,16 +86,16 @@ export declare const user: typeof userSerializer & {
|
|
|
86
86
|
};
|
|
87
87
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
88
88
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
89
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
89
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
90
90
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
94
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
94
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
95
95
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
96
96
|
}) => {
|
|
97
97
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
98
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
98
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
99
99
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
100
100
|
};
|
|
101
101
|
};
|