@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.
Files changed (59) hide show
  1. package/dist/{company_service_latest-Dwf4Fkjr.d.cts → company_service_latest-DQ5joNqO.d.cts} +1845 -243
  2. package/dist/{company_service_latest-Dwf4Fkjr.d.ts → company_service_latest-DQ5joNqO.d.ts} +1845 -243
  3. package/dist/components/jobPost/JobPost.cjs +28 -6
  4. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  5. package/dist/components/jobPost/JobPost.d.cts +1 -1
  6. package/dist/components/jobPost/JobPost.d.ts +1 -1
  7. package/dist/components/jobPost/JobPost.js +28 -6
  8. package/dist/components/jobPost/JobPost.js.map +1 -1
  9. package/dist/components/ui/MapComponent.cjs +9 -2
  10. package/dist/components/ui/MapComponent.cjs.map +1 -1
  11. package/dist/components/ui/MapComponent.d.cts +1 -1
  12. package/dist/components/ui/MapComponent.d.ts +1 -1
  13. package/dist/components/ui/MapComponent.js +9 -2
  14. package/dist/components/ui/MapComponent.js.map +1 -1
  15. package/dist/{displayText-C1qKqRYc.d.cts → displayText-C5jAFYZY.d.cts} +2 -2
  16. package/dist/{displayText-D-OzRlJf.d.ts → displayText-Dl2hcn02.d.ts} +2 -2
  17. package/dist/hooks/useDisplayText.d.cts +3 -3
  18. package/dist/hooks/useDisplayText.d.ts +3 -3
  19. package/dist/index.cjs +66 -34
  20. package/dist/index.cjs.map +1 -1
  21. package/dist/index.d.cts +4 -4
  22. package/dist/index.d.ts +4 -4
  23. package/dist/index.js +66 -34
  24. package/dist/index.js.map +1 -1
  25. package/dist/{job_posting_service_latest-D0AsiA4a.d.cts → job_posting_service_latest-D3PatPBh.d.cts} +1542 -222
  26. package/dist/{job_posting_service_latest-D0AsiA4a.d.ts → job_posting_service_latest-D3PatPBh.d.ts} +1542 -222
  27. package/dist/lib/locations.d.cts +2 -2
  28. package/dist/lib/locations.d.ts +2 -2
  29. package/dist/lib/mappings.d.cts +3 -3
  30. package/dist/lib/mappings.d.ts +3 -3
  31. package/dist/lib/salaryRange.cjs +25 -4
  32. package/dist/lib/salaryRange.cjs.map +1 -1
  33. package/dist/lib/salaryRange.d.cts +1 -1
  34. package/dist/lib/salaryRange.d.ts +1 -1
  35. package/dist/lib/salaryRange.js +25 -4
  36. package/dist/lib/salaryRange.js.map +1 -1
  37. package/dist/services/displayText.d.cts +3 -3
  38. package/dist/services/displayText.d.ts +3 -3
  39. package/dist/{shared_pickle_output_latest-DX6GQoVn.d.cts → shared_pickle_output_latest-DUO_efBh.d.cts} +143 -3
  40. package/dist/{shared_pickle_output_latest-DX6GQoVn.d.ts → shared_pickle_output_latest-DUO_efBh.d.ts} +143 -3
  41. package/dist/types/data/company_service_latest.cjs +52 -31
  42. package/dist/types/data/company_service_latest.cjs.map +1 -1
  43. package/dist/types/data/company_service_latest.d.cts +1 -1
  44. package/dist/types/data/company_service_latest.d.ts +1 -1
  45. package/dist/types/data/company_service_latest.js +51 -29
  46. package/dist/types/data/company_service_latest.js.map +1 -1
  47. package/dist/types/data/job_posting_service_latest.cjs +51 -28
  48. package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
  49. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  50. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  51. package/dist/types/data/job_posting_service_latest.js +51 -28
  52. package/dist/types/data/job_posting_service_latest.js.map +1 -1
  53. package/dist/types/data/shared_pickle_output_latest.cjs +29 -4
  54. package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
  55. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  56. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  57. package/dist/types/data/shared_pickle_output_latest.js +27 -4
  58. package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
  59. 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-D0AsiA4a.cjs';
30
- export { c as CompanyService } from './company_service_latest-Dwf4Fkjr.cjs';
31
- export { s as SharedService } from './shared_pickle_output_latest-DX6GQoVn.cjs';
29
+ export { j as JobPostService } from './job_posting_service_latest-D3PatPBh.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-C1qKqRYc.cjs';
42
+ import './displayText-C5jAFYZY.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-D0AsiA4a.js';
30
- export { c as CompanyService } from './company_service_latest-Dwf4Fkjr.js';
31
- export { s as SharedService } from './shared_pickle_output_latest-DX6GQoVn.js';
29
+ export { j as JobPostService } from './job_posting_service_latest-D3PatPBh.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-D-OzRlJf.js';
42
+ import './displayText-Dl2hcn02.js';
43
43
  import 'zod';
package/dist/index.js CHANGED
@@ -501,17 +501,24 @@ var Input_default = Input;
501
501
  // src/components/ui/MapComponent.tsx
502
502
  import { APIProvider, Map, AdvancedMarker, Pin } from "@vis.gl/react-google-maps";
503
503
  import { jsx as jsx10 } from "react/jsx-runtime";
504
- function MapComponent({ apiKey, mapId, position, className, zoom = 15 }) {
504
+ function MapComponent({
505
+ apiKey,
506
+ mapId,
507
+ position,
508
+ className,
509
+ zoom = 15
510
+ }) {
505
511
  const defaultPosition = { lat: 40.715021, lng: -74.00459 };
506
512
  const defaultZoom = 11;
507
513
  return /* @__PURE__ */ jsx10(APIProvider, { apiKey, children: /* @__PURE__ */ jsx10("div", { className: cn("h-screen max-w-full", className), children: /* @__PURE__ */ jsx10(
508
514
  Map,
509
515
  {
510
- zoom: position ? zoom : defaultZoom,
516
+ defaultZoom: position ? zoom : defaultZoom,
511
517
  center: position || defaultPosition,
512
518
  mapId,
513
519
  keyboardShortcuts: false,
514
520
  disableDefaultUI: true,
521
+ zoomControl: true,
515
522
  children: position && /* @__PURE__ */ jsx10(AdvancedMarker, { position, children: /* @__PURE__ */ jsx10(Pin, { background: "#0B5441", borderColor: "#EBFDF1", glyphColor: "#D4F500" }) })
516
523
  }
517
524
  ) }) });
@@ -1875,19 +1882,21 @@ __export(shared_pickle_output_latest_exports, {
1875
1882
  DetailLevelEnum: () => DetailLevelEnum,
1876
1883
  TypeEnum: () => TypeEnum,
1877
1884
  UnitTextEnum: () => UnitTextEnum,
1885
+ imageAssetSchema: () => imageAssetSchema,
1886
+ imageSchema: () => imageSchema,
1878
1887
  monetaryAmountSchema: () => monetaryAmountSchema,
1879
1888
  placeSchema: () => placeSchema,
1880
1889
  postalAddressSchema: () => postalAddressSchema,
1881
1890
  quantitativeValueSchema: () => quantitativeValueSchema
1882
1891
  });
1883
1892
  import { z } from "zod";
1884
- var TypeEnum = z.enum(["MONETARY_AMOUNT"]);
1893
+ var TypeEnum = z.enum(["IMAGE"]);
1885
1894
  var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
1886
1895
  var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
1887
1896
  var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
1888
1897
  var postalAddressSchema = z.object({
1889
1898
  version: z.literal("1.0.0").default("1.0.0"),
1890
- type: z.string().describe("Document type used within sanity"),
1899
+ type: z.string().describe("Document type used for schema"),
1891
1900
  addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
1892
1901
  addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
1893
1902
  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 +1912,7 @@ var placeSchema = z.object({
1903
1912
  });
1904
1913
  var quantitativeValueSchema = z.object({
1905
1914
  version: z.literal("1.0.0").default("1.0.0"),
1906
- type: z.string().describe("Document type used within sanity"),
1915
+ type: z.string().describe("Document type used for schema"),
1907
1916
  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
1917
  minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
1909
1918
  maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
@@ -1911,13 +1920,34 @@ var quantitativeValueSchema = z.object({
1911
1920
  });
1912
1921
  var monetaryAmountSchema = z.object({
1913
1922
  version: z.literal("1.0.0").default("1.0.0"),
1914
- type: z.string().describe("Document type used within sanity"),
1923
+ type: z.string().describe("Document type used for schema"),
1915
1924
  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
1925
  minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
1917
1926
  maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
1918
1927
  value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
1919
1928
  currency: z.optional(CurrencyEnum)
1920
1929
  });
1930
+ var imageAssetSchema = z.object({
1931
+ version: z.literal("1.0.0").default("1.0.0"),
1932
+ altText: z.optional(z.string()).describe("The alt text for the image"),
1933
+ assetId: z.optional(z.string()).describe("The asset ID for the image"),
1934
+ description: z.optional(z.string()).describe("The description for the image"),
1935
+ extension: z.optional(z.string()).describe("The extension for the image"),
1936
+ label: z.optional(z.string()).describe("The label for the image"),
1937
+ mimeType: z.optional(z.string()).describe("The mime type for the image"),
1938
+ originalFilename: z.optional(z.string()).describe("The original filename for the image"),
1939
+ path: z.optional(z.string()).describe("The path for the image"),
1940
+ sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
1941
+ size: z.optional(z.number()).describe("The size for the image"),
1942
+ title: z.optional(z.string()).describe("The title for the image"),
1943
+ uploadId: z.optional(z.string()).describe("The upload ID for the image"),
1944
+ url: z.optional(z.string()).describe("The URL for the image")
1945
+ });
1946
+ var imageSchema = z.object({
1947
+ version: z.literal("1.0.0").default("1.0.0"),
1948
+ type: z.string().describe("Document type used for schema"),
1949
+ asset: z.optional(imageAssetSchema).describe("The asset for the image")
1950
+ });
1921
1951
 
1922
1952
  // src/lib/salaryRange.ts
1923
1953
  function salaryRange(salary) {
@@ -2487,6 +2517,7 @@ function JobPost({
2487
2517
  title: job.title,
2488
2518
  bannerSrc,
2489
2519
  avatarName: job.hiringOrganization?.companyName,
2520
+ avatarSrc: job.hiringOrganization?.logo?.asset?.url,
2490
2521
  subtitles: [job.hiringOrganization?.companyName ?? "", `Posted ${formattedDate}`],
2491
2522
  actions,
2492
2523
  standalone,
@@ -2508,7 +2539,7 @@ function JobPost({
2508
2539
  {
2509
2540
  name: job.hiringOrganization?.companyName ?? "",
2510
2541
  how: job.hiringOrganization?.companyPhilosophy?.companyHow,
2511
- mission: job.hiringOrganization?.companyPhilosophy?.mission,
2542
+ mission: job.hiringOrganization?.companyPhilosophy?.companyMission,
2512
2543
  wow: job.hiringOrganization?.companyNDG?.companyWow,
2513
2544
  website: job.hiringOrganization?.companyWebsite
2514
2545
  }
@@ -2516,7 +2547,7 @@ function JobPost({
2516
2547
  /* @__PURE__ */ jsx31(
2517
2548
  CompanyBenefits,
2518
2549
  {
2519
- benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.description).filter((d) => d !== void 0)
2550
+ benefits: job.hiringOrganization?.companyCareers?.companyBenefits?.map((b) => b.title).filter((d) => d !== void 0)
2520
2551
  }
2521
2552
  )
2522
2553
  ] })
@@ -2552,12 +2583,11 @@ __export(company_service_latest_exports, {
2552
2583
  TitleEnum: () => TitleEnum,
2553
2584
  TypeEnum: () => TypeEnum2,
2554
2585
  companyBenefitsSchema: () => companyBenefitsSchema,
2555
- companyCareersPageSchema: () => companyCareersPageSchema,
2586
+ companyCareersSchema: () => companyCareersSchema,
2556
2587
  companyNdgSchema: () => companyNdgSchema,
2557
2588
  companyPhilosophySchema: () => companyPhilosophySchema,
2558
2589
  companySchema: () => companySchema,
2559
2590
  foundingInformationSchema: () => foundingInformationSchema,
2560
- imageSchema: () => imageSchema,
2561
2591
  industrySchema: () => industrySchema,
2562
2592
  jobBoardSchema: () => jobBoardSchema,
2563
2593
  ngdMetadataSchema: () => ngdMetadataSchema,
@@ -2571,10 +2601,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
2571
2601
  var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
2572
2602
  var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
2573
2603
  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
2604
  var socialMediaSchema = z2.object({
2579
2605
  version: z2.literal("1.0.0").default("1.0.0"),
2580
2606
  url: z2.string().describe("The link to the social media platform"),
@@ -2582,14 +2608,14 @@ var socialMediaSchema = z2.object({
2582
2608
  });
2583
2609
  var companyBenefitsSchema = z2.object({
2584
2610
  version: z2.literal("1.0.0").default("1.0.0"),
2585
- type: z2.string().describe("Document type used within sanity"),
2586
- name: z2.string(),
2611
+ type: z2.string().describe("Document type used for schema"),
2612
+ title: z2.string(),
2587
2613
  description: z2.optional(z2.string()),
2588
2614
  category: CategoryEnum
2589
2615
  });
2590
2616
  var industrySchema = z2.lazy(() => z2.object({
2591
2617
  version: z2.literal("1.0.0").default("1.0.0"),
2592
- type: z2.string().describe("Document type used within sanity"),
2618
+ type: z2.string().describe("Document type used for schema"),
2593
2619
  name: z2.string(),
2594
2620
  description: z2.optional(z2.string()).describe("A brief description of the industry"),
2595
2621
  onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
@@ -2597,7 +2623,7 @@ var industrySchema = z2.lazy(() => z2.object({
2597
2623
  }));
2598
2624
  var jobBoardSchema = z2.object({
2599
2625
  version: z2.literal("1.0.0").default("1.0.0"),
2600
- type: z2.string().describe("Document type used within sanity"),
2626
+ type: z2.string().describe("Document type used for schema"),
2601
2627
  name: z2.string().describe("The name of the job board"),
2602
2628
  description: z2.string().describe("A brief description of the job board"),
2603
2629
  logo: z2.optional(imageSchema).describe("The logo of the job board"),
@@ -2605,7 +2631,7 @@ var jobBoardSchema = z2.object({
2605
2631
  });
2606
2632
  var personSchema = z2.object({
2607
2633
  version: z2.literal("1.0.0").default("1.0.0"),
2608
- type: z2.string().describe("Document type used within sanity"),
2634
+ type: z2.string().describe("Document type used for schema"),
2609
2635
  firstName: z2.string().describe("The first name of the person"),
2610
2636
  lastName: z2.string().describe("The last name of the person"),
2611
2637
  title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
@@ -2621,56 +2647,62 @@ var personSchema = z2.object({
2621
2647
  url: z2.optional(z2.string()).describe("The URL of the person"),
2622
2648
  address: z2.optional(placeSchema).describe("The address of the person")
2623
2649
  });
2624
- var companyCareersPageSchema = z2.object({
2650
+ var companyCareersSchema = z2.object({
2625
2651
  version: z2.literal("1.0.0").default("1.0.0"),
2626
- companyCareersUrl: z2.string().describe("The URL of the company careers page"),
2627
- companyJobBoard: z2.optional(jobBoardSchema),
2628
- jobBoardSlug: z2.array(z2.string()),
2652
+ type: z2.string().describe("Document type used for schema"),
2653
+ careersUrl: z2.string().describe("The URL of the company careers page"),
2654
+ jobBoard: z2.optional(jobBoardSchema),
2655
+ jobBoardSlug: z2.optional(z2.array(z2.string())),
2629
2656
  companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
2630
2657
  });
2631
2658
  var companyPhilosophySchema = z2.object({
2632
2659
  version: z2.literal("1.0.0").default("1.0.0"),
2633
- mission: z2.optional(z2.string()).describe("The mission statement of the company."),
2660
+ type: z2.string().describe("Document type used for schema"),
2661
+ companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
2634
2662
  companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
2635
2663
  companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
2636
2664
  });
2637
2665
  var companyNdgSchema = z2.object({
2638
2666
  version: z2.literal("1.0.0").default("1.0.0"),
2667
+ type: z2.string().describe("Document type used for schema"),
2639
2668
  companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
2640
2669
  companyNDGTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
2641
- // Manually edited due to a different naming convention
2642
2670
  companyBestFit: z2.optional(z2.array(z2.string())),
2643
2671
  companyInterests: z2.optional(z2.array(z2.string()))
2644
2672
  });
2645
2673
  var foundingInformationSchema = z2.object({
2646
2674
  version: z2.literal("1.0.0").default("1.0.0"),
2647
- foundedYear: z2.optional(z2.string()),
2648
- foundingCountry: z2.optional(z2.string()),
2649
- foundingCity: z2.optional(z2.string()),
2675
+ type: z2.string().describe("Document type used for schema"),
2676
+ foundedDate: z2.optional(z2.string()),
2677
+ foundedCountry: z2.optional(z2.string()),
2678
+ foundedCity: z2.optional(z2.string()),
2650
2679
  founders: z2.optional(z2.array(personSchema))
2651
2680
  });
2652
2681
  var ngdMetadataSchema = z2.object({
2653
2682
  version: z2.literal("1.0.0").default("1.0.0"),
2683
+ type: z2.string().describe("Document type used for schema"),
2654
2684
  lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
2655
2685
  scraperVersion: z2.optional(z2.string()),
2656
2686
  postProcessorVersion: z2.optional(z2.string()),
2657
2687
  uniqueRunId: z2.optional(z2.string()),
2658
2688
  postProcessorUniqueRunId: z2.optional(z2.string()),
2659
- shouldThisDocumentBeScraped: z2.optional(z2.boolean())
2689
+ isScrapeManaged: z2.optional(z2.boolean()).default(true)
2660
2690
  });
2661
2691
  var companySchema = z2.object({
2662
2692
  version: z2.literal("1.0.0").default("1.0.0"),
2693
+ id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
2694
+ createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
2695
+ updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
2663
2696
  companyName: z2.string().describe("The name of the company"),
2664
2697
  slug: z2.string().describe("The NDG specific slug for a company."),
2665
- type: z2.string().describe("Document type used within sanity"),
2698
+ type: z2.string().describe("Document type used for schema"),
2666
2699
  logo: z2.optional(imageSchema).describe("The logo of the company"),
2667
2700
  companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
2668
2701
  socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
2669
2702
  brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
2670
- companyCareers: z2.optional(companyCareersPageSchema).describe("Career Specific Information for the company."),
2703
+ companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
2671
2704
  companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
2672
2705
  companyNDG: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
2673
- // Manually edited due to a different naming convention
2674
2706
  foundingInfo: z2.optional(foundingInformationSchema),
2675
2707
  headquartersLocation: z2.optional(placeSchema),
2676
2708
  employeeEstimate: z2.optional(z2.string()),
@@ -2679,7 +2711,7 @@ var companySchema = z2.object({
2679
2711
  });
2680
2712
  var officeSchema = z2.object({
2681
2713
  version: z2.literal("1.0.0").default("1.0.0"),
2682
- type: z2.string().describe("Document type used within sanity"),
2714
+ type: z2.string().describe("Document type used for schema"),
2683
2715
  name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
2684
2716
  officeType: OfficeTypeEnum,
2685
2717
  companyId: z2.optional(companySchema),
@@ -2703,7 +2735,7 @@ var ClinicalSpecialtyEnum = z3.enum(["ANESTHESIOLOGY", "CARDIOLOGY", "CASE_MANAG
2703
2735
  var jobPostSchema = z3.object({
2704
2736
  version: z3.literal("1.0.0").default("1.0.0"),
2705
2737
  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 within sanity"),
2738
+ type: z3.string().describe("Document type used for schema"),
2707
2739
  createdAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
2708
2740
  updatedAt: z3.string().datetime().describe("Time document was created. Autoset by Sanity"),
2709
2741
  dateAdded: z3.optional(z3.string().datetime()).describe("The date the job was added to the platform"),