@next-degree/pickle-shared-js 0.6.43 → 0.6.44
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/{displayText-C1qKqRYc.d.cts → displayText-BvUjsvAx.d.cts} +2 -2
- package/dist/{displayText-D-OzRlJf.d.ts → displayText-CDK-QDbc.d.ts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +57 -32
- 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 +57 -32
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-D0AsiA4a.d.cts → job_posting_service_latest-Uc2AcDWn.d.cts} +1543 -223
- package/dist/{job_posting_service_latest-D0AsiA4a.d.ts → job_posting_service_latest-Uc2AcDWn.d.ts} +1543 -223
- 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
|
@@ -1907,19 +1907,21 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1907
1907
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1908
1908
|
TypeEnum: () => TypeEnum,
|
|
1909
1909
|
UnitTextEnum: () => UnitTextEnum,
|
|
1910
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
1911
|
+
imageSchema: () => imageSchema,
|
|
1910
1912
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1911
1913
|
placeSchema: () => placeSchema,
|
|
1912
1914
|
postalAddressSchema: () => postalAddressSchema,
|
|
1913
1915
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1914
1916
|
});
|
|
1915
1917
|
var import_zod = require("zod");
|
|
1916
|
-
var TypeEnum = import_zod.z.enum(["
|
|
1918
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
1917
1919
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
1918
1920
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
1919
1921
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
1920
1922
|
var postalAddressSchema = import_zod.z.object({
|
|
1921
1923
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1922
|
-
type: import_zod.z.string().describe("Document type used
|
|
1924
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1923
1925
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1924
1926
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1925
1927
|
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 +1937,7 @@ var placeSchema = import_zod.z.object({
|
|
|
1935
1937
|
});
|
|
1936
1938
|
var quantitativeValueSchema = import_zod.z.object({
|
|
1937
1939
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1938
|
-
type: import_zod.z.string().describe("Document type used
|
|
1940
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1939
1941
|
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
1942
|
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
1943
|
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 +1945,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
1943
1945
|
});
|
|
1944
1946
|
var monetaryAmountSchema = import_zod.z.object({
|
|
1945
1947
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1946
|
-
type: import_zod.z.string().describe("Document type used
|
|
1948
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1947
1949
|
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
1950
|
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
1951
|
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
1952
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
1951
1953
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
1952
1954
|
});
|
|
1955
|
+
var imageAssetSchema = import_zod.z.object({
|
|
1956
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1957
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
1958
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
1959
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
1960
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
1961
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
1962
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
1963
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
1964
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
1965
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
1966
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
1967
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
1968
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
1969
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
1970
|
+
});
|
|
1971
|
+
var imageSchema = import_zod.z.object({
|
|
1972
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
1973
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
1974
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
1975
|
+
});
|
|
1953
1976
|
|
|
1954
1977
|
// src/lib/salaryRange.ts
|
|
1955
1978
|
function salaryRange(salary) {
|
|
@@ -2519,6 +2542,7 @@ function JobPost({
|
|
|
2519
2542
|
title: job.title,
|
|
2520
2543
|
bannerSrc,
|
|
2521
2544
|
avatarName: job.hiringOrganization?.companyName,
|
|
2545
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2522
2546
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2523
2547
|
actions,
|
|
2524
2548
|
standalone,
|
|
@@ -2540,7 +2564,7 @@ function JobPost({
|
|
|
2540
2564
|
{
|
|
2541
2565
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2542
2566
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2543
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2567
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2544
2568
|
wow: job.hiringOrganization?.companyNDG?.companyWow,
|
|
2545
2569
|
website: job.hiringOrganization?.companyWebsite
|
|
2546
2570
|
}
|
|
@@ -2548,7 +2572,7 @@ function JobPost({
|
|
|
2548
2572
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
2549
2573
|
CompanyBenefits,
|
|
2550
2574
|
{
|
|
2551
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2575
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2552
2576
|
}
|
|
2553
2577
|
)
|
|
2554
2578
|
] })
|
|
@@ -2584,12 +2608,11 @@ __export(company_service_latest_exports, {
|
|
|
2584
2608
|
TitleEnum: () => TitleEnum,
|
|
2585
2609
|
TypeEnum: () => TypeEnum2,
|
|
2586
2610
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2587
|
-
|
|
2611
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2588
2612
|
companyNdgSchema: () => companyNdgSchema,
|
|
2589
2613
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2590
2614
|
companySchema: () => companySchema,
|
|
2591
2615
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2592
|
-
imageSchema: () => imageSchema,
|
|
2593
2616
|
industrySchema: () => industrySchema,
|
|
2594
2617
|
jobBoardSchema: () => jobBoardSchema,
|
|
2595
2618
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2603,10 +2626,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
2603
2626
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2604
2627
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2605
2628
|
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
2629
|
var socialMediaSchema = import_zod2.z.object({
|
|
2611
2630
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2612
2631
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -2614,14 +2633,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
2614
2633
|
});
|
|
2615
2634
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
2616
2635
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2617
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2618
|
-
|
|
2636
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2637
|
+
title: import_zod2.z.string(),
|
|
2619
2638
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
2620
2639
|
category: CategoryEnum
|
|
2621
2640
|
});
|
|
2622
2641
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
2623
2642
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2624
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2643
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2625
2644
|
name: import_zod2.z.string(),
|
|
2626
2645
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
2627
2646
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -2629,7 +2648,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
2629
2648
|
}));
|
|
2630
2649
|
var jobBoardSchema = import_zod2.z.object({
|
|
2631
2650
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2632
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2651
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2633
2652
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
2634
2653
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
2635
2654
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2637,7 +2656,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
2637
2656
|
});
|
|
2638
2657
|
var personSchema = import_zod2.z.object({
|
|
2639
2658
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2640
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2659
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2641
2660
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
2642
2661
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
2643
2662
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -2653,56 +2672,62 @@ var personSchema = import_zod2.z.object({
|
|
|
2653
2672
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
2654
2673
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
2655
2674
|
});
|
|
2656
|
-
var
|
|
2675
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
2657
2676
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2677
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2678
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
2679
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
2680
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2661
2681
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2662
2682
|
});
|
|
2663
2683
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
2664
2684
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2665
|
-
|
|
2685
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2686
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
2666
2687
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
2667
2688
|
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
2689
|
});
|
|
2669
2690
|
var companyNdgSchema = import_zod2.z.object({
|
|
2670
2691
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2692
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2671
2693
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
2672
2694
|
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
2695
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
2675
2696
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
2676
2697
|
});
|
|
2677
2698
|
var foundingInformationSchema = import_zod2.z.object({
|
|
2678
2699
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2700
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2701
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
2702
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
2703
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
2682
2704
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
2683
2705
|
});
|
|
2684
2706
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
2685
2707
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2708
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2686
2709
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2687
2710
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2688
2711
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
2689
2712
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2690
2713
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
2691
|
-
|
|
2714
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
2692
2715
|
});
|
|
2693
2716
|
var companySchema = import_zod2.z.object({
|
|
2694
2717
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2718
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2719
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2720
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2695
2721
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
2696
2722
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
2697
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2723
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2698
2724
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
2699
2725
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
2700
2726
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2701
2727
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
2702
|
-
companyCareers: import_zod2.z.optional(
|
|
2728
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2703
2729
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2704
2730
|
companyNDG: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2705
|
-
// Manually edited due to a different naming convention
|
|
2706
2731
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
2707
2732
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
2708
2733
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -2711,7 +2736,7 @@ var companySchema = import_zod2.z.object({
|
|
|
2711
2736
|
});
|
|
2712
2737
|
var officeSchema = import_zod2.z.object({
|
|
2713
2738
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
2714
|
-
type: import_zod2.z.string().describe("Document type used
|
|
2739
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
2715
2740
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2716
2741
|
officeType: OfficeTypeEnum,
|
|
2717
2742
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -2735,7 +2760,7 @@ var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY",
|
|
|
2735
2760
|
var jobPostSchema = import_zod3.z.object({
|
|
2736
2761
|
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
2737
2762
|
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
|
|
2763
|
+
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
2739
2764
|
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2740
2765
|
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2741
2766
|
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|