@sortipei/api-contracts 0.1.22 → 0.1.23
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.
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AppConfigurationDTOSchema: z.ZodObject<{
|
|
3
|
+
isInfoMessageEnabled: z.ZodBoolean;
|
|
4
|
+
infoMessageContent: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
isInfoMessageEnabled: boolean;
|
|
7
|
+
infoMessageContent: string;
|
|
8
|
+
}, {
|
|
9
|
+
isInfoMessageEnabled: boolean;
|
|
10
|
+
infoMessageContent: string;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const UpdateAppConfigurationDTOSchema: z.ZodObject<{
|
|
13
|
+
isInfoMessageEnabled: z.ZodBoolean;
|
|
14
|
+
infoMessageContent: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
isInfoMessageEnabled: boolean;
|
|
17
|
+
infoMessageContent: string;
|
|
18
|
+
}, {
|
|
19
|
+
isInfoMessageEnabled: boolean;
|
|
20
|
+
infoMessageContent: string;
|
|
21
|
+
}>;
|
|
22
|
+
export type AppConfigurationDTO = z.infer<typeof AppConfigurationDTOSchema>;
|
|
23
|
+
export type UpdateAppConfigurationDTO = z.infer<typeof UpdateAppConfigurationDTOSchema>;
|
|
24
|
+
//# sourceMappingURL=app-configuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-configuration.d.ts","sourceRoot":"","sources":["../../../src/V1/api/app-configuration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;EAG1C,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
package/dist/V1/api/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAK5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4082,6 +4082,14 @@ const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
|
4082
4082
|
const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
|
|
4083
4083
|
const UserIdSchema = UUIDSchema.brand("UserId");
|
|
4084
4084
|
const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
|
|
4085
|
+
const AppConfigurationDTOSchema = z.object({
|
|
4086
|
+
isInfoMessageEnabled: z.boolean(),
|
|
4087
|
+
infoMessageContent: StringSchema
|
|
4088
|
+
});
|
|
4089
|
+
const UpdateAppConfigurationDTOSchema = z.object({
|
|
4090
|
+
isInfoMessageEnabled: z.boolean(),
|
|
4091
|
+
infoMessageContent: StringSchema
|
|
4092
|
+
});
|
|
4085
4093
|
const FileUploadDTOSchema = z.object({
|
|
4086
4094
|
publicUrl: URLSchema,
|
|
4087
4095
|
uploadUrl: URLSchema
|
|
@@ -4190,6 +4198,7 @@ const constraints = {
|
|
|
4190
4198
|
};
|
|
4191
4199
|
const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4192
4200
|
__proto__: null,
|
|
4201
|
+
AppConfigurationDTOSchema,
|
|
4193
4202
|
CreateEventDTOSchema,
|
|
4194
4203
|
CreateOrganizerDTOSchema,
|
|
4195
4204
|
DisplayEventDTOSchema,
|
|
@@ -4199,6 +4208,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4199
4208
|
ImportDTOSchema,
|
|
4200
4209
|
OrganizerDTOSchema,
|
|
4201
4210
|
PromoteEventDTOSchema,
|
|
4211
|
+
UpdateAppConfigurationDTOSchema,
|
|
4202
4212
|
UpdateEventDTOSchema,
|
|
4203
4213
|
UpdateOrganizerDTOSchema,
|
|
4204
4214
|
constraints
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4080,6 +4080,14 @@ const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
|
4080
4080
|
const createOrganizerId = (id = crypto.randomUUID()) => OrganizerIdSchema.parse(id);
|
|
4081
4081
|
const UserIdSchema = UUIDSchema.brand("UserId");
|
|
4082
4082
|
const createUserId = (id = crypto.randomUUID()) => UserIdSchema.parse(id);
|
|
4083
|
+
const AppConfigurationDTOSchema = z.object({
|
|
4084
|
+
isInfoMessageEnabled: z.boolean(),
|
|
4085
|
+
infoMessageContent: StringSchema
|
|
4086
|
+
});
|
|
4087
|
+
const UpdateAppConfigurationDTOSchema = z.object({
|
|
4088
|
+
isInfoMessageEnabled: z.boolean(),
|
|
4089
|
+
infoMessageContent: StringSchema
|
|
4090
|
+
});
|
|
4083
4091
|
const FileUploadDTOSchema = z.object({
|
|
4084
4092
|
publicUrl: URLSchema,
|
|
4085
4093
|
uploadUrl: URLSchema
|
|
@@ -4188,6 +4196,7 @@ const constraints = {
|
|
|
4188
4196
|
};
|
|
4189
4197
|
const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4190
4198
|
__proto__: null,
|
|
4199
|
+
AppConfigurationDTOSchema,
|
|
4191
4200
|
CreateEventDTOSchema,
|
|
4192
4201
|
CreateOrganizerDTOSchema,
|
|
4193
4202
|
DisplayEventDTOSchema,
|
|
@@ -4197,6 +4206,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4197
4206
|
ImportDTOSchema,
|
|
4198
4207
|
OrganizerDTOSchema,
|
|
4199
4208
|
PromoteEventDTOSchema,
|
|
4209
|
+
UpdateAppConfigurationDTOSchema,
|
|
4200
4210
|
UpdateEventDTOSchema,
|
|
4201
4211
|
UpdateOrganizerDTOSchema,
|
|
4202
4212
|
constraints
|