@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.d.cts
CHANGED
|
@@ -26,9 +26,9 @@ export { BackButton } from './components/buttons/BackButton.cjs';
|
|
|
26
26
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.cjs';
|
|
27
27
|
export { useDisplayText } from './hooks/useDisplayText.cjs';
|
|
28
28
|
export { useWindowHistory } from './hooks/useWindowHistory.cjs';
|
|
29
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
30
|
-
export { c as CompanyService } from './company_service_latest-
|
|
31
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
29
|
+
export { j as JobPostService } from './job_posting_service_latest-Uc2AcDWn.cjs';
|
|
30
|
+
export { c as CompanyService } from './company_service_latest-DQ5joNqO.cjs';
|
|
31
|
+
export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.cjs';
|
|
32
32
|
import 'react';
|
|
33
33
|
import 'cva/types';
|
|
34
34
|
import 'react/jsx-runtime';
|
|
@@ -39,5 +39,5 @@ import '@googlemaps/google-maps-services-js';
|
|
|
39
39
|
import 'next/link';
|
|
40
40
|
import 'clsx';
|
|
41
41
|
import './lib/icons.cjs';
|
|
42
|
-
import './displayText-
|
|
42
|
+
import './displayText-BvUjsvAx.cjs';
|
|
43
43
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -26,9 +26,9 @@ export { BackButton } from './components/buttons/BackButton.js';
|
|
|
26
26
|
export { WindowHistoryProvider } from './contexts/WindowHistoryProvider.js';
|
|
27
27
|
export { useDisplayText } from './hooks/useDisplayText.js';
|
|
28
28
|
export { useWindowHistory } from './hooks/useWindowHistory.js';
|
|
29
|
-
export { j as JobPostService } from './job_posting_service_latest-
|
|
30
|
-
export { c as CompanyService } from './company_service_latest-
|
|
31
|
-
export { s as SharedService } from './shared_pickle_output_latest-
|
|
29
|
+
export { j as JobPostService } from './job_posting_service_latest-Uc2AcDWn.js';
|
|
30
|
+
export { c as CompanyService } from './company_service_latest-DQ5joNqO.js';
|
|
31
|
+
export { s as SharedService } from './shared_pickle_output_latest-DUO_efBh.js';
|
|
32
32
|
import 'react';
|
|
33
33
|
import 'cva/types';
|
|
34
34
|
import 'react/jsx-runtime';
|
|
@@ -39,5 +39,5 @@ import '@googlemaps/google-maps-services-js';
|
|
|
39
39
|
import 'next/link';
|
|
40
40
|
import 'clsx';
|
|
41
41
|
import './lib/icons.js';
|
|
42
|
-
import './displayText-
|
|
42
|
+
import './displayText-CDK-QDbc.js';
|
|
43
43
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -1875,19 +1875,21 @@ __export(shared_pickle_output_latest_exports, {
|
|
|
1875
1875
|
DetailLevelEnum: () => DetailLevelEnum,
|
|
1876
1876
|
TypeEnum: () => TypeEnum,
|
|
1877
1877
|
UnitTextEnum: () => UnitTextEnum,
|
|
1878
|
+
imageAssetSchema: () => imageAssetSchema,
|
|
1879
|
+
imageSchema: () => imageSchema,
|
|
1878
1880
|
monetaryAmountSchema: () => monetaryAmountSchema,
|
|
1879
1881
|
placeSchema: () => placeSchema,
|
|
1880
1882
|
postalAddressSchema: () => postalAddressSchema,
|
|
1881
1883
|
quantitativeValueSchema: () => quantitativeValueSchema
|
|
1882
1884
|
});
|
|
1883
1885
|
import { z } from "zod";
|
|
1884
|
-
var TypeEnum = z.enum(["
|
|
1886
|
+
var TypeEnum = z.enum(["IMAGE"]);
|
|
1885
1887
|
var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
1886
1888
|
var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
1887
1889
|
var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
|
|
1888
1890
|
var postalAddressSchema = z.object({
|
|
1889
1891
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1890
|
-
type: z.string().describe("Document type used
|
|
1892
|
+
type: z.string().describe("Document type used for schema"),
|
|
1891
1893
|
addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
1892
1894
|
addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
1893
1895
|
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."),
|
|
@@ -1903,7 +1905,7 @@ var placeSchema = z.object({
|
|
|
1903
1905
|
});
|
|
1904
1906
|
var quantitativeValueSchema = z.object({
|
|
1905
1907
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1906
|
-
type: z.string().describe("Document type used
|
|
1908
|
+
type: z.string().describe("Document type used for schema"),
|
|
1907
1909
|
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."),
|
|
1908
1910
|
minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
1909
1911
|
maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -1911,13 +1913,34 @@ var quantitativeValueSchema = z.object({
|
|
|
1911
1913
|
});
|
|
1912
1914
|
var monetaryAmountSchema = z.object({
|
|
1913
1915
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
1914
|
-
type: z.string().describe("Document type used
|
|
1916
|
+
type: z.string().describe("Document type used for schema"),
|
|
1915
1917
|
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."),
|
|
1916
1918
|
minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
1917
1919
|
maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
1918
1920
|
value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
1919
1921
|
currency: z.optional(CurrencyEnum)
|
|
1920
1922
|
});
|
|
1923
|
+
var imageAssetSchema = z.object({
|
|
1924
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
1925
|
+
altText: z.optional(z.string()).describe("The alt text for the image"),
|
|
1926
|
+
assetId: z.optional(z.string()).describe("The asset ID for the image"),
|
|
1927
|
+
description: z.optional(z.string()).describe("The description for the image"),
|
|
1928
|
+
extension: z.optional(z.string()).describe("The extension for the image"),
|
|
1929
|
+
label: z.optional(z.string()).describe("The label for the image"),
|
|
1930
|
+
mimeType: z.optional(z.string()).describe("The mime type for the image"),
|
|
1931
|
+
originalFilename: z.optional(z.string()).describe("The original filename for the image"),
|
|
1932
|
+
path: z.optional(z.string()).describe("The path for the image"),
|
|
1933
|
+
sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
|
|
1934
|
+
size: z.optional(z.number()).describe("The size for the image"),
|
|
1935
|
+
title: z.optional(z.string()).describe("The title for the image"),
|
|
1936
|
+
uploadId: z.optional(z.string()).describe("The upload ID for the image"),
|
|
1937
|
+
url: z.optional(z.string()).describe("The URL for the image")
|
|
1938
|
+
});
|
|
1939
|
+
var imageSchema = z.object({
|
|
1940
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
1941
|
+
type: z.string().describe("Document type used for schema"),
|
|
1942
|
+
asset: z.optional(imageAssetSchema).describe("The asset for the image")
|
|
1943
|
+
});
|
|
1921
1944
|
|
|
1922
1945
|
// src/lib/salaryRange.ts
|
|
1923
1946
|
function salaryRange(salary) {
|
|
@@ -2487,6 +2510,7 @@ function JobPost({
|
|
|
2487
2510
|
title: job.title,
|
|
2488
2511
|
bannerSrc,
|
|
2489
2512
|
avatarName: job.hiringOrganization?.companyName,
|
|
2513
|
+
avatarSrc: job.hiringOrganization?.logo?.asset?.url,
|
|
2490
2514
|
subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
|
|
2491
2515
|
actions,
|
|
2492
2516
|
standalone,
|
|
@@ -2508,7 +2532,7 @@ function JobPost({
|
|
|
2508
2532
|
{
|
|
2509
2533
|
name: job.hiringOrganization?.companyName ?? "",
|
|
2510
2534
|
how: job.hiringOrganization?.companyPhilosophy?.companyHow,
|
|
2511
|
-
mission: job.hiringOrganization?.companyPhilosophy?.
|
|
2535
|
+
mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
|
|
2512
2536
|
wow: job.hiringOrganization?.companyNDG?.companyWow,
|
|
2513
2537
|
website: job.hiringOrganization?.companyWebsite
|
|
2514
2538
|
}
|
|
@@ -2516,7 +2540,7 @@ function JobPost({
|
|
|
2516
2540
|
/* @__PURE__ */ jsx31(
|
|
2517
2541
|
CompanyBenefits,
|
|
2518
2542
|
{
|
|
2519
|
-
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.
|
|
2543
|
+
benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
|
|
2520
2544
|
}
|
|
2521
2545
|
)
|
|
2522
2546
|
] })
|
|
@@ -2552,12 +2576,11 @@ __export(company_service_latest_exports, {
|
|
|
2552
2576
|
TitleEnum: () => TitleEnum,
|
|
2553
2577
|
TypeEnum: () => TypeEnum2,
|
|
2554
2578
|
companyBenefitsSchema: () => companyBenefitsSchema,
|
|
2555
|
-
|
|
2579
|
+
companyCareersSchema: () => companyCareersSchema,
|
|
2556
2580
|
companyNdgSchema: () => companyNdgSchema,
|
|
2557
2581
|
companyPhilosophySchema: () => companyPhilosophySchema,
|
|
2558
2582
|
companySchema: () => companySchema,
|
|
2559
2583
|
foundingInformationSchema: () => foundingInformationSchema,
|
|
2560
|
-
imageSchema: () => imageSchema,
|
|
2561
2584
|
industrySchema: () => industrySchema,
|
|
2562
2585
|
jobBoardSchema: () => jobBoardSchema,
|
|
2563
2586
|
ngdMetadataSchema: () => ngdMetadataSchema,
|
|
@@ -2571,10 +2594,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
2571
2594
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
2572
2595
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
2573
2596
|
var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
2574
|
-
var imageSchema = z2.object({
|
|
2575
|
-
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2576
|
-
url: z2.string()
|
|
2577
|
-
});
|
|
2578
2597
|
var socialMediaSchema = z2.object({
|
|
2579
2598
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2580
2599
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -2582,14 +2601,14 @@ var socialMediaSchema = z2.object({
|
|
|
2582
2601
|
});
|
|
2583
2602
|
var companyBenefitsSchema = z2.object({
|
|
2584
2603
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2585
|
-
type: z2.string().describe("Document type used
|
|
2586
|
-
|
|
2604
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2605
|
+
title: z2.string(),
|
|
2587
2606
|
description: z2.optional(z2.string()),
|
|
2588
2607
|
category: CategoryEnum
|
|
2589
2608
|
});
|
|
2590
2609
|
var industrySchema = z2.lazy(() => z2.object({
|
|
2591
2610
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2592
|
-
type: z2.string().describe("Document type used
|
|
2611
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2593
2612
|
name: z2.string(),
|
|
2594
2613
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
2595
2614
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -2597,7 +2616,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
2597
2616
|
}));
|
|
2598
2617
|
var jobBoardSchema = z2.object({
|
|
2599
2618
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2600
|
-
type: z2.string().describe("Document type used
|
|
2619
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2601
2620
|
name: z2.string().describe("The name of the job board"),
|
|
2602
2621
|
description: z2.string().describe("A brief description of the job board"),
|
|
2603
2622
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -2605,7 +2624,7 @@ var jobBoardSchema = z2.object({
|
|
|
2605
2624
|
});
|
|
2606
2625
|
var personSchema = z2.object({
|
|
2607
2626
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2608
|
-
type: z2.string().describe("Document type used
|
|
2627
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2609
2628
|
firstName: z2.string().describe("The first name of the person"),
|
|
2610
2629
|
lastName: z2.string().describe("The last name of the person"),
|
|
2611
2630
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -2621,56 +2640,62 @@ var personSchema = z2.object({
|
|
|
2621
2640
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
2622
2641
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
2623
2642
|
});
|
|
2624
|
-
var
|
|
2643
|
+
var companyCareersSchema = z2.object({
|
|
2625
2644
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2645
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2646
|
+
careersUrl: z2.string().describe("The URL of the company careers page"),
|
|
2647
|
+
jobBoard: z2.optional(jobBoardSchema),
|
|
2648
|
+
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
2629
2649
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
2630
2650
|
});
|
|
2631
2651
|
var companyPhilosophySchema = z2.object({
|
|
2632
2652
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2633
|
-
|
|
2653
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2654
|
+
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
2634
2655
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
2635
2656
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
2636
2657
|
});
|
|
2637
2658
|
var companyNdgSchema = z2.object({
|
|
2638
2659
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2660
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2639
2661
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
2640
2662
|
companyNDGTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
2641
|
-
// Manually edited due to a different naming convention
|
|
2642
2663
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
2643
2664
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
2644
2665
|
});
|
|
2645
2666
|
var foundingInformationSchema = z2.object({
|
|
2646
2667
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2668
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2669
|
+
foundedDate: z2.optional(z2.string()),
|
|
2670
|
+
foundedCountry: z2.optional(z2.string()),
|
|
2671
|
+
foundedCity: z2.optional(z2.string()),
|
|
2650
2672
|
founders: z2.optional(z2.array(personSchema))
|
|
2651
2673
|
});
|
|
2652
2674
|
var ngdMetadataSchema = z2.object({
|
|
2653
2675
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2676
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2654
2677
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
2655
2678
|
scraperVersion: z2.optional(z2.string()),
|
|
2656
2679
|
postProcessorVersion: z2.optional(z2.string()),
|
|
2657
2680
|
uniqueRunId: z2.optional(z2.string()),
|
|
2658
2681
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
2659
|
-
|
|
2682
|
+
isScrapeManaged: z2.optional(z2.boolean()).default(true)
|
|
2660
2683
|
});
|
|
2661
2684
|
var companySchema = z2.object({
|
|
2662
2685
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2686
|
+
id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
2687
|
+
createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2688
|
+
updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2663
2689
|
companyName: z2.string().describe("The name of the company"),
|
|
2664
2690
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
2665
|
-
type: z2.string().describe("Document type used
|
|
2691
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2666
2692
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
2667
2693
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
2668
2694
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
2669
2695
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
2670
|
-
companyCareers: z2.optional(
|
|
2696
|
+
companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
2671
2697
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
2672
2698
|
companyNDG: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
2673
|
-
// Manually edited due to a different naming convention
|
|
2674
2699
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
2675
2700
|
headquartersLocation: z2.optional(placeSchema),
|
|
2676
2701
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -2679,7 +2704,7 @@ var companySchema = z2.object({
|
|
|
2679
2704
|
});
|
|
2680
2705
|
var officeSchema = z2.object({
|
|
2681
2706
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
2682
|
-
type: z2.string().describe("Document type used
|
|
2707
|
+
type: z2.string().describe("Document type used for schema"),
|
|
2683
2708
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
2684
2709
|
officeType: OfficeTypeEnum,
|
|
2685
2710
|
companyId: z2.optional(companySchema),
|
|
@@ -2703,7 +2728,7 @@ var ClinicalSpecialtyEnum = z3.enum(["ANESTHESIOLOGY", "CARDIOLOGY", "CASE_MANAG
|
|
|
2703
2728
|
var jobPostSchema = z3.object({
|
|
2704
2729
|
version: z3.literal("1.0.0").default("1.0.0"),
|
|
2705
2730
|
id: z3.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."),
|
|
2706
|
-
type: z3.string().describe("Document type used
|
|
2731
|
+
type: z3.string().describe("Document type used for schema"),
|
|
2707
2732
|
createdAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2708
2733
|
updatedAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
2709
2734
|
dateAdded: z3.optional(z3.string().datetime()).describe("The date the job was added to the platform"),
|