@opencrvs/toolkit 2.0.0-rc.f7427a1 → 2.0.0-rc.fef9d21

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.
@@ -3975,10 +3975,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3975
3975
  output: {
3976
3976
  id: string & import("zod").$brand<"UUID">;
3977
3977
  name: {
3978
- use: string;
3979
- given: string[];
3980
- family: string;
3981
- }[];
3978
+ firstname: string;
3979
+ surname: string;
3980
+ };
3982
3981
  role: string;
3983
3982
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3984
3983
  type: "user";
@@ -4008,10 +4007,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4008
4007
  create: import("@trpc/server").TRPCMutationProcedure<{
4009
4008
  input: {
4010
4009
  name: {
4011
- use: string;
4012
- given: string[];
4013
- family: string;
4014
- }[];
4010
+ firstname: string;
4011
+ surname: string;
4012
+ };
4015
4013
  role: string;
4016
4014
  primaryOfficeId: string;
4017
4015
  data?: Record<string, unknown> | undefined;
@@ -4030,10 +4028,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4030
4028
  output: {
4031
4029
  id: string & import("zod").$brand<"UUID">;
4032
4030
  name: {
4033
- use: string;
4034
- given: string[];
4035
- family: string;
4036
- }[];
4031
+ firstname: string;
4032
+ surname: string;
4033
+ };
4037
4034
  role: string;
4038
4035
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4039
4036
  type: "user";
@@ -4054,10 +4051,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4054
4051
  id: string;
4055
4052
  data?: Record<string, unknown> | undefined;
4056
4053
  name?: {
4057
- use: string;
4058
- given: string[];
4059
- family: string;
4060
- }[] | undefined;
4054
+ firstname: string;
4055
+ surname: string;
4056
+ } | undefined;
4061
4057
  role?: string | undefined;
4062
4058
  fullHonorificName?: string | undefined;
4063
4059
  device?: string | undefined;
@@ -4074,10 +4070,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4074
4070
  output: {
4075
4071
  id: string & import("zod").$brand<"UUID">;
4076
4072
  name: {
4077
- use: string;
4078
- given: string[];
4079
- family: string;
4080
- }[];
4073
+ firstname: string;
4074
+ surname: string;
4075
+ };
4081
4076
  role: string;
4082
4077
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4083
4078
  type: "user";
@@ -4098,10 +4093,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4098
4093
  output: ({
4099
4094
  id: string & import("zod").$brand<"UUID">;
4100
4095
  name: {
4101
- use: string;
4102
- given: string[];
4103
- family: string;
4104
- }[];
4096
+ firstname: string;
4097
+ surname: string;
4098
+ };
4105
4099
  role: string;
4106
4100
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4107
4101
  type: "user";
@@ -4143,10 +4137,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4143
4137
  output: ({
4144
4138
  id: string & import("zod").$brand<"UUID">;
4145
4139
  name: {
4146
- use: string;
4147
- given: string[];
4148
- family: string;
4149
- }[];
4140
+ firstname: string;
4141
+ surname: string;
4142
+ };
4150
4143
  role: string;
4151
4144
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4152
4145
  type: "user";
@@ -4772,7 +4765,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4772
4765
  'legalStatuses.DECLARED.createdAtLocation'?: {
4773
4766
  type: "within";
4774
4767
  location: string | {
4775
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4768
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4776
4769
  $location?: string | undefined;
4777
4770
  };
4778
4771
  } | undefined;
@@ -4794,7 +4787,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4794
4787
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4795
4788
  type: "within";
4796
4789
  location: string | {
4797
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4790
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4798
4791
  $location?: string | undefined;
4799
4792
  };
4800
4793
  } | undefined;
@@ -4809,47 +4802,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4809
4802
  createdAtLocation?: {
4810
4803
  type: "within";
4811
4804
  location: string | {
4812
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4805
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4813
4806
  $location?: string | undefined;
4814
4807
  };
4815
4808
  } | {
4816
4809
  type: "exact";
4817
4810
  term: string | {
4818
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4811
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4819
4812
  $location?: string | undefined;
4820
4813
  };
4821
4814
  } | undefined;
4822
4815
  updatedAtLocation?: {
4823
4816
  type: "within";
4824
4817
  location: string | {
4825
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4818
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4826
4819
  $location?: string | undefined;
4827
4820
  };
4828
4821
  } | {
4829
4822
  type: "exact";
4830
4823
  term: string | {
4831
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4824
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4832
4825
  $location?: string | undefined;
4833
4826
  };
4834
4827
  } | undefined;
4835
4828
  updatedByUserRole?: {
4836
4829
  type: "exact";
4837
4830
  term: string | {
4838
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4831
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4839
4832
  $location?: string | undefined;
4840
4833
  };
4841
4834
  } | undefined;
4842
4835
  assignedTo?: {
4843
4836
  type: "exact";
4844
4837
  term: string | {
4845
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4838
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4846
4839
  $location?: string | undefined;
4847
4840
  };
4848
4841
  } | undefined;
4849
4842
  createdBy?: {
4850
4843
  type: "exact";
4851
4844
  term: string | {
4852
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4845
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4853
4846
  $location?: string | undefined;
4854
4847
  };
4855
4848
  } | undefined;
@@ -4860,7 +4853,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4860
4853
  updatedBy?: {
4861
4854
  type: "exact";
4862
4855
  term: string | {
4863
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4856
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4864
4857
  $location?: string | undefined;
4865
4858
  };
4866
4859
  } | undefined;
@@ -4910,7 +4903,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4910
4903
  'legalStatuses.DECLARED.createdAtLocation'?: {
4911
4904
  type: "within";
4912
4905
  location: string | {
4913
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4906
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4914
4907
  $location?: string | undefined;
4915
4908
  };
4916
4909
  } | undefined;
@@ -4932,7 +4925,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4932
4925
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4933
4926
  type: "within";
4934
4927
  location: string | {
4935
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4928
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4936
4929
  $location?: string | undefined;
4937
4930
  };
4938
4931
  } | undefined;
@@ -4947,47 +4940,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4947
4940
  createdAtLocation?: {
4948
4941
  type: "within";
4949
4942
  location: string | {
4950
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4943
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4951
4944
  $location?: string | undefined;
4952
4945
  };
4953
4946
  } | {
4954
4947
  type: "exact";
4955
4948
  term: string | {
4956
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4949
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4957
4950
  $location?: string | undefined;
4958
4951
  };
4959
4952
  } | undefined;
4960
4953
  updatedAtLocation?: {
4961
4954
  type: "within";
4962
4955
  location: string | {
4963
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4956
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4964
4957
  $location?: string | undefined;
4965
4958
  };
4966
4959
  } | {
4967
4960
  type: "exact";
4968
4961
  term: string | {
4969
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4962
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4970
4963
  $location?: string | undefined;
4971
4964
  };
4972
4965
  } | undefined;
4973
4966
  updatedByUserRole?: {
4974
4967
  type: "exact";
4975
4968
  term: string | {
4976
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4969
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4977
4970
  $location?: string | undefined;
4978
4971
  };
4979
4972
  } | undefined;
4980
4973
  assignedTo?: {
4981
4974
  type: "exact";
4982
4975
  term: string | {
4983
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4976
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4984
4977
  $location?: string | undefined;
4985
4978
  };
4986
4979
  } | undefined;
4987
4980
  createdBy?: {
4988
4981
  type: "exact";
4989
4982
  term: string | {
4990
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4983
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
4991
4984
  $location?: string | undefined;
4992
4985
  };
4993
4986
  } | undefined;
@@ -4998,7 +4991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4998
4991
  updatedBy?: {
4999
4992
  type: "exact";
5000
4993
  term: string | {
5001
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "avatar" | "signature" | "primaryOfficeId";
4994
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
5002
4995
  $location?: string | undefined;
5003
4996
  };
5004
4997
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.f7427a1",
3
+ "version": "2.0.0-rc.fef9d21",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {