@next-degree/pickle-shared-js 0.6.43 → 0.6.45
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/{company_service_latest-Dwf4Fkjr.d.cts → company_service_latest-DQ5joNqO.d.cts} +1845 -243
- package/dist/{company_service_latest-Dwf4Fkjr.d.ts → company_service_latest-DQ5joNqO.d.ts} +1845 -243
- package/dist/components/jobPost/JobPost.cjs +28 -6
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +28 -6
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-C1qKqRYc.d.cts → displayText-C5jAFYZY.d.cts} +2 -2
- package/dist/{displayText-D-OzRlJf.d.ts → displayText-Dl2hcn02.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +66 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +66 -34
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-D0AsiA4a.d.cts → job_posting_service_latest-D3PatPBh.d.cts} +1542 -222
- package/dist/{job_posting_service_latest-D0AsiA4a.d.ts → job_posting_service_latest-D3PatPBh.d.ts} +1542 -222
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +25 -4
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +25 -4
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-DX6GQoVn.d.cts → shared_pickle_output_latest-DUO_efBh.d.cts} +143 -3
- package/dist/{shared_pickle_output_latest-DX6GQoVn.d.ts → shared_pickle_output_latest-DUO_efBh.d.ts} +143 -3
- package/dist/types/data/company_service_latest.cjs +52 -31
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +51 -29
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +51 -28
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +51 -28
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +29 -4
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +27 -4
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +3 -3
|
@@ -26,12 +26,11 @@ __export(company_service_latest_exports, {
|
|
|
26
26
|
TitleEnum: () => TitleEnum,
|
|
27
27
|
TypeEnum: () => TypeEnum2,
|
|
28
28
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
29
|
-
|
|
29
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
30
30
|
companyNdgSchema: () => companyNdgSchema,
|
|
31
31
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
32
32
|
companySchema: () => companySchema,
|
|
33
33
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
34
|
-
imageSchema: () => imageSchema,
|
|
35
34
|
industrySchema: () => industrySchema,
|
|
36
35
|
jobBoardSchema: () => jobBoardSchema,
|
|
37
36
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -44,13 +43,13 @@ var import_zod2 = require("zod");
|
|
|
44
43
|
|
|
45
44
|
// src/types/data/shared_pickle_output_latest.ts
|
|
46
45
|
var import_zod = require("zod");
|
|
47
|
-
var TypeEnum = import_zod.z.enum(["
|
|
46
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
48
47
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
49
48
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
50
49
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
51
50
|
var postalAddressSchema = import_zod.z.object({
|
|
52
51
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
53
|
-
type: import_zod.z.string().describe("Document type used
|
|
52
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
54
53
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
55
54
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
56
55
|
addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
@@ -66,7 +65,7 @@ var placeSchema = import_zod.z.object({
|
|
|
66
65
|
});
|
|
67
66
|
var quantitativeValueSchema = import_zod.z.object({
|
|
68
67
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
69
|
-
type: import_zod.z.string().describe("Document type used
|
|
68
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
70
69
|
value: import_zod.z.optional(import_zod.z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
71
70
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
72
71
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -74,13 +73,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
74
73
|
});
|
|
75
74
|
var monetaryAmountSchema = import_zod.z.object({
|
|
76
75
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
77
|
-
type: import_zod.z.string().describe("Document type used
|
|
76
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
78
77
|
singleValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
79
78
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
80
79
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
81
80
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
82
81
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
83
82
|
});
|
|
83
|
+
var imageAssetSchema = import_zod.z.object({
|
|
84
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
85
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
86
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
87
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
88
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
89
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
90
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
91
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
92
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
93
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
94
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
95
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
96
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
97
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
98
|
+
});
|
|
99
|
+
var imageSchema = import_zod.z.object({
|
|
100
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
101
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
102
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
103
|
+
});
|
|
84
104
|
|
|
85
105
|
// src/types/data/company_service_latest.ts
|
|
86
106
|
var TypeEnum2 = import_zod2.z.enum(["OFFICE"]);
|
|
@@ -88,10 +108,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
88
108
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
89
109
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
90
110
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
91
|
-
var imageSchema = import_zod2.z.object({
|
|
92
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
93
|
-
url: import_zod2.z.string()
|
|
94
|
-
});
|
|
95
111
|
var socialMediaSchema = import_zod2.z.object({
|
|
96
112
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
97
113
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -99,14 +115,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
99
115
|
});
|
|
100
116
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
101
117
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
102
|
-
type: import_zod2.z.string().describe("Document type used
|
|
103
|
-
|
|
118
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
119
|
+
title: import_zod2.z.string(),
|
|
104
120
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
105
121
|
category: CategoryEnum
|
|
106
122
|
});
|
|
107
123
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
108
124
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
109
|
-
type: import_zod2.z.string().describe("Document type used
|
|
125
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
110
126
|
name: import_zod2.z.string(),
|
|
111
127
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
112
128
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -114,7 +130,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
114
130
|
}));
|
|
115
131
|
var jobBoardSchema = import_zod2.z.object({
|
|
116
132
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
117
|
-
type: import_zod2.z.string().describe("Document type used
|
|
133
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
118
134
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
119
135
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
120
136
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -122,7 +138,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
122
138
|
});
|
|
123
139
|
var personSchema = import_zod2.z.object({
|
|
124
140
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
125
|
-
type: import_zod2.z.string().describe("Document type used
|
|
141
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
126
142
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
127
143
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
128
144
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -138,56 +154,62 @@ var personSchema = import_zod2.z.object({
|
|
|
138
154
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
139
155
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
140
156
|
});
|
|
141
|
-
var
|
|
157
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
142
158
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
159
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
160
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
161
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
162
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
146
163
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
147
164
|
});
|
|
148
165
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
149
166
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
150
|
-
|
|
167
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
168
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
151
169
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
152
170
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
153
171
|
});
|
|
154
172
|
var companyNdgSchema = import_zod2.z.object({
|
|
155
173
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
174
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
156
175
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
157
176
|
companyNDGTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
158
|
-
// Manually edited due to a different naming convention
|
|
159
177
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
160
178
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
161
179
|
});
|
|
162
180
|
var foundingInformationSchema = import_zod2.z.object({
|
|
163
181
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
182
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
183
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
184
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
185
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
167
186
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
168
187
|
});
|
|
169
188
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
170
189
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
190
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
171
191
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
172
192
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
173
193
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
174
194
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
175
195
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
176
|
-
|
|
196
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
177
197
|
});
|
|
178
198
|
var companySchema = import_zod2.z.object({
|
|
179
199
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
200
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
201
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
202
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
180
203
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
181
204
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
182
|
-
type: import_zod2.z.string().describe("Document type used
|
|
205
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
183
206
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
184
207
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
185
208
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
186
209
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
187
|
-
companyCareers: import_zod2.z.optional(
|
|
210
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
188
211
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
189
212
|
companyNDG: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
190
|
-
// Manually edited due to a different naming convention
|
|
191
213
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
192
214
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
193
215
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -196,7 +218,7 @@ var companySchema = import_zod2.z.object({
|
|
|
196
218
|
});
|
|
197
219
|
var officeSchema = import_zod2.z.object({
|
|
198
220
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
199
|
-
type: import_zod2.z.string().describe("Document type used
|
|
221
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
200
222
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
201
223
|
officeType: OfficeTypeEnum,
|
|
202
224
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -212,12 +234,11 @@ var officeSchema = import_zod2.z.object({
|
|
|
212
234
|
TitleEnum,
|
|
213
235
|
TypeEnum,
|
|
214
236
|
companyBenefitsSchema,
|
|
215
|
-
|
|
237
|
+
companyCareersSchema,
|
|
216
238
|
companyNdgSchema,
|
|
217
239
|
companyPhilosophySchema,
|
|
218
240
|
companySchema,
|
|
219
241
|
foundingInformationSchema,
|
|
220
|
-
imageSchema,
|
|
221
242
|
industrySchema,
|
|
222
243
|
jobBoardSchema,
|
|
223
244
|
ngdMetadataSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.0\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { placeSchema } from './shared_pickle_output_latest' \n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string(),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersPageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyCareersUrl: z.string().describe(\"The URL of the company careers page\"),\n companyJobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.array(z.string()),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersPageModel = z.infer<typeof companyCareersPageSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n mission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNDGTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"), // Manually edited due to a different naming convention\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n foundedYear: z.optional(z.string()),\n foundingCountry: z.optional(z.string()),\n foundingCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n shouldThisDocumentBeScraped: z.optional(z.boolean()),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used within sanity\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersPageSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNDG: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"), // Manually edited due to a different naming convention\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.0\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['MONETARY_AMOUNT']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAAC,cAAkB;;;ACAlB,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,iBAAiB,CAAC;AAC3C,IAAM,kBAAkB,aAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,aAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,aAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,aAAE,OAAO;AAAA,EACxC,SAAS,aAAE,QAAQ,OAA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WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EAChC,WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AACpC,CAAC;","names":["TypeEnum","import_zod","TypeEnum"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.1\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { imageSchema, placeSchema } from './shared_pickle_output_latest' \n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n title: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n careersUrl: z.string().describe(\"The URL of the company careers page\"),\n jobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.optional(z.array(z.string())),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersModel = z.infer<typeof companyCareersSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyMission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNDGTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"),\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n foundedDate: z.optional(z.string()),\n foundedCountry: z.optional(z.string()),\n foundedCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n isScrapeManaged: z.optional(z.boolean()).default(true),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n id: z.string().describe(\"The NDG specific id for a company. Cannot be changed.\"),\n createdAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n updatedAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used for schema\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNDG: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"),\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.1\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['IMAGE']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n\nexport const imageAssetSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n altText: z.optional(z.string()).describe(\"The alt text for the image\"),\n assetId: z.optional(z.string()).describe(\"The asset ID for the image\"),\n description: z.optional(z.string()).describe(\"The description for the image\"),\n extension: z.optional(z.string()).describe(\"The extension for the image\"),\n label: z.optional(z.string()).describe(\"The label for the image\"),\n mimeType: z.optional(z.string()).describe(\"The mime type for the image\"),\n originalFilename: z.optional(z.string()).describe(\"The original filename for the image\"),\n path: z.optional(z.string()).describe(\"The path for the image\"),\n sha1Hash: z.optional(z.string()).describe(\"The SHA1 hash for the image\"),\n size: z.optional(z.number()).describe(\"The size for the image\"),\n title: z.optional(z.string()).describe(\"The title for the image\"),\n uploadId: z.optional(z.string()).describe(\"The upload ID for the image\"),\n url: z.optional(z.string()).describe(\"The URL for the image\"),\n});\n\nexport type ImageAssetModel = z.infer<typeof imageAssetSchema>;\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n asset: z.optional(imageAssetSchema).describe(\"The asset for the image\"),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAAC,cAAkB;;;ACAlB,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,OAAO,CAAC;AACjC,IA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AgB,EAAE,SAAS,mDAAmD;AAAA,EACrG,cAAc,cAAE,SAAS,yBAAyB;AAAA,EAClD,sBAAsB,cAAE,SAAS,WAAW;AAAA,EAC5C,kBAAkB,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EACvC,eAAe,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EACpC,aAAa,cAAE,SAAS,iBAAiB;AAC7C,CAAC;AAIM,IAAM,eAAe,cAAE,OAAO;AAAA,EACjC,SAAS,cAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,cAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,MAAM,cAAE,OAAO,EAAE,SAAS,uEAAuE;AAAA,EACjG,YAAY;AAAA,EACZ,WAAW,cAAE,SAAS,aAAa;AAAA,EACnC,aAAa,cAAE,SAAS,WAAW,EAAE,SAAS,6DAA6D;AAAA,EAC3G,WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AAAA,EAChC,WAAW,cAAE,SAAS,cAAE,OAAO,CAAC;AACpC,CAAC;","names":["TypeEnum","import_zod","TypeEnum"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { C as CategoryEnum, d as CompanyBenefitsModel,
|
|
2
|
+
export { C as CategoryEnum, d as CompanyBenefitsModel, g as CompanyCareersModel, r as CompanyModel, m as CompanyNdgModel, k as CompanyPhilosophyModel, F as FoundingInformationModel, I as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, u as OfficeModel, O as OfficeTypeEnum, e as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, f as companyCareersSchema, l as companyNdgSchema, h as companyPhilosophySchema, q as companySchema, n as foundingInformationSchema, i as industrySchema, j as jobBoardSchema, o as ngdMetadataSchema, t as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-DQ5joNqO.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'zod';
|
|
2
|
-
export { C as CategoryEnum, d as CompanyBenefitsModel,
|
|
2
|
+
export { C as CategoryEnum, d as CompanyBenefitsModel, g as CompanyCareersModel, r as CompanyModel, m as CompanyNdgModel, k as CompanyPhilosophyModel, F as FoundingInformationModel, I as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, u as OfficeModel, O as OfficeTypeEnum, e as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, f as companyCareersSchema, l as companyNdgSchema, h as companyPhilosophySchema, q as companySchema, n as foundingInformationSchema, i as industrySchema, j as jobBoardSchema, o as ngdMetadataSchema, t as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-DQ5joNqO.js';
|
|
@@ -3,13 +3,13 @@ import { z as z2 } from "zod";
|
|
|
3
3
|
|
|
4
4
|
// src/types/data/shared_pickle_output_latest.ts
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
var TypeEnum = z.enum(["
|
|
6
|
+
var TypeEnum = z.enum(["IMAGE"]);
|
|
7
7
|
var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
8
8
|
var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
9
9
|
var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
|
|
10
10
|
var postalAddressSchema = z.object({
|
|
11
11
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
12
|
-
type: z.string().describe("Document type used
|
|
12
|
+
type: z.string().describe("Document type used for schema"),
|
|
13
13
|
addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
14
14
|
addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
15
15
|
addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
@@ -25,7 +25,7 @@ var placeSchema = z.object({
|
|
|
25
25
|
});
|
|
26
26
|
var quantitativeValueSchema = z.object({
|
|
27
27
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
28
|
-
type: z.string().describe("Document type used
|
|
28
|
+
type: z.string().describe("Document type used for schema"),
|
|
29
29
|
value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
30
30
|
minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
31
31
|
maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -33,13 +33,34 @@ var quantitativeValueSchema = z.object({
|
|
|
33
33
|
});
|
|
34
34
|
var monetaryAmountSchema = z.object({
|
|
35
35
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
36
|
-
type: z.string().describe("Document type used
|
|
36
|
+
type: z.string().describe("Document type used for schema"),
|
|
37
37
|
singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
38
38
|
minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
39
39
|
maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
40
40
|
value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
41
41
|
currency: z.optional(CurrencyEnum)
|
|
42
42
|
});
|
|
43
|
+
var imageAssetSchema = z.object({
|
|
44
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
45
|
+
altText: z.optional(z.string()).describe("The alt text for the image"),
|
|
46
|
+
assetId: z.optional(z.string()).describe("The asset ID for the image"),
|
|
47
|
+
description: z.optional(z.string()).describe("The description for the image"),
|
|
48
|
+
extension: z.optional(z.string()).describe("The extension for the image"),
|
|
49
|
+
label: z.optional(z.string()).describe("The label for the image"),
|
|
50
|
+
mimeType: z.optional(z.string()).describe("The mime type for the image"),
|
|
51
|
+
originalFilename: z.optional(z.string()).describe("The original filename for the image"),
|
|
52
|
+
path: z.optional(z.string()).describe("The path for the image"),
|
|
53
|
+
sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
|
|
54
|
+
size: z.optional(z.number()).describe("The size for the image"),
|
|
55
|
+
title: z.optional(z.string()).describe("The title for the image"),
|
|
56
|
+
uploadId: z.optional(z.string()).describe("The upload ID for the image"),
|
|
57
|
+
url: z.optional(z.string()).describe("The URL for the image")
|
|
58
|
+
});
|
|
59
|
+
var imageSchema = z.object({
|
|
60
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
61
|
+
type: z.string().describe("Document type used for schema"),
|
|
62
|
+
asset: z.optional(imageAssetSchema).describe("The asset for the image")
|
|
63
|
+
});
|
|
43
64
|
|
|
44
65
|
// src/types/data/company_service_latest.ts
|
|
45
66
|
var TypeEnum2 = z2.enum(["OFFICE"]);
|
|
@@ -47,10 +68,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
47
68
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
48
69
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
49
70
|
var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
50
|
-
var imageSchema = z2.object({
|
|
51
|
-
version: z2.literal("1.0.0").default("1.0.0"),
|
|
52
|
-
url: z2.string()
|
|
53
|
-
});
|
|
54
71
|
var socialMediaSchema = z2.object({
|
|
55
72
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
56
73
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -58,14 +75,14 @@ var socialMediaSchema = z2.object({
|
|
|
58
75
|
});
|
|
59
76
|
var companyBenefitsSchema = z2.object({
|
|
60
77
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
61
|
-
type: z2.string().describe("Document type used
|
|
62
|
-
|
|
78
|
+
type: z2.string().describe("Document type used for schema"),
|
|
79
|
+
title: z2.string(),
|
|
63
80
|
description: z2.optional(z2.string()),
|
|
64
81
|
category: CategoryEnum
|
|
65
82
|
});
|
|
66
83
|
var industrySchema = z2.lazy(() => z2.object({
|
|
67
84
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
68
|
-
type: z2.string().describe("Document type used
|
|
85
|
+
type: z2.string().describe("Document type used for schema"),
|
|
69
86
|
name: z2.string(),
|
|
70
87
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
71
88
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -73,7 +90,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
73
90
|
}));
|
|
74
91
|
var jobBoardSchema = z2.object({
|
|
75
92
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
76
|
-
type: z2.string().describe("Document type used
|
|
93
|
+
type: z2.string().describe("Document type used for schema"),
|
|
77
94
|
name: z2.string().describe("The name of the job board"),
|
|
78
95
|
description: z2.string().describe("A brief description of the job board"),
|
|
79
96
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -81,7 +98,7 @@ var jobBoardSchema = z2.object({
|
|
|
81
98
|
});
|
|
82
99
|
var personSchema = z2.object({
|
|
83
100
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
84
|
-
type: z2.string().describe("Document type used
|
|
101
|
+
type: z2.string().describe("Document type used for schema"),
|
|
85
102
|
firstName: z2.string().describe("The first name of the person"),
|
|
86
103
|
lastName: z2.string().describe("The last name of the person"),
|
|
87
104
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -97,56 +114,62 @@ var personSchema = z2.object({
|
|
|
97
114
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
98
115
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
99
116
|
});
|
|
100
|
-
var
|
|
117
|
+
var companyCareersSchema = z2.object({
|
|
101
118
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
119
|
+
type: z2.string().describe("Document type used for schema"),
|
|
120
|
+
careersUrl: z2.string().describe("The URL of the company careers page"),
|
|
121
|
+
jobBoard: z2.optional(jobBoardSchema),
|
|
122
|
+
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
105
123
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
106
124
|
});
|
|
107
125
|
var companyPhilosophySchema = z2.object({
|
|
108
126
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
109
|
-
|
|
127
|
+
type: z2.string().describe("Document type used for schema"),
|
|
128
|
+
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
110
129
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
111
130
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
112
131
|
});
|
|
113
132
|
var companyNdgSchema = z2.object({
|
|
114
133
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
134
|
+
type: z2.string().describe("Document type used for schema"),
|
|
115
135
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
116
136
|
companyNDGTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
117
|
-
// Manually edited due to a different naming convention
|
|
118
137
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
119
138
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
120
139
|
});
|
|
121
140
|
var foundingInformationSchema = z2.object({
|
|
122
141
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
142
|
+
type: z2.string().describe("Document type used for schema"),
|
|
143
|
+
foundedDate: z2.optional(z2.string()),
|
|
144
|
+
foundedCountry: z2.optional(z2.string()),
|
|
145
|
+
foundedCity: z2.optional(z2.string()),
|
|
126
146
|
founders: z2.optional(z2.array(personSchema))
|
|
127
147
|
});
|
|
128
148
|
var ngdMetadataSchema = z2.object({
|
|
129
149
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
150
|
+
type: z2.string().describe("Document type used for schema"),
|
|
130
151
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
131
152
|
scraperVersion: z2.optional(z2.string()),
|
|
132
153
|
postProcessorVersion: z2.optional(z2.string()),
|
|
133
154
|
uniqueRunId: z2.optional(z2.string()),
|
|
134
155
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
135
|
-
|
|
156
|
+
isScrapeManaged: z2.optional(z2.boolean()).default(true)
|
|
136
157
|
});
|
|
137
158
|
var companySchema = z2.object({
|
|
138
159
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
160
|
+
id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
161
|
+
createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
162
|
+
updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
139
163
|
companyName: z2.string().describe("The name of the company"),
|
|
140
164
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
141
|
-
type: z2.string().describe("Document type used
|
|
165
|
+
type: z2.string().describe("Document type used for schema"),
|
|
142
166
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
143
167
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
144
168
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
145
169
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
146
|
-
companyCareers: z2.optional(
|
|
170
|
+
companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
147
171
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
148
172
|
companyNDG: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
149
|
-
// Manually edited due to a different naming convention
|
|
150
173
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
151
174
|
headquartersLocation: z2.optional(placeSchema),
|
|
152
175
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -155,7 +178,7 @@ var companySchema = z2.object({
|
|
|
155
178
|
});
|
|
156
179
|
var officeSchema = z2.object({
|
|
157
180
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
158
|
-
type: z2.string().describe("Document type used
|
|
181
|
+
type: z2.string().describe("Document type used for schema"),
|
|
159
182
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
160
183
|
officeType: OfficeTypeEnum,
|
|
161
184
|
companyId: z2.optional(companySchema),
|
|
@@ -170,12 +193,11 @@ export {
|
|
|
170
193
|
TitleEnum,
|
|
171
194
|
TypeEnum2 as TypeEnum,
|
|
172
195
|
companyBenefitsSchema,
|
|
173
|
-
|
|
196
|
+
companyCareersSchema,
|
|
174
197
|
companyNdgSchema,
|
|
175
198
|
companyPhilosophySchema,
|
|
176
199
|
companySchema,
|
|
177
200
|
foundingInformationSchema,
|
|
178
|
-
imageSchema,
|
|
179
201
|
industrySchema,
|
|
180
202
|
jobBoardSchema,
|
|
181
203
|
ngdMetadataSchema,
|