@the-inkwell/shared 0.2.103 → 0.2.104

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.
@@ -116,6 +116,7 @@ export declare const PublicPositionSelectSchema: z.ZodObject<{
116
116
  additionalBenefits: z.ZodNullable<z.ZodString>;
117
117
  client: z.ZodNullable<z.ZodObject<{
118
118
  name: z.ZodString;
119
+ description: z.ZodNullable<z.ZodString>;
119
120
  }, {
120
121
  out: {};
121
122
  in: {};
@@ -27,7 +27,8 @@ exports.PublicPositionSelectSchema = (0, drizzle_zod_1.createSelectSchema)(core_
27
27
  .extend({
28
28
  client: (0, drizzle_zod_1.createSelectSchema)(core_1.client)
29
29
  .pick({
30
- name: true
30
+ name: true,
31
+ description: true
31
32
  })
32
33
  .nullable(),
33
34
  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,kBAAkB,EAAE,IAAI;CACzB,CAAC;KACD,MAAM,CAAC;IACN,MAAM,EAAE,IAAA,gCAAkB,EAAC,aAAM,CAAC;SAC/B,IAAI,CAAC;QACJ,IAAI,EAAE,IAAI;KACX,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 additionalBenefits: true\n })\n .extend({\n client: createSelectSchema(client)\n .pick({\n name: 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,kBAAkB,EAAE,IAAI;CACzB,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 additionalBenefits: 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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.2.103",
3
+ "version": "0.2.104",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",