@opencrvs/toolkit 2.0.0-rc.d846143 → 2.0.0-rc.dd60863

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,9 +3975,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3975
3975
  output: {
3976
3976
  id: string & import("zod").$brand<"UUID">;
3977
3977
  name: {
3978
- firstname: string;
3979
- surname: string;
3980
- };
3978
+ use: string;
3979
+ given: string[];
3980
+ family: string;
3981
+ }[];
3981
3982
  role: string;
3982
3983
  primaryOfficeId: string & import("zod").$brand<"UUID">;
3983
3984
  type: "user";
@@ -4007,9 +4008,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4007
4008
  create: import("@trpc/server").TRPCMutationProcedure<{
4008
4009
  input: {
4009
4010
  name: {
4010
- firstname: string;
4011
- surname: string;
4012
- };
4011
+ use: string;
4012
+ given: string[];
4013
+ family: string;
4014
+ }[];
4013
4015
  role: string;
4014
4016
  primaryOfficeId: string;
4015
4017
  data?: Record<string, unknown> | undefined;
@@ -4027,9 +4029,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4027
4029
  output: {
4028
4030
  id: string & import("zod").$brand<"UUID">;
4029
4031
  name: {
4030
- firstname: string;
4031
- surname: string;
4032
- };
4032
+ use: string;
4033
+ given: string[];
4034
+ family: string;
4035
+ }[];
4033
4036
  role: string;
4034
4037
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4035
4038
  type: "user";
@@ -4050,9 +4053,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4050
4053
  id: string;
4051
4054
  data?: Record<string, unknown> | undefined;
4052
4055
  name?: {
4053
- firstname: string;
4054
- surname: string;
4055
- } | undefined;
4056
+ use: string;
4057
+ given: string[];
4058
+ family: string;
4059
+ }[] | undefined;
4056
4060
  role?: string | undefined;
4057
4061
  fullHonorificName?: string | undefined;
4058
4062
  device?: string | undefined;
@@ -4071,9 +4075,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4071
4075
  output: {
4072
4076
  id: string & import("zod").$brand<"UUID">;
4073
4077
  name: {
4074
- firstname: string;
4075
- surname: string;
4076
- };
4078
+ use: string;
4079
+ given: string[];
4080
+ family: string;
4081
+ }[];
4077
4082
  role: string;
4078
4083
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4079
4084
  type: "user";
@@ -4094,9 +4099,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4094
4099
  output: ({
4095
4100
  id: string & import("zod").$brand<"UUID">;
4096
4101
  name: {
4097
- firstname: string;
4098
- surname: string;
4099
- };
4102
+ use: string;
4103
+ given: string[];
4104
+ family: string;
4105
+ }[];
4100
4106
  role: string;
4101
4107
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4102
4108
  type: "user";
@@ -4138,9 +4144,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4138
4144
  output: ({
4139
4145
  id: string & import("zod").$brand<"UUID">;
4140
4146
  name: {
4141
- firstname: string;
4142
- surname: string;
4143
- };
4147
+ use: string;
4148
+ given: string[];
4149
+ family: string;
4150
+ }[];
4144
4151
  role: string;
4145
4152
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4146
4153
  type: "user";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.d846143",
3
+ "version": "2.0.0-rc.dd60863",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {