Skip to content

Commit 9d3733b

Browse files
committed
CCM-10893 Add client name
1 parent a4dc9f2 commit 9d3733b

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

infrastructure/terraform/modules/backend-api/spec.tmpl.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@
325325
},
326326
"features": {
327327
"$ref": "#/components/schemas/ClientFeatures"
328+
},
329+
"name": {
330+
"type": "string"
328331
}
329332
},
330333
"required": [

lambdas/backend-client/src/schemas/client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const $ClientFeatures = schemaFor<ClientFeatures>()(
1111

1212
export const $ClientConfiguration = schemaFor<ClientConfiguration>()(
1313
z.object({
14+
name: z.string().optional(),
1415
campaignId: z.string().optional(),
1516
features: $ClientFeatures,
1617
})

lambdas/backend-client/src/types/generated/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export type ClientFeatures = {
112112
};
113113

114114
export type ClientConfiguration = {
115+
name?: string;
115116
campaignId?: string;
116117
features: ClientFeatures;
117118
};

0 commit comments

Comments
 (0)