@next-degree/pickle-shared-js 0.6.45 → 0.6.47
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-DQ5joNqO.d.cts → company_service_latest-uu3w8AR6.d.cts} +305 -1907
- package/dist/{company_service_latest-DQ5joNqO.d.ts → company_service_latest-uu3w8AR6.d.ts} +305 -1907
- package/dist/components/buttons/BackButton.cjs +0 -3
- package/dist/components/buttons/BackButton.cjs.map +1 -1
- package/dist/components/buttons/BackButton.js +0 -3
- package/dist/components/buttons/BackButton.js.map +1 -1
- package/dist/components/company/CompanyTake.cjs.map +1 -1
- package/dist/components/company/CompanyTake.js.map +1 -1
- package/dist/components/jobPost/JobDescription.cjs.map +1 -1
- package/dist/components/jobPost/JobDescription.js.map +1 -1
- package/dist/components/jobPost/JobHeader.cjs +0 -3
- package/dist/components/jobPost/JobHeader.cjs.map +1 -1
- package/dist/components/jobPost/JobHeader.js +0 -3
- package/dist/components/jobPost/JobHeader.js.map +1 -1
- package/dist/components/jobPost/JobPost.cjs +6 -31
- 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 +6 -31
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/avatar.cjs.map +1 -1
- package/dist/components/primitives/avatar.js.map +1 -1
- package/dist/components/primitives/command.cjs.map +1 -1
- package/dist/components/primitives/command.d.cts +1 -1
- package/dist/components/primitives/command.d.ts +1 -1
- package/dist/components/primitives/command.js.map +1 -1
- package/dist/components/primitives/dialog.cjs.map +1 -1
- package/dist/components/primitives/dialog.js.map +1 -1
- package/dist/components/primitives/input-otp.cjs +99 -0
- package/dist/components/primitives/input-otp.cjs.map +1 -0
- package/dist/components/primitives/input-otp.d.cts +38 -0
- package/dist/components/primitives/input-otp.d.ts +38 -0
- package/dist/components/primitives/input-otp.js +62 -0
- package/dist/components/primitives/input-otp.js.map +1 -0
- package/dist/components/primitives/popover.cjs.map +1 -1
- package/dist/components/primitives/popover.js.map +1 -1
- package/dist/components/primitives/separator.cjs.map +1 -1
- package/dist/components/primitives/separator.js.map +1 -1
- package/dist/components/primitives/tooltip.cjs.map +1 -1
- package/dist/components/primitives/tooltip.js.map +1 -1
- package/dist/components/ui/Avatar.cjs.map +1 -1
- package/dist/components/ui/Avatar.js.map +1 -1
- package/dist/components/ui/Badge.cjs.map +1 -1
- package/dist/components/ui/Badge.js.map +1 -1
- package/dist/components/ui/Button.cjs.map +1 -1
- package/dist/components/ui/Button.js.map +1 -1
- package/dist/components/ui/Checkbox.cjs.map +1 -1
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/Combobox.cjs.map +1 -1
- package/dist/components/ui/Combobox.js.map +1 -1
- package/dist/components/ui/Counter.cjs.map +1 -1
- package/dist/components/ui/Counter.js.map +1 -1
- package/dist/components/ui/ErrorMessage.cjs.map +1 -1
- package/dist/components/ui/ErrorMessage.js.map +1 -1
- package/dist/components/ui/Icon.cjs.map +1 -1
- package/dist/components/ui/Icon.js.map +1 -1
- package/dist/components/ui/Input.cjs.map +1 -1
- package/dist/components/ui/Input.js.map +1 -1
- package/dist/components/ui/InputOtp.cjs +187 -0
- package/dist/components/ui/InputOtp.cjs.map +1 -0
- package/dist/components/ui/InputOtp.d.cts +14 -0
- package/dist/components/ui/InputOtp.d.ts +14 -0
- package/dist/components/ui/InputOtp.js +152 -0
- package/dist/components/ui/InputOtp.js.map +1 -0
- package/dist/components/ui/Label.cjs.map +1 -1
- package/dist/components/ui/Label.js.map +1 -1
- package/dist/components/ui/ListItem.cjs.map +1 -1
- package/dist/components/ui/ListItem.js.map +1 -1
- package/dist/components/ui/MapComponent.cjs +2 -9
- 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 +2 -9
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
- package/dist/components/ui/PlacesQueryInput.js.map +1 -1
- package/dist/components/ui/ReadMore.cjs.map +1 -1
- package/dist/components/ui/ReadMore.js.map +1 -1
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/{displayText-Dl2hcn02.d.ts → displayText-CcePAspL.d.ts} +2 -2
- package/dist/{displayText-C5jAFYZY.d.cts → displayText-D3BX6YTj.d.cts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/hooks/useWindowHistory.cjs +0 -3
- package/dist/hooks/useWindowHistory.cjs.map +1 -1
- package/dist/hooks/useWindowHistory.js +0 -3
- package/dist/hooks/useWindowHistory.js.map +1 -1
- package/dist/index.cjs +241 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +205 -154
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-D3PatPBh.d.cts → job_posting_service_latest-CWuc_SuJ.d.cts} +302 -1622
- package/dist/{job_posting_service_latest-D3PatPBh.d.ts → job_posting_service_latest-CWuc_SuJ.d.ts} +302 -1622
- 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 +4 -25
- 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 +4 -25
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/lib/utils.cjs.map +1 -1
- package/dist/lib/utils.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-DUO_efBh.d.cts → shared_pickle_output_latest-CxZJXPOS.d.cts} +8 -148
- package/dist/{shared_pickle_output_latest-DUO_efBh.d.ts → shared_pickle_output_latest-CxZJXPOS.d.ts} +8 -148
- package/dist/styles/globals.css +109 -37
- package/dist/styles/globals.css.map +1 -1
- package/dist/types/data/company_service_latest.cjs +31 -52
- 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 +29 -51
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +28 -51
- 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 +28 -51
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +4 -29
- 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 +4 -27
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +6 -4
|
@@ -26,11 +26,12 @@ __export(company_service_latest_exports, {
|
|
|
26
26
|
TitleEnum: () => TitleEnum,
|
|
27
27
|
TypeEnum: () => TypeEnum2,
|
|
28
28
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
29
|
-
|
|
29
|
+
companyCareersPageSchema: () => companyCareersPageSchema,
|
|
30
30
|
companyNdgSchema: () => companyNdgSchema,
|
|
31
31
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
32
32
|
companySchema: () => companySchema,
|
|
33
33
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
34
|
+
imageSchema: () => imageSchema,
|
|
34
35
|
industrySchema: () => industrySchema,
|
|
35
36
|
jobBoardSchema: () => jobBoardSchema,
|
|
36
37
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -43,13 +44,13 @@ var import_zod2 = require("zod");
|
|
|
43
44
|
|
|
44
45
|
// src/types/data/shared_pickle_output_latest.ts
|
|
45
46
|
var import_zod = require("zod");
|
|
46
|
-
var TypeEnum = import_zod.z.enum(["
|
|
47
|
+
var TypeEnum = import_zod.z.enum(["MONETARY_AMOUNT"]);
|
|
47
48
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
48
49
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
49
50
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
50
51
|
var postalAddressSchema = import_zod.z.object({
|
|
51
52
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
52
|
-
type: import_zod.z.string().describe("Document type used
|
|
53
|
+
type: import_zod.z.string().describe("Document type used within sanity"),
|
|
53
54
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
54
55
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
55
56
|
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."),
|
|
@@ -65,7 +66,7 @@ var placeSchema = import_zod.z.object({
|
|
|
65
66
|
});
|
|
66
67
|
var quantitativeValueSchema = import_zod.z.object({
|
|
67
68
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
68
|
-
type: import_zod.z.string().describe("Document type used
|
|
69
|
+
type: import_zod.z.string().describe("Document type used within sanity"),
|
|
69
70
|
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."),
|
|
70
71
|
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."),
|
|
71
72
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -73,34 +74,13 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
73
74
|
});
|
|
74
75
|
var monetaryAmountSchema = import_zod.z.object({
|
|
75
76
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
76
|
-
type: import_zod.z.string().describe("Document type used
|
|
77
|
+
type: import_zod.z.string().describe("Document type used within sanity"),
|
|
77
78
|
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."),
|
|
78
79
|
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"),
|
|
79
80
|
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"),
|
|
80
81
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
81
82
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
82
83
|
});
|
|
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
|
-
});
|
|
104
84
|
|
|
105
85
|
// src/types/data/company_service_latest.ts
|
|
106
86
|
var TypeEnum2 = import_zod2.z.enum(["OFFICE"]);
|
|
@@ -108,6 +88,10 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
108
88
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
109
89
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
110
90
|
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
|
+
});
|
|
111
95
|
var socialMediaSchema = import_zod2.z.object({
|
|
112
96
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
113
97
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -115,14 +99,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
115
99
|
});
|
|
116
100
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
117
101
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
118
|
-
type: import_zod2.z.string().describe("Document type used
|
|
119
|
-
|
|
102
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
103
|
+
name: import_zod2.z.string(),
|
|
120
104
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
121
105
|
category: CategoryEnum
|
|
122
106
|
});
|
|
123
107
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
124
108
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
125
|
-
type: import_zod2.z.string().describe("Document type used
|
|
109
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
126
110
|
name: import_zod2.z.string(),
|
|
127
111
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
128
112
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -130,7 +114,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
130
114
|
}));
|
|
131
115
|
var jobBoardSchema = import_zod2.z.object({
|
|
132
116
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
133
|
-
type: import_zod2.z.string().describe("Document type used
|
|
117
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
134
118
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
135
119
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
136
120
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -138,7 +122,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
138
122
|
});
|
|
139
123
|
var personSchema = import_zod2.z.object({
|
|
140
124
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
141
|
-
type: import_zod2.z.string().describe("Document type used
|
|
125
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
142
126
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
143
127
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
144
128
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -154,62 +138,56 @@ var personSchema = import_zod2.z.object({
|
|
|
154
138
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
155
139
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
156
140
|
});
|
|
157
|
-
var
|
|
141
|
+
var companyCareersPageSchema = import_zod2.z.object({
|
|
158
142
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
143
|
+
companyCareersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
144
|
+
companyJobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
145
|
+
jobBoardSlug: import_zod2.z.array(import_zod2.z.string()),
|
|
163
146
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
164
147
|
});
|
|
165
148
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
166
149
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
167
|
-
|
|
168
|
-
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
150
|
+
mission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
169
151
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
170
152
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
171
153
|
});
|
|
172
154
|
var companyNdgSchema = import_zod2.z.object({
|
|
173
155
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
174
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
175
156
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
176
157
|
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
|
|
177
159
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
178
160
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
179
161
|
});
|
|
180
162
|
var foundingInformationSchema = import_zod2.z.object({
|
|
181
163
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
164
|
+
foundedYear: import_zod2.z.optional(import_zod2.z.string()),
|
|
165
|
+
foundingCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
166
|
+
foundingCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
186
167
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
187
168
|
});
|
|
188
169
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
189
170
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
190
|
-
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
191
171
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
192
172
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
193
173
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
194
174
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
195
175
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
196
|
-
|
|
176
|
+
shouldThisDocumentBeScraped: import_zod2.z.optional(import_zod2.z.boolean())
|
|
197
177
|
});
|
|
198
178
|
var companySchema = import_zod2.z.object({
|
|
199
179
|
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"),
|
|
203
180
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
204
181
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
205
|
-
type: import_zod2.z.string().describe("Document type used
|
|
182
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
206
183
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
207
184
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
208
185
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
209
186
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
210
|
-
companyCareers: import_zod2.z.optional(
|
|
187
|
+
companyCareers: import_zod2.z.optional(companyCareersPageSchema).describe("Career Specific Information for the company."),
|
|
211
188
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
212
189
|
companyNDG: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
190
|
+
// Manually edited due to a different naming convention
|
|
213
191
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
214
192
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
215
193
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -218,7 +196,7 @@ var companySchema = import_zod2.z.object({
|
|
|
218
196
|
});
|
|
219
197
|
var officeSchema = import_zod2.z.object({
|
|
220
198
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
221
|
-
type: import_zod2.z.string().describe("Document type used
|
|
199
|
+
type: import_zod2.z.string().describe("Document type used within sanity"),
|
|
222
200
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
223
201
|
officeType: OfficeTypeEnum,
|
|
224
202
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -234,11 +212,12 @@ var officeSchema = import_zod2.z.object({
|
|
|
234
212
|
TitleEnum,
|
|
235
213
|
TypeEnum,
|
|
236
214
|
companyBenefitsSchema,
|
|
237
|
-
|
|
215
|
+
companyCareersPageSchema,
|
|
238
216
|
companyNdgSchema,
|
|
239
217
|
companyPhilosophySchema,
|
|
240
218
|
companySchema,
|
|
241
219
|
foundingInformationSchema,
|
|
220
|
+
imageSchema,
|
|
242
221
|
industrySchema,
|
|
243
222
|
jobBoardSchema,
|
|
244
223
|
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.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,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,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,aAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,gBAAgB,aAAE,OAAO,EAAE,SAAS,qDAAqD;AAAA,EACzF,eAAe,aAAE,SAAS,aAAE,OAAO,CAAC,EAAE,SAAS,mEAAmE;AAAA,EAClH,iBAAiB,aAAE,SAAS,aAAE,OAAO,CAAC,EAAE,SAAS,wGAAwG;AAAA,EACzJ,eAAe,aAAE,SAAS,aAAE,OAAO,CAAC,EAAE,SAAS,yCAAyC;AAAA,EACxF,YAAY,aAAE,SAAS,aAAE,OAAO,CAAC,EAAE,SAAS,iBAAiB;AACjE,CAAC;AAIM,IAAM,cAAc,aAAE,OAAO;AAAA,EAChC,SAAS,aAAE,QAAQ,OAAO,EAAE,QAAQ,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AO,EAAE,SAAS,+BAA+B;AAAA,EACzD,MAAM,cAAE,SAAS,WAAW,EAAE,SAAS,yBAAyB;AAAA,EAChE,gBAAgB,cAAE,SAAS,cAAE,OAAO,CAAC,EAAE,SAAS,4BAA4B;AAAA,EAC5E,aAAa,cAAE,SAAS,cAAE,MAAM,iBAAiB,CAAC,EAAE,SAAS,uCAAuC;AAAA,EACpG,YAAY,cAAE,SAAS,cAAE,OAAO,CAAC,EAAE,SAAS,gCAAgC;AAAA,EAC5E,gBAAgB,cAAE,SAAS,oBAAoB,EAAE,SAAS,8CAA8C;AAAA,EACxG,mBAAmB,cAAE,SAAS,uBAAuB,EAAE,SAAS,kEAAkE;AAAA,EAClI,YAAY,cAAE,SAAS,gBAAgB,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
|
+
{"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;AAA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AAW;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,kCAAkC;AAAA,EAC5D,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, k as CompanyCareersPageModel, u as CompanyModel, o as CompanyNdgModel, m as CompanyPhilosophyModel, F as FoundingInformationModel, I as ImageModel, f as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, w as OfficeModel, O as OfficeTypeEnum, g as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, h as companyCareersPageSchema, n as companyNdgSchema, l as companyPhilosophySchema, t as companySchema, q as foundingInformationSchema, i as imageSchema, e as industrySchema, j as jobBoardSchema, r as ngdMetadataSchema, v as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-uu3w8AR6.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, k as CompanyCareersPageModel, u as CompanyModel, o as CompanyNdgModel, m as CompanyPhilosophyModel, F as FoundingInformationModel, I as ImageModel, f as IndustryModel, J as JobBoardModel, N as NgdMetadataModel, w as OfficeModel, O as OfficeTypeEnum, g as PersonModel, P as PublishStatusEnum, S as SocialMediaModel, a as TitleEnum, T as TypeEnum, b as companyBenefitsSchema, h as companyCareersPageSchema, n as companyNdgSchema, l as companyPhilosophySchema, t as companySchema, q as foundingInformationSchema, i as imageSchema, e as industrySchema, j as jobBoardSchema, r as ngdMetadataSchema, v as officeSchema, p as personSchema, s as socialMediaSchema } from '../../company_service_latest-uu3w8AR6.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(["MONETARY_AMOUNT"]);
|
|
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 within sanity"),
|
|
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 within sanity"),
|
|
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,34 +33,13 @@ 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 within sanity"),
|
|
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
|
-
});
|
|
64
43
|
|
|
65
44
|
// src/types/data/company_service_latest.ts
|
|
66
45
|
var TypeEnum2 = z2.enum(["OFFICE"]);
|
|
@@ -68,6 +47,10 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
68
47
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
69
48
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
70
49
|
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
|
+
});
|
|
71
54
|
var socialMediaSchema = z2.object({
|
|
72
55
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
73
56
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -75,14 +58,14 @@ var socialMediaSchema = z2.object({
|
|
|
75
58
|
});
|
|
76
59
|
var companyBenefitsSchema = z2.object({
|
|
77
60
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
78
|
-
type: z2.string().describe("Document type used
|
|
79
|
-
|
|
61
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
62
|
+
name: z2.string(),
|
|
80
63
|
description: z2.optional(z2.string()),
|
|
81
64
|
category: CategoryEnum
|
|
82
65
|
});
|
|
83
66
|
var industrySchema = z2.lazy(() => z2.object({
|
|
84
67
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
85
|
-
type: z2.string().describe("Document type used
|
|
68
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
86
69
|
name: z2.string(),
|
|
87
70
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
88
71
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -90,7 +73,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
90
73
|
}));
|
|
91
74
|
var jobBoardSchema = z2.object({
|
|
92
75
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
93
|
-
type: z2.string().describe("Document type used
|
|
76
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
94
77
|
name: z2.string().describe("The name of the job board"),
|
|
95
78
|
description: z2.string().describe("A brief description of the job board"),
|
|
96
79
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -98,7 +81,7 @@ var jobBoardSchema = z2.object({
|
|
|
98
81
|
});
|
|
99
82
|
var personSchema = z2.object({
|
|
100
83
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
101
|
-
type: z2.string().describe("Document type used
|
|
84
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
102
85
|
firstName: z2.string().describe("The first name of the person"),
|
|
103
86
|
lastName: z2.string().describe("The last name of the person"),
|
|
104
87
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -114,62 +97,56 @@ var personSchema = z2.object({
|
|
|
114
97
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
115
98
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
116
99
|
});
|
|
117
|
-
var
|
|
100
|
+
var companyCareersPageSchema = z2.object({
|
|
118
101
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
102
|
+
companyCareersUrl: z2.string().describe("The URL of the company careers page"),
|
|
103
|
+
companyJobBoard: z2.optional(jobBoardSchema),
|
|
104
|
+
jobBoardSlug: z2.array(z2.string()),
|
|
123
105
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
124
106
|
});
|
|
125
107
|
var companyPhilosophySchema = z2.object({
|
|
126
108
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
127
|
-
|
|
128
|
-
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
109
|
+
mission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
129
110
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
130
111
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
131
112
|
});
|
|
132
113
|
var companyNdgSchema = z2.object({
|
|
133
114
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
134
|
-
type: z2.string().describe("Document type used for schema"),
|
|
135
115
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
136
116
|
companyNDGTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
117
|
+
// Manually edited due to a different naming convention
|
|
137
118
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
138
119
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
139
120
|
});
|
|
140
121
|
var foundingInformationSchema = z2.object({
|
|
141
122
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
foundedCity: z2.optional(z2.string()),
|
|
123
|
+
foundedYear: z2.optional(z2.string()),
|
|
124
|
+
foundingCountry: z2.optional(z2.string()),
|
|
125
|
+
foundingCity: z2.optional(z2.string()),
|
|
146
126
|
founders: z2.optional(z2.array(personSchema))
|
|
147
127
|
});
|
|
148
128
|
var ngdMetadataSchema = z2.object({
|
|
149
129
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
150
|
-
type: z2.string().describe("Document type used for schema"),
|
|
151
130
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
152
131
|
scraperVersion: z2.optional(z2.string()),
|
|
153
132
|
postProcessorVersion: z2.optional(z2.string()),
|
|
154
133
|
uniqueRunId: z2.optional(z2.string()),
|
|
155
134
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
156
|
-
|
|
135
|
+
shouldThisDocumentBeScraped: z2.optional(z2.boolean())
|
|
157
136
|
});
|
|
158
137
|
var companySchema = z2.object({
|
|
159
138
|
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"),
|
|
163
139
|
companyName: z2.string().describe("The name of the company"),
|
|
164
140
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
165
|
-
type: z2.string().describe("Document type used
|
|
141
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
166
142
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
167
143
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
168
144
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
169
145
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
170
|
-
companyCareers: z2.optional(
|
|
146
|
+
companyCareers: z2.optional(companyCareersPageSchema).describe("Career Specific Information for the company."),
|
|
171
147
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
172
148
|
companyNDG: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
149
|
+
// Manually edited due to a different naming convention
|
|
173
150
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
174
151
|
headquartersLocation: z2.optional(placeSchema),
|
|
175
152
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -178,7 +155,7 @@ var companySchema = z2.object({
|
|
|
178
155
|
});
|
|
179
156
|
var officeSchema = z2.object({
|
|
180
157
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
181
|
-
type: z2.string().describe("Document type used
|
|
158
|
+
type: z2.string().describe("Document type used within sanity"),
|
|
182
159
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
183
160
|
officeType: OfficeTypeEnum,
|
|
184
161
|
companyId: z2.optional(companySchema),
|
|
@@ -193,11 +170,12 @@ export {
|
|
|
193
170
|
TitleEnum,
|
|
194
171
|
TypeEnum2 as TypeEnum,
|
|
195
172
|
companyBenefitsSchema,
|
|
196
|
-
|
|
173
|
+
companyCareersPageSchema,
|
|
197
174
|
companyNdgSchema,
|
|
198
175
|
companyPhilosophySchema,
|
|
199
176
|
companySchema,
|
|
200
177
|
foundingInformationSchema,
|
|
178
|
+
imageSchema,
|
|
201
179
|
industrySchema,
|
|
202
180
|
jobBoardSchema,
|
|
203
181
|
ngdMetadataSchema,
|