@next-degree/pickle-shared-js 0.6.43 → 0.6.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{company_service_latest-Dwf4Fkjr.d.cts → company_service_latest-DQ5joNqO.d.cts} +1845 -243
- package/dist/{company_service_latest-Dwf4Fkjr.d.ts → company_service_latest-DQ5joNqO.d.ts} +1845 -243
- package/dist/components/jobPost/JobPost.cjs +28 -6
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +28 -6
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-C1qKqRYc.d.cts → displayText-C5jAFYZY.d.cts} +2 -2
- package/dist/{displayText-D-OzRlJf.d.ts → displayText-Dl2hcn02.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +66 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +66 -34
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-D0AsiA4a.d.cts → job_posting_service_latest-D3PatPBh.d.cts} +1542 -222
- package/dist/{job_posting_service_latest-D0AsiA4a.d.ts → job_posting_service_latest-D3PatPBh.d.ts} +1542 -222
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +25 -4
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +25 -4
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-DX6GQoVn.d.cts → shared_pickle_output_latest-DUO_efBh.d.cts} +143 -3
- package/dist/{shared_pickle_output_latest-DX6GQoVn.d.ts → shared_pickle_output_latest-DUO_efBh.d.ts} +143 -3
- package/dist/types/data/company_service_latest.cjs +52 -31
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +51 -29
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +51 -28
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +51 -28
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +29 -4
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +27 -4
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -554,17 +554,24 @@ var Input_default = Input;
|
|
|
554
554
|
// src/components/ui/MapComponent.tsx
|
|
555
555
|
var import_react_google_maps = require("@vis.gl/react-google-maps");
|
|
556
556
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
557
|
-
function MapComponent({
|
|
557
|
+
function MapComponent({
|
|
558
|
+
apiKey,
|
|
559
|
+
mapId,
|
|
560
|
+
position,
|
|
561
|
+
className,
|
|
562
|
+
zoom = 15
|
|
563
|
+
}) {
|
|
558
564
|
const defaultPosition = { lat: 40.715021, lng: -74.00459 };
|
|
559
565
|
const defaultZoom = 11;
|
|
560
566
|
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)(
|
|
561
567
|
import_react_google_maps.Map,
|
|
562
568
|
{
|
|
563
|
-
|
|
569
|
+
defaultZoom: position ? zoom : defaultZoom,
|
|
564
570
|
center: position || defaultPosition,
|
|
565
571
|
mapId,
|
|
566
572
|
keyboardShortcuts: false,
|
|
567
573
|
disableDefaultUI: true,
|
|
574
|
+
zoomControl: true,
|
|
568
575
|
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" }) })
|
|
569
576
|
}
|
|
570
577
|
) }) });
|
|
@@ -1907,19 +1914,21 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1907
1914
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1908
1915
|
TypeEnum: () => TypeEnum,
|
|
1909
1916
|
UnitTextEnum: () => UnitTextEnum,
|
|
1917
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
1918
|
+
imageSchema: () => imageSchema,
|
|
1910
1919
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1911
1920
|
placeSchema: () => placeSchema,
|
|
1912
1921
|
postalAddressSchema: () => postalAddressSchema,
|
|
1913
1922
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1914
1923
|
});
|
|
1915
1924
|
var import_zod = require("zod");
|
|
1916
|
-
var TypeEnum = import_zod.z.enum(["
|
|
1925
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
1917
1926
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
1918
1927
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
1919
1928
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
1920
1929
|
var postalAddressSchema = import_zod.z.object({
|
|
1921
1930
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1922
|
-
type: import_zod.z.string().describe("Document type used
|
|
1931
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1923
1932
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1924
1933
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1925
1934
|
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."),
|
|
@@ -1935,7 +1944,7 @@ var placeSchema = import_zod.z.object({
|
|
|
1935
1944
|
});
|
|
1936
1945
|
var quantitativeValueSchema = import_zod.z.object({
|
|
1937
1946
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1938
|
-
type: import_zod.z.string().describe("Document type used
|
|
1947
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1939
1948
|
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."),
|
|
1940
1949
|
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."),
|
|
1941
1950
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -1943,13 +1952,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
1943
1952
|
});
|
|
1944
1953
|
var monetaryAmountSchema = import_zod.z.object({
|
|
1945
1954
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1946
|
-
type: import_zod.z.string().describe("Document type used
|
|
1955
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1947
1956
|
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."),
|
|
1948
1957
|
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"),
|
|
1949
1958
|
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"),
|
|
1950
1959
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
1951
1960
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
1952
1961
|
});
|
|
1962
|
+
var imageAssetSchema = import_zod.z.object({
|
|
1963
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1964
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
1965
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
1966
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
1967
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
1968
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
1969
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
1970
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
1971
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
1972
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
1973
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
1974
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
1975
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
1976
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
1977
|
+
});
|
|
1978
|
+
var imageSchema = import_zod.z.object({
|
|
1979
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1980
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1981
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
1982
|
+
});
|
|
1953
1983
|
|
|
1954
1984
|
// src/lib/salaryRange.ts
|
|
1955
1985
|
function salaryRange(salary) {
|
|
@@ -2519,6 +2549,7 @@ function JobPost({
|
|
|
2519
2549
|
title: job.title,
|
|
2520
2550
|
bannerSrc,
|
|
2521
2551
|
avatarName: job.hiringOrganization?.companyName,
|
|
2552
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2522
2553
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2523
2554
|
actions,
|
|
2524
2555
|
standalone,
|
|
@@ -2540,7 +2571,7 @@ function JobPost({
|
|
|
2540
2571
|
{
|
|
2541
2572
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2542
2573
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2543
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2574
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2544
2575
|
wow: job.hiringOrganization?.companyNDG?.companyWow,
|
|
2545
2576
|
website: job.hiringOrganization?.companyWebsite
|
|
2546
2577
|
}
|
|
@@ -2548,7 +2579,7 @@ function JobPost({
|
|
|
2548
2579
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2549
2580
|
CompanyBenefits,
|
|
2550
2581
|
{
|
|
2551
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2582
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2552
2583
|
}
|
|
2553
2584
|
)
|
|
2554
2585
|
] })
|
|
@@ -2584,12 +2615,11 @@ __export(company_service_latest_exports, {
|
|
|
2584
2615
|
TitleEnum: () => TitleEnum,
|
|
2585
2616
|
TypeEnum: () => TypeEnum2,
|
|
2586
2617
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2587
|
-
|
|
2618
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2588
2619
|
companyNdgSchema: () => companyNdgSchema,
|
|
2589
2620
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2590
2621
|
companySchema: () => companySchema,
|
|
2591
2622
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2592
|
-
imageSchema: () => imageSchema,
|
|
2593
2623
|
industrySchema: () => industrySchema,
|
|
2594
2624
|
jobBoardSchema: () => jobBoardSchema,
|
|
2595
2625
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2603,10 +2633,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
2603
2633
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2604
2634
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2605
2635
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
2606
|
-
var imageSchema = import_zod2.z.object({
|
|
2607
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2608
|
-
url: import_zod2.z.string()
|
|
2609
|
-
});
|
|
2610
2636
|
var socialMediaSchema = import_zod2.z.object({
|
|
2611
2637
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2612
2638
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -2614,14 +2640,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
2614
2640
|
});
|
|
2615
2641
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
2616
2642
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2617
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2618
|
-
|
|
2643
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2644
|
+
title: import_zod2.z.string(),
|
|
2619
2645
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
2620
2646
|
category: CategoryEnum
|
|
2621
2647
|
});
|
|
2622
2648
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
2623
2649
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2624
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2650
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2625
2651
|
name: import_zod2.z.string(),
|
|
2626
2652
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
2627
2653
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -2629,7 +2655,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
2629
2655
|
}));
|
|
2630
2656
|
var jobBoardSchema = import_zod2.z.object({
|
|
2631
2657
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2632
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2658
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2633
2659
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
2634
2660
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
2635
2661
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2637,7 +2663,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
2637
2663
|
});
|
|
2638
2664
|
var personSchema = import_zod2.z.object({
|
|
2639
2665
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2640
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2666
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2641
2667
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
2642
2668
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
2643
2669
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -2653,56 +2679,62 @@ var personSchema = import_zod2.z.object({
|
|
|
2653
2679
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
2654
2680
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
2655
2681
|
});
|
|
2656
|
-
var
|
|
2682
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
2657
2683
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2684
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2685
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
2686
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
2687
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2661
2688
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2662
2689
|
});
|
|
2663
2690
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
2664
2691
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2665
|
-
|
|
2692
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2693
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
2666
2694
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
2667
2695
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
2668
2696
|
});
|
|
2669
2697
|
var companyNdgSchema = import_zod2.z.object({
|
|
2670
2698
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2699
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2671
2700
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
2672
2701
|
companyNDGTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
2673
|
-
// Manually edited due to a different naming convention
|
|
2674
2702
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2675
2703
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
2676
2704
|
});
|
|
2677
2705
|
var foundingInformationSchema = import_zod2.z.object({
|
|
2678
2706
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2707
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2708
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
2709
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
2710
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
2682
2711
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
2683
2712
|
});
|
|
2684
2713
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
2685
2714
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2715
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2686
2716
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2687
2717
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2688
2718
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2689
2719
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2690
2720
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2691
|
-
|
|
2721
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
2692
2722
|
});
|
|
2693
2723
|
var companySchema = import_zod2.z.object({
|
|
2694
2724
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2725
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2726
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2727
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2695
2728
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
2696
2729
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
2697
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2730
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2698
2731
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
2699
2732
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
2700
2733
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2701
2734
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
2702
|
-
companyCareers: import_zod2.z.optional(
|
|
2735
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2703
2736
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2704
2737
|
companyNDG: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2705
|
-
// Manually edited due to a different naming convention
|
|
2706
2738
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
2707
2739
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
2708
2740
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -2711,7 +2743,7 @@ var companySchema = import_zod2.z.object({
|
|
|
2711
2743
|
});
|
|
2712
2744
|
var officeSchema = import_zod2.z.object({
|
|
2713
2745
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2714
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2746
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2715
2747
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2716
2748
|
officeType: OfficeTypeEnum,
|
|
2717
2749
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -2735,7 +2767,7 @@ var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY",
|
|
|
2735
2767
|
var jobPostSchema = import_zod3.z.object({
|
|
2736
2768
|
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
2737
2769
|
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."),
|
|
2738
|
-
type: import_zod3.z.string().describe("Document type used
|
|
2770
|
+
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
2739
2771
|
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2740
2772
|
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2741
2773
|
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|