@the-inkwell/shared 0.2.109 → 0.2.111

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.
@@ -119,6 +119,7 @@ export declare const PublicPositionSelectSchema: z.ZodObject<{
119
119
  client: z.ZodNullable<z.ZodObject<{
120
120
  name: z.ZodString;
121
121
  description: z.ZodNullable<z.ZodString>;
122
+ websiteUrl: z.ZodNullable<z.ZodString>;
122
123
  }, {
123
124
  out: {};
124
125
  in: {};
@@ -28,7 +28,8 @@ exports.PublicPositionSelectSchema = (0, drizzle_zod_1.createSelectSchema)(core_
28
28
  client: (0, drizzle_zod_1.createSelectSchema)(core_1.client)
29
29
  .pick({
30
30
  name: true,
31
- description: true
31
+ description: true,
32
+ websiteUrl: true
32
33
  })
33
34
  .nullable(),
34
35
  industry: (0, drizzle_zod_1.createSelectSchema)(core_1.industry)
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/public/positions/index.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,qCAAgF;AAInE,QAAA,0BAA0B,GAAG,IAAA,gCAAkB,EAAC,eAAQ,CAAC;KACnE,IAAI,CAAC;IACJ,EAAE,EAAE,IAAI;IACR,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,IAAI;IACpB,sBAAsB,EAAE,IAAI;IAC5B,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,uBAAuB,EAAE,IAAI;IAC7B,uBAAuB,EAAE,IAAI;IAC7B,iBAAiB,EAAE,IAAI;CACxB,CAAC;KACD,MAAM,CAAC;IACN,MAAM,EAAE,IAAA,gCAAkB,EAAC,aAAM,CAAC;SAC/B,IAAI,CAAC;QACJ,IAAI,EAAE,IAAI;QACV,WAAW,EAAE,IAAI;KAClB,CAAC;SACD,QAAQ,EAAE;IACb,QAAQ,EAAE,IAAA,gCAAkB,EAAC,eAAQ,CAAC;SACnC,IAAI,CAAC;QACJ,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI;KACX,CAAC;SACD,QAAQ,EAAE;IACb,WAAW,EAAE,IAAA,gCAAkB,EAAC,kBAAW,CAAC;SACzC,IAAI,CAAC;QACJ,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI;KACX,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA;AAES,QAAA,0BAA0B,GAAG,kCAA0B,CAAC,IAAI,CAAC;IACxE,MAAM,EAAE,IAAI;CACb,CAAC,CAAA","sourcesContent":["import { createSelectSchema } from 'drizzle-zod'\nimport { client, industry, jobFunction, position, skill, tag } from '../../core'\nimport { z } from 'zod/v4'\nimport { ListResponse } from '../../../utils'\n\nexport const PublicPositionSelectSchema = createSelectSchema(position)\n .pick({\n id: true,\n idNano: true,\n slug: true,\n name: true,\n jobFunctionId: true,\n industryId: true,\n jobDescription: true,\n teaser: true,\n city: true,\n state: true,\n country: true,\n employmentType: true,\n employmentLocationType: true,\n salaryMin: true,\n salaryMax: true,\n referralPlacementReward: true,\n referralInterviewReward: true,\n benefitHighlights: true\n })\n .extend({\n client: createSelectSchema(client)\n .pick({\n name: true,\n description: true\n })\n .nullable(),\n industry: createSelectSchema(industry)\n .pick({\n id: true,\n name: true\n })\n .nullable(),\n jobFunction: createSelectSchema(jobFunction)\n .pick({\n id: true,\n name: true\n })\n .nullable()\n })\n\nexport const PublicPositionParamsSchema = PublicPositionSelectSchema.pick({\n idNano: true\n})\n\n//// types\n\ntype PublicPosition = z.infer<typeof PublicPositionSelectSchema>\n\n// detail\nexport type PublicPositionParams = z.infer<typeof PublicPositionParamsSchema>\nexport type PublicPositionResult = PublicPosition\n\n// list\nexport type PublicPositionListResult = ListResponse<\n z.infer<typeof PublicPositionSelectSchema>\n>\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/public/positions/index.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,qCAAgF;AAInE,QAAA,0BAA0B,GAAG,IAAA,gCAAkB,EAAC,eAAQ,CAAC;KACnE,IAAI,CAAC;IACJ,EAAE,EAAE,IAAI;IACR,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,IAAI;IACV,aAAa,EAAE,IAAI;IACnB,UAAU,EAAE,IAAI;IAChB,cAAc,EAAE,IAAI;IACpB,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,IAAI;IACV,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,cAAc,EAAE,IAAI;IACpB,sBAAsB,EAAE,IAAI;IAC5B,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,uBAAuB,EAAE,IAAI;IAC7B,uBAAuB,EAAE,IAAI;IAC7B,iBAAiB,EAAE,IAAI;CACxB,CAAC;KACD,MAAM,CAAC;IACN,MAAM,EAAE,IAAA,gCAAkB,EAAC,aAAM,CAAC;SAC/B,IAAI,CAAC;QACJ,IAAI,EAAE,IAAI;QACV,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,IAAI;KACjB,CAAC;SACD,QAAQ,EAAE;IACb,QAAQ,EAAE,IAAA,gCAAkB,EAAC,eAAQ,CAAC;SACnC,IAAI,CAAC;QACJ,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI;KACX,CAAC;SACD,QAAQ,EAAE;IACb,WAAW,EAAE,IAAA,gCAAkB,EAAC,kBAAW,CAAC;SACzC,IAAI,CAAC;QACJ,EAAE,EAAE,IAAI;QACR,IAAI,EAAE,IAAI;KACX,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA;AAES,QAAA,0BAA0B,GAAG,kCAA0B,CAAC,IAAI,CAAC;IACxE,MAAM,EAAE,IAAI;CACb,CAAC,CAAA","sourcesContent":["import { createSelectSchema } from 'drizzle-zod'\nimport { client, industry, jobFunction, position, skill, tag } from '../../core'\nimport { z } from 'zod/v4'\nimport { ListResponse } from '../../../utils'\n\nexport const PublicPositionSelectSchema = createSelectSchema(position)\n .pick({\n id: true,\n idNano: true,\n slug: true,\n name: true,\n jobFunctionId: true,\n industryId: true,\n jobDescription: true,\n teaser: true,\n city: true,\n state: true,\n country: true,\n employmentType: true,\n employmentLocationType: true,\n salaryMin: true,\n salaryMax: true,\n referralPlacementReward: true,\n referralInterviewReward: true,\n benefitHighlights: true\n })\n .extend({\n client: createSelectSchema(client)\n .pick({\n name: true,\n description: true,\n websiteUrl: true\n })\n .nullable(),\n industry: createSelectSchema(industry)\n .pick({\n id: true,\n name: true\n })\n .nullable(),\n jobFunction: createSelectSchema(jobFunction)\n .pick({\n id: true,\n name: true\n })\n .nullable()\n })\n\nexport const PublicPositionParamsSchema = PublicPositionSelectSchema.pick({\n idNano: true\n})\n\n//// types\n\ntype PublicPosition = z.infer<typeof PublicPositionSelectSchema>\n\n// detail\nexport type PublicPositionParams = z.infer<typeof PublicPositionParamsSchema>\nexport type PublicPositionResult = PublicPosition\n\n// list\nexport type PublicPositionListResult = ListResponse<\n z.infer<typeof PublicPositionSelectSchema>\n>\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.2.109",
3
+ "version": "0.2.111",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",