lancer-shared 1.0.136 → 1.0.138
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/dist/constants/collections.d.ts +1 -0
- package/dist/constants/collections.js +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/organization/index.d.ts +1 -0
- package/dist/schemas/organization/index.js +17 -0
- package/dist/schemas/organization/organization.d.ts +61 -0
- package/dist/schemas/organization/organization.js +17 -0
- package/package.json +1 -1
package/dist/schemas/index.d.ts
CHANGED
package/dist/schemas/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './organization';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./organization"), exports);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bidConfigSchema: z.ZodObject<{
|
|
3
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
4
|
+
bidderId: z.ZodNullable<z.ZodString>;
|
|
5
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
6
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
agencyName: string | null;
|
|
9
|
+
contractorName: string | null;
|
|
10
|
+
bidderId: string | null;
|
|
11
|
+
specialisedProfile: string | null;
|
|
12
|
+
}, {
|
|
13
|
+
agencyName: string | null;
|
|
14
|
+
contractorName: string | null;
|
|
15
|
+
bidderId: string | null;
|
|
16
|
+
specialisedProfile: string | null;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const organizationSchema: z.ZodObject<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
bidConfig: z.ZodObject<{
|
|
22
|
+
agencyName: z.ZodNullable<z.ZodString>;
|
|
23
|
+
bidderId: z.ZodNullable<z.ZodString>;
|
|
24
|
+
contractorName: z.ZodNullable<z.ZodString>;
|
|
25
|
+
specialisedProfile: z.ZodNullable<z.ZodString>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
agencyName: string | null;
|
|
28
|
+
contractorName: string | null;
|
|
29
|
+
bidderId: string | null;
|
|
30
|
+
specialisedProfile: string | null;
|
|
31
|
+
}, {
|
|
32
|
+
agencyName: string | null;
|
|
33
|
+
contractorName: string | null;
|
|
34
|
+
bidderId: string | null;
|
|
35
|
+
specialisedProfile: string | null;
|
|
36
|
+
}>;
|
|
37
|
+
createdAt: z.ZodDate;
|
|
38
|
+
updatedAt: z.ZodDate;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
updatedAt: Date;
|
|
44
|
+
bidConfig: {
|
|
45
|
+
agencyName: string | null;
|
|
46
|
+
contractorName: string | null;
|
|
47
|
+
bidderId: string | null;
|
|
48
|
+
specialisedProfile: string | null;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
updatedAt: Date;
|
|
55
|
+
bidConfig: {
|
|
56
|
+
agencyName: string | null;
|
|
57
|
+
contractorName: string | null;
|
|
58
|
+
bidderId: string | null;
|
|
59
|
+
specialisedProfile: string | null;
|
|
60
|
+
};
|
|
61
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.organizationSchema = exports.bidConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.bidConfigSchema = zod_1.z.object({
|
|
6
|
+
agencyName: zod_1.z.string().nullable(),
|
|
7
|
+
bidderId: zod_1.z.string().nullable(),
|
|
8
|
+
contractorName: zod_1.z.string().nullable(),
|
|
9
|
+
specialisedProfile: zod_1.z.string().nullable(),
|
|
10
|
+
});
|
|
11
|
+
exports.organizationSchema = zod_1.z.object({
|
|
12
|
+
id: zod_1.z.string(),
|
|
13
|
+
name: zod_1.z.string(),
|
|
14
|
+
bidConfig: exports.bidConfigSchema,
|
|
15
|
+
createdAt: zod_1.z.date(),
|
|
16
|
+
updatedAt: zod_1.z.date(),
|
|
17
|
+
});
|