@next-degree/pickle-shared-js 0.6.47 → 0.6.50
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-uu3w8AR6.d.cts → company_service_latest-B7KhyYDc.d.cts} +2056 -328
- package/dist/{company_service_latest-uu3w8AR6.d.ts → company_service_latest-B7KhyYDc.d.ts} +2056 -328
- package/dist/components/jobPost/JobDescription.cjs +13 -4
- package/dist/components/jobPost/JobDescription.cjs.map +1 -1
- package/dist/components/jobPost/JobDescription.js +13 -4
- package/dist/components/jobPost/JobDescription.js.map +1 -1
- package/dist/components/jobPost/JobPost.cjs +47 -14
- 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 +47 -14
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/primitives/command.d.cts +1 -1
- package/dist/components/primitives/command.d.ts +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/components/ui/ReadMore.cjs +13 -4
- package/dist/components/ui/ReadMore.cjs.map +1 -1
- package/dist/components/ui/ReadMore.js +13 -4
- package/dist/components/ui/ReadMore.js.map +1 -1
- package/dist/components/ui/Select.cjs +5 -11
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.js +5 -11
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/components/ui/StepTabs.cjs +92 -0
- package/dist/components/ui/StepTabs.cjs.map +1 -0
- package/dist/components/ui/StepTabs.d.cts +13 -0
- package/dist/components/ui/StepTabs.d.ts +13 -0
- package/dist/components/ui/StepTabs.js +58 -0
- package/dist/components/ui/StepTabs.js.map +1 -0
- package/dist/{displayText-D3BX6YTj.d.cts → displayText-BCQw5Qq-.d.cts} +2 -2
- package/dist/{displayText-CcePAspL.d.ts → displayText-Bqmpx1Va.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +92 -55
- 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 +92 -55
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.cts → job_posting_service_latest-C2z66hFK.d.cts} +1787 -329
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.ts → job_posting_service_latest-C2z66hFK.d.ts} +1787 -329
- 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 +29 -6
- 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 +29 -6
- 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-CxZJXPOS.d.cts → shared_pickle_output_latest-_L9GxVle.d.cts} +164 -8
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.ts → shared_pickle_output_latest-_L9GxVle.d.ts} +164 -8
- package/dist/styles/globals.css +96 -6
- package/dist/styles/globals.css.map +1 -1
- package/dist/types/data/company_service_latest.cjs +58 -35
- 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 +57 -33
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +57 -32
- 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 +57 -32
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +33 -6
- 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 +31 -6
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +5 -1
package/dist/index.cjs
CHANGED
|
@@ -194,18 +194,12 @@ var Select = (0, import_react.forwardRef)(
|
|
|
194
194
|
}, [value]);
|
|
195
195
|
const toggleOpen = () => setOpen((prev) => !prev);
|
|
196
196
|
const closeOnEscape = (event) => event.key === "Escape" && setOpen(false);
|
|
197
|
+
const handleOnOpenChange = (isOpen) => (!multiselect || isOpen) && setOpen(isOpen);
|
|
197
198
|
const setValueOnEnter = (event, value2) => event.key === "Enter" && handleChange(value2);
|
|
199
|
+
const getLabel = () => selected.map((o) => options?.find((option) => option.value === o)?.title).join(", ");
|
|
198
200
|
const chipLabels = selected?.map((s) => options?.find(({ value: value2 }) => value2 === s)).filter(Boolean);
|
|
199
|
-
function handleLabels() {
|
|
200
|
-
if (multiselect) {
|
|
201
|
-
return selected.map((o) => options?.find((option) => option.value === o)?.title).join(", ");
|
|
202
|
-
}
|
|
203
|
-
return options?.find((option) => option.value === selected.join())?.title;
|
|
204
|
-
}
|
|
205
|
-
function handleOnOpenChange(isOpen) {
|
|
206
|
-
if (!multiselect || isOpen) setOpen(isOpen);
|
|
207
|
-
}
|
|
208
201
|
function handleChange(newValue) {
|
|
202
|
+
if (newValue === "" && !multiselect) return;
|
|
209
203
|
let newSelected = [];
|
|
210
204
|
setSelected((prev) => {
|
|
211
205
|
newSelected = prev.includes(newValue) ? prev.filter((item) => item !== newValue) : [...prev, newValue];
|
|
@@ -254,8 +248,8 @@ var Select = (0, import_react.forwardRef)(
|
|
|
254
248
|
SelectPrimitive.Value,
|
|
255
249
|
{
|
|
256
250
|
placeholder: placeholder ?? "Select an option",
|
|
257
|
-
"aria-label":
|
|
258
|
-
children:
|
|
251
|
+
"aria-label": getLabel(),
|
|
252
|
+
children: getLabel()
|
|
259
253
|
}
|
|
260
254
|
) }),
|
|
261
255
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -555,17 +549,24 @@ var Input_default = Input;
|
|
|
555
549
|
// src/components/ui/MapComponent.tsx
|
|
556
550
|
var import_react_google_maps = require("@vis.gl/react-google-maps");
|
|
557
551
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
558
|
-
function MapComponent({
|
|
552
|
+
function MapComponent({
|
|
553
|
+
apiKey,
|
|
554
|
+
mapId,
|
|
555
|
+
position,
|
|
556
|
+
className,
|
|
557
|
+
zoom = 15
|
|
558
|
+
}) {
|
|
559
559
|
const defaultPosition = { lat: 40.715021, lng: -74.00459 };
|
|
560
560
|
const defaultZoom = 11;
|
|
561
561
|
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.APIProvider, { apiKey, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
562
562
|
import_react_google_maps.Map,
|
|
563
563
|
{
|
|
564
|
-
|
|
564
|
+
defaultZoom: position ? zoom : defaultZoom,
|
|
565
565
|
center: position || defaultPosition,
|
|
566
566
|
mapId,
|
|
567
567
|
keyboardShortcuts: false,
|
|
568
568
|
disableDefaultUI: true,
|
|
569
|
+
zoomControl: true,
|
|
569
570
|
children: position && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.AdvancedMarker, { position, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react_google_maps.Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
|
|
570
571
|
}
|
|
571
572
|
) }) });
|
|
@@ -1653,10 +1654,19 @@ function ReadMore({ text, ...props }) {
|
|
|
1653
1654
|
const snippet = createReadMoreText(text, maxWords, isExpanded);
|
|
1654
1655
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { ...props, children: [
|
|
1655
1656
|
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { "data-testid": "read-more-text", className: "prose lg:prose-lg", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_markdown.default, { children: snippet }) }),
|
|
1656
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1657
|
+
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
1658
|
+
Button,
|
|
1659
|
+
{
|
|
1660
|
+
type: "button",
|
|
1661
|
+
className: "mt-2 flex items-center justify-center",
|
|
1662
|
+
variant: "link",
|
|
1663
|
+
onClick: toggleText,
|
|
1664
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("p", { className: "text-sm font-bold underline underline-offset-2", children: [
|
|
1665
|
+
"Read ",
|
|
1666
|
+
isExpanded ? "less" : "more"
|
|
1667
|
+
] })
|
|
1668
|
+
}
|
|
1669
|
+
)
|
|
1660
1670
|
] });
|
|
1661
1671
|
}
|
|
1662
1672
|
|
|
@@ -1990,24 +2000,28 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1990
2000
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1991
2001
|
TypeEnum: () => TypeEnum,
|
|
1992
2002
|
UnitTextEnum: () => UnitTextEnum,
|
|
2003
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
2004
|
+
imageSchema: () => imageSchema,
|
|
1993
2005
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1994
2006
|
placeSchema: () => placeSchema,
|
|
1995
2007
|
postalAddressSchema: () => postalAddressSchema,
|
|
1996
2008
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1997
2009
|
});
|
|
1998
2010
|
var import_zod = require("zod");
|
|
1999
|
-
var TypeEnum = import_zod.z.enum(["
|
|
2011
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
2000
2012
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
2001
2013
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
2002
2014
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
2003
2015
|
var postalAddressSchema = import_zod.z.object({
|
|
2004
2016
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2005
|
-
type: import_zod.z.string().describe("Document type used
|
|
2017
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2006
2018
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
2007
2019
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
2008
2020
|
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."),
|
|
2009
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street address within the locality."),
|
|
2010
|
-
|
|
2021
|
+
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
2022
|
+
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
2023
|
+
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
2024
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
2011
2025
|
});
|
|
2012
2026
|
var placeSchema = import_zod.z.object({
|
|
2013
2027
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
@@ -2018,7 +2032,7 @@ var placeSchema = import_zod.z.object({
|
|
|
2018
2032
|
});
|
|
2019
2033
|
var quantitativeValueSchema = import_zod.z.object({
|
|
2020
2034
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2021
|
-
type: import_zod.z.string().describe("Document type used
|
|
2035
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2022
2036
|
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."),
|
|
2023
2037
|
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."),
|
|
2024
2038
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -2026,13 +2040,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
2026
2040
|
});
|
|
2027
2041
|
var monetaryAmountSchema = import_zod.z.object({
|
|
2028
2042
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2029
|
-
type: import_zod.z.string().describe("Document type used
|
|
2043
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2030
2044
|
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."),
|
|
2031
2045
|
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"),
|
|
2032
2046
|
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"),
|
|
2033
2047
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
2034
2048
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
2035
2049
|
});
|
|
2050
|
+
var imageAssetSchema = import_zod.z.object({
|
|
2051
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2052
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
2053
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
2054
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
2055
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
2056
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
2057
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
2058
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
2059
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
2060
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
2061
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
2062
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
2063
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
2064
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
2065
|
+
});
|
|
2066
|
+
var imageSchema = import_zod.z.object({
|
|
2067
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
2068
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
2069
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
2070
|
+
});
|
|
2036
2071
|
|
|
2037
2072
|
// src/lib/salaryRange.ts
|
|
2038
2073
|
function salaryRange(salary) {
|
|
@@ -2602,6 +2637,7 @@ function JobPost({
|
|
|
2602
2637
|
title: job.title,
|
|
2603
2638
|
bannerSrc,
|
|
2604
2639
|
avatarName: job.hiringOrganization?.companyName,
|
|
2640
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2605
2641
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2606
2642
|
actions,
|
|
2607
2643
|
standalone,
|
|
@@ -2615,7 +2651,7 @@ function JobPost({
|
|
|
2615
2651
|
CompanyTake,
|
|
2616
2652
|
{
|
|
2617
2653
|
avatarSrc,
|
|
2618
|
-
content: job.hiringOrganization?.
|
|
2654
|
+
content: job.hiringOrganization?.companyNdg?.companyNdgTake
|
|
2619
2655
|
}
|
|
2620
2656
|
),
|
|
2621
2657
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
@@ -2623,15 +2659,15 @@ function JobPost({
|
|
|
2623
2659
|
{
|
|
2624
2660
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2625
2661
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2626
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2627
|
-
wow: job.hiringOrganization?.
|
|
2662
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2663
|
+
wow: job.hiringOrganization?.companyNdg?.companyWow,
|
|
2628
2664
|
website: job.hiringOrganization?.companyWebsite
|
|
2629
2665
|
}
|
|
2630
2666
|
),
|
|
2631
2667
|
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
2632
2668
|
CompanyBenefits,
|
|
2633
2669
|
{
|
|
2634
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2670
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2635
2671
|
}
|
|
2636
2672
|
)
|
|
2637
2673
|
] })
|
|
@@ -2667,12 +2703,11 @@ __export(company_service_latest_exports, {
|
|
|
2667
2703
|
TitleEnum: () => TitleEnum,
|
|
2668
2704
|
TypeEnum: () => TypeEnum2,
|
|
2669
2705
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2670
|
-
|
|
2706
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2671
2707
|
companyNdgSchema: () => companyNdgSchema,
|
|
2672
2708
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2673
2709
|
companySchema: () => companySchema,
|
|
2674
2710
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2675
|
-
imageSchema: () => imageSchema,
|
|
2676
2711
|
industrySchema: () => industrySchema,
|
|
2677
2712
|
jobBoardSchema: () => jobBoardSchema,
|
|
2678
2713
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2686,10 +2721,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
2686
2721
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2687
2722
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2688
2723
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
2689
|
-
var imageSchema = import_zod2.z.object({
|
|
2690
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2691
|
-
url: import_zod2.z.string()
|
|
2692
|
-
});
|
|
2693
2724
|
var socialMediaSchema = import_zod2.z.object({
|
|
2694
2725
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2695
2726
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -2697,14 +2728,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
2697
2728
|
});
|
|
2698
2729
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
2699
2730
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2700
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2701
|
-
|
|
2731
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2732
|
+
title: import_zod2.z.string(),
|
|
2702
2733
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
2703
2734
|
category: CategoryEnum
|
|
2704
2735
|
});
|
|
2705
2736
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
2706
2737
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2707
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2738
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2708
2739
|
name: import_zod2.z.string(),
|
|
2709
2740
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
2710
2741
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -2712,7 +2743,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
2712
2743
|
}));
|
|
2713
2744
|
var jobBoardSchema = import_zod2.z.object({
|
|
2714
2745
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2715
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2746
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2716
2747
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
2717
2748
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
2718
2749
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2720,7 +2751,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
2720
2751
|
});
|
|
2721
2752
|
var personSchema = import_zod2.z.object({
|
|
2722
2753
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2723
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2754
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2724
2755
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
2725
2756
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
2726
2757
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -2736,56 +2767,62 @@ var personSchema = import_zod2.z.object({
|
|
|
2736
2767
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
2737
2768
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
2738
2769
|
});
|
|
2739
|
-
var
|
|
2770
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
2740
2771
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2772
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2773
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
2774
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
2775
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2744
2776
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2745
2777
|
});
|
|
2746
2778
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
2747
2779
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2748
|
-
|
|
2780
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2781
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
2749
2782
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
2750
2783
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
2751
2784
|
});
|
|
2752
2785
|
var companyNdgSchema = import_zod2.z.object({
|
|
2753
2786
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2787
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2754
2788
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
2755
|
-
|
|
2756
|
-
// Manually edited due to a different naming convention
|
|
2789
|
+
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
2757
2790
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2758
2791
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
2759
2792
|
});
|
|
2760
2793
|
var foundingInformationSchema = import_zod2.z.object({
|
|
2761
2794
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2795
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2796
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
2797
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
2798
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
2765
2799
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
2766
2800
|
});
|
|
2767
2801
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
2768
2802
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2803
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2769
2804
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2770
2805
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2771
2806
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2772
2807
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2773
2808
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2774
|
-
|
|
2809
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
2775
2810
|
});
|
|
2776
2811
|
var companySchema = import_zod2.z.object({
|
|
2777
2812
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2813
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2814
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2815
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2778
2816
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
2779
2817
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
2780
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2818
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2781
2819
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
2782
2820
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
2783
2821
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2784
2822
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
2785
|
-
companyCareers: import_zod2.z.optional(
|
|
2823
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2786
2824
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2787
|
-
|
|
2788
|
-
// Manually edited due to a different naming convention
|
|
2825
|
+
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2789
2826
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
2790
2827
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
2791
2828
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -2794,7 +2831,7 @@ var companySchema = import_zod2.z.object({
|
|
|
2794
2831
|
});
|
|
2795
2832
|
var officeSchema = import_zod2.z.object({
|
|
2796
2833
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2797
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2834
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2798
2835
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2799
2836
|
officeType: OfficeTypeEnum,
|
|
2800
2837
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -2818,7 +2855,7 @@ var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY",
|
|
|
2818
2855
|
var jobPostSchema = import_zod3.z.object({
|
|
2819
2856
|
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
2820
2857
|
id: import_zod3.z.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
|
|
2821
|
-
type: import_zod3.z.string().describe("Document type used
|
|
2858
|
+
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
2822
2859
|
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2823
2860
|
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2824
2861
|
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|