@the-inkwell/shared 0.2.223 → 0.2.225

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.
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod/v4';
2
2
  export declare const AdminMatchPositionFiltersSelectSchema: z.ZodRecord<z.ZodUnion<[z.ZodEnum<{
3
- id: "id";
4
3
  positionId: "positionId";
5
4
  referralId: "referralId";
5
+ companyEmbedding: "companyEmbedding";
6
+ titleEmbedding: "titleEmbedding";
6
7
  locations: "locations";
7
8
  excludedPersons: "excludedPersons";
8
9
  includedPersons: "includedPersons";
@@ -3,9 +3,10 @@ import { z } from 'zod/v4';
3
3
  export declare const AdminMatchPreviewSelectSchema: z.ZodObject<{
4
4
  matches: z.ZodObject<{
5
5
  field: z.ZodEnum<{
6
- id: "id";
7
6
  positionId: "positionId";
8
7
  referralId: "referralId";
8
+ companyEmbedding: "companyEmbedding";
9
+ titleEmbedding: "titleEmbedding";
9
10
  locations: "locations";
10
11
  excludedPersons: "excludedPersons";
11
12
  includedPersons: "includedPersons";
@@ -71,15 +72,17 @@ export declare const AdminMatchPreviewSelectSchema: z.ZodObject<{
71
72
  }, z.core.$strip>]>>;
72
73
  }, z.core.$strip>;
73
74
  email: z.ZodString;
75
+ id: z.ZodUUID;
74
76
  fullName: z.ZodNullable<z.ZodString>;
75
77
  phone: z.ZodNullable<z.ZodString>;
76
78
  photoUri: z.ZodNullable<z.ZodString>;
77
79
  }, z.core.$strip>;
78
80
  export declare const AdminMatchPreviewMetaSelectSchema: z.ZodObject<{
79
81
  filters: z.ZodRecord<z.ZodUnion<[z.ZodEnum<{
80
- id: "id";
81
82
  positionId: "positionId";
82
83
  referralId: "referralId";
84
+ companyEmbedding: "companyEmbedding";
85
+ titleEmbedding: "titleEmbedding";
83
86
  locations: "locations";
84
87
  excludedPersons: "excludedPersons";
85
88
  includedPersons: "includedPersons";
@@ -155,9 +158,10 @@ export declare const AdminMatchListPreviewQuerySchema: z.ZodObject<{
155
158
  filter: z.ZodObject<{
156
159
  search: z.ZodOptional<z.ZodString>;
157
160
  criteria: z.ZodRecord<z.ZodUnion<[z.ZodEnum<{
158
- id: "id";
159
161
  positionId: "positionId";
160
162
  referralId: "referralId";
163
+ companyEmbedding: "companyEmbedding";
164
+ titleEmbedding: "titleEmbedding";
161
165
  locations: "locations";
162
166
  excludedPersons: "excludedPersons";
163
167
  includedPersons: "includedPersons";
@@ -222,9 +226,10 @@ export declare const AdminMatchListPreviewQuerySchema: z.ZodObject<{
222
226
  export declare const AdminMatchListPreviewMetaQuerySchema: z.ZodObject<{
223
227
  filter: z.ZodObject<{
224
228
  criteria: z.ZodRecord<z.ZodUnion<[z.ZodEnum<{
225
- id: "id";
226
229
  positionId: "positionId";
227
230
  referralId: "referralId";
231
+ companyEmbedding: "companyEmbedding";
232
+ titleEmbedding: "titleEmbedding";
228
233
  locations: "locations";
229
234
  excludedPersons: "excludedPersons";
230
235
  includedPersons: "includedPersons";
@@ -9,6 +9,7 @@ const utils_2 = require("./utils");
9
9
  //// validators
10
10
  exports.AdminMatchPreviewSelectSchema = v4_1.z.object({
11
11
  ...(0, drizzle_zod_1.createSelectSchema)(core_1.person).pick({
12
+ id: true,
12
13
  fullName: true,
13
14
  email: true,
14
15
  phone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"previews.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/previews.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,qCAAmC;AACnC,0CAAmE;AACnE,+BAA0B;AAC1B,mCAAsD;AAEtD,eAAe;AAEF,QAAA,6BAA6B,GAAG,MAAC,CAAC,MAAM,CAAC;IACpD,GAAG,IAAA,gCAAkB,EAAC,aAAM,CAAC,CAAC,IAAI,CAAC;QACjC,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;QACX,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC,KAAK;IACR,OAAO,EAAE,MAAC,CAAC,MAAM,CAAC;QAChB,KAAK,EAAE,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC;QAC3B,OAAO,EAAE,MAAC,CAAC,KAAK,CACd,MAAC;aACE,MAAM,CAAC;YACN,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE;YACd,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE;SACjB,CAAC;aACD,EAAE,CAAC,sBAAc,CAAC,CACtB;KACF,CAAC;CACH,CAAC,CAAA;AACW,QAAA,iCAAiC,GAAG,MAAC,CAAC,MAAM,CAAC;IACxD,OAAO,EAAE,MAAC,CAAC,aAAa,CACtB,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,MAAM,CACN,MAAC,CAAC,MAAM,EAAE,EACV,MAAC,CAAC,MAAM,CAAC;QACP,WAAW,EAAE,MAAC,CAAC,MAAM,EAAE;QACvB,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE;KAC1B,CAAC,CACH,CACF;IACD,YAAY,EAAE,MAAC,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;QACjB,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;QACf,WAAW,EAAE,MAAC,CAAC,MAAM,EAAE;KACxB,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,iCAAiC,GAAG,MAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,MAAC,CAAC,aAAa,CACvB,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,sBAAc,CAAC,CAAC,CAAC,QAAQ,EAAE,CAClD;CACF,CAAC,CAAA;AAEW,QAAA,gCAAgC,GAAG,uBAAe,CAAC,MAAM,CAAC;IACrE,MAAM,EAAE,MAAC,CAAC,MAAM,CAAC;QACf,GAAG,iCAAiC,CAAC,KAAK;QAC1C,MAAM,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC;CACH,CAAC,CAAA;AACW,QAAA,oCAAoC,GAAG,MAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,iCAAiC;CAC1C,CAAC,CAAA","sourcesContent":["import { createSelectSchema } from 'drizzle-zod'\nimport { person } from '../../core'\nimport { ListQuerySchema, type ListResponse } from '../../../utils'\nimport { z } from 'zod/v4'\nimport { filterFields, LocationSchema } from './utils'\n\n//// validators\n\nexport const AdminMatchPreviewSelectSchema = z.object({\n ...createSelectSchema(person).pick({\n fullName: true,\n email: true,\n phone: true,\n photoUri: true\n }).shape,\n matches: z.object({\n field: z.enum(filterFields),\n matches: z.array(\n z\n .object({\n id: z.string(),\n name: z.string()\n })\n .or(LocationSchema)\n )\n })\n})\nexport const AdminMatchPreviewMetaSelectSchema = z.object({\n filters: z.partialRecord(\n z.enum(filterFields),\n z.record(\n z.string(),\n z.object({\n personCount: z.number(),\n referrerCount: z.number()\n })\n )\n ),\n optOutCounts: z.object({\n email: z.number(),\n sms: z.number(),\n emailAndSms: z.number()\n })\n})\n\nconst AdminMatchListPreviewFilterSchema = z.object({\n criteria: z.partialRecord(\n z.enum(filterFields),\n z.array(z.string().or(LocationSchema)).optional()\n )\n})\n\nexport const AdminMatchListPreviewQuerySchema = ListQuerySchema.extend({\n filter: z.object({\n ...AdminMatchListPreviewFilterSchema.shape,\n search: z.string().optional()\n })\n})\nexport const AdminMatchListPreviewMetaQuerySchema = z.object({\n filter: AdminMatchListPreviewFilterSchema\n})\n\n//// types\n\n// list\nexport type AdminMatchListPreviewQuery = z.infer<\n typeof AdminMatchListPreviewQuerySchema\n>\nexport type AdminMatchListPreviewResult = ListResponse<\n z.infer<typeof AdminMatchPreviewSelectSchema>\n>\n\nexport type AdminMatchListPreviewMetaQuery = z.infer<\n typeof AdminMatchListPreviewMetaQuerySchema\n>\nexport type AdminMatchListPreviewMetaResult = z.infer<\n typeof AdminMatchPreviewMetaSelectSchema\n>\n"]}
1
+ {"version":3,"file":"previews.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/previews.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,qCAAmC;AACnC,0CAAmE;AACnE,+BAA0B;AAC1B,mCAAsD;AAEtD,eAAe;AAEF,QAAA,6BAA6B,GAAG,MAAC,CAAC,MAAM,CAAC;IACpD,GAAG,IAAA,gCAAkB,EAAC,aAAM,CAAC,CAAC,IAAI,CAAC;QACjC,EAAE,EAAE,IAAI;QACR,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;QACX,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC,KAAK;IACR,OAAO,EAAE,MAAC,CAAC,MAAM,CAAC;QAChB,KAAK,EAAE,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC;QAC3B,OAAO,EAAE,MAAC,CAAC,KAAK,CACd,MAAC;aACE,MAAM,CAAC;YACN,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE;YACd,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE;SACjB,CAAC;aACD,EAAE,CAAC,sBAAc,CAAC,CACtB;KACF,CAAC;CACH,CAAC,CAAA;AACW,QAAA,iCAAiC,GAAG,MAAC,CAAC,MAAM,CAAC;IACxD,OAAO,EAAE,MAAC,CAAC,aAAa,CACtB,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,MAAM,CACN,MAAC,CAAC,MAAM,EAAE,EACV,MAAC,CAAC,MAAM,CAAC;QACP,WAAW,EAAE,MAAC,CAAC,MAAM,EAAE;QACvB,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE;KAC1B,CAAC,CACH,CACF;IACD,YAAY,EAAE,MAAC,CAAC,MAAM,CAAC;QACrB,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;QACjB,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;QACf,WAAW,EAAE,MAAC,CAAC,MAAM,EAAE;KACxB,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,iCAAiC,GAAG,MAAC,CAAC,MAAM,CAAC;IACjD,QAAQ,EAAE,MAAC,CAAC,aAAa,CACvB,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,sBAAc,CAAC,CAAC,CAAC,QAAQ,EAAE,CAClD;CACF,CAAC,CAAA;AAEW,QAAA,gCAAgC,GAAG,uBAAe,CAAC,MAAM,CAAC;IACrE,MAAM,EAAE,MAAC,CAAC,MAAM,CAAC;QACf,GAAG,iCAAiC,CAAC,KAAK;QAC1C,MAAM,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC;CACH,CAAC,CAAA;AACW,QAAA,oCAAoC,GAAG,MAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,iCAAiC;CAC1C,CAAC,CAAA","sourcesContent":["import { createSelectSchema } from 'drizzle-zod'\nimport { person } from '../../core'\nimport { ListQuerySchema, type ListResponse } from '../../../utils'\nimport { z } from 'zod/v4'\nimport { filterFields, LocationSchema } from './utils'\n\n//// validators\n\nexport const AdminMatchPreviewSelectSchema = z.object({\n ...createSelectSchema(person).pick({\n id: true,\n fullName: true,\n email: true,\n phone: true,\n photoUri: true\n }).shape,\n matches: z.object({\n field: z.enum(filterFields),\n matches: z.array(\n z\n .object({\n id: z.string(),\n name: z.string()\n })\n .or(LocationSchema)\n )\n })\n})\nexport const AdminMatchPreviewMetaSelectSchema = z.object({\n filters: z.partialRecord(\n z.enum(filterFields),\n z.record(\n z.string(),\n z.object({\n personCount: z.number(),\n referrerCount: z.number()\n })\n )\n ),\n optOutCounts: z.object({\n email: z.number(),\n sms: z.number(),\n emailAndSms: z.number()\n })\n})\n\nconst AdminMatchListPreviewFilterSchema = z.object({\n criteria: z.partialRecord(\n z.enum(filterFields),\n z.array(z.string().or(LocationSchema)).optional()\n )\n})\n\nexport const AdminMatchListPreviewQuerySchema = ListQuerySchema.extend({\n filter: z.object({\n ...AdminMatchListPreviewFilterSchema.shape,\n search: z.string().optional()\n })\n})\nexport const AdminMatchListPreviewMetaQuerySchema = z.object({\n filter: AdminMatchListPreviewFilterSchema\n})\n\n//// types\n\n// list\nexport type AdminMatchListPreviewQuery = z.infer<\n typeof AdminMatchListPreviewQuerySchema\n>\nexport type AdminMatchListPreviewResult = ListResponse<\n z.infer<typeof AdminMatchPreviewSelectSchema>\n>\n\nexport type AdminMatchListPreviewMetaQuery = z.infer<\n typeof AdminMatchListPreviewMetaQuerySchema\n>\nexport type AdminMatchListPreviewMetaResult = z.infer<\n typeof AdminMatchPreviewMetaSelectSchema\n>\n"]}
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod/v4';
2
- export declare const filterFields: readonly ["id", "locations", "excludedPersons", "includedPersons", "personEmail", "personFullName", "personLinkedInUrl", "personPhone", "personCity", "personState", "personCountry", "personPostalCode", "personLat", "personLon", "referralId", "referralSource", "positionId", "positionName", "positionCity", "positionState", "positionCountry", "positionEmploymentType", "positionIndustryId", "positionJobFunctionId", "candidacyStage", "referredPersonEmail", "referredPersonFirstName", "referredPersonLastName", "referredPersonFullName", "referredPersonCity", "referredPersonState", "referredPersonCountry", "referredPersonPostalCode", "referredPersonLat", "referredPersonLon", "referredPersonLinkedInUrl", "referralPayout", "personSkills", "personNetworks", "personEvents", "personTags", "personSchools", "personIndustries", "personJobFunctions", "personTitles", "referredPersonSkills", "referredPersonNetworks", "referredPersonEvents", "referredPersonTags", "referredPersonSchools", "referredPersonIndustries", "referredPersonJobFunctions", "referredPersonTitles", "referredIndustries", "referredJobFunctions"];
2
+ export declare const filterFields: readonly ["locations", "excludedPersons", "includedPersons", "personEmail", "personFullName", "personLinkedInUrl", "personPhone", "personCity", "personState", "personCountry", "personPostalCode", "personLat", "personLon", "referralId", "referralSource", "positionId", "positionName", "positionCity", "positionState", "positionCountry", "positionEmploymentType", "positionIndustryId", "positionJobFunctionId", "candidacyStage", "referredPersonEmail", "referredPersonFirstName", "referredPersonLastName", "referredPersonFullName", "referredPersonCity", "referredPersonState", "referredPersonCountry", "referredPersonPostalCode", "referredPersonLat", "referredPersonLon", "referredPersonLinkedInUrl", "referralPayout", "personSkills", "personNetworks", "personEvents", "personTags", "personSchools", "personIndustries", "personJobFunctions", "personTitles", "referredPersonSkills", "referredPersonNetworks", "referredPersonEvents", "referredPersonTags", "referredPersonSchools", "referredPersonIndustries", "referredPersonJobFunctions", "referredPersonTitles", "referredIndustries", "referredJobFunctions", "titleEmbedding", "companyEmbedding"];
3
3
  export declare const LocationSchema: z.ZodObject<{
4
4
  city: z.ZodString;
5
5
  state: z.ZodString;
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LocationSchema = exports.filterFields = void 0;
4
4
  const v4_1 = require("zod/v4");
5
5
  exports.filterFields = [
6
- 'id',
7
6
  'locations',
8
7
  'excludedPersons',
9
8
  'includedPersons',
@@ -57,7 +56,9 @@ exports.filterFields = [
57
56
  'referredPersonJobFunctions',
58
57
  'referredPersonTitles',
59
58
  'referredIndustries',
60
- 'referredJobFunctions'
59
+ 'referredJobFunctions',
60
+ 'titleEmbedding',
61
+ 'companyEmbedding'
61
62
  ];
62
63
  // Need to make these optional
63
64
  exports.LocationSchema = v4_1.z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/utils.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAEb,QAAA,YAAY,GAAG;IAC1B,IAAI;IACJ,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,mBAAmB;IACnB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,eAAe;IACf,kBAAkB;IAClB,WAAW;IACX,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,wBAAwB;IACxB,oBAAoB;IACpB,uBAAuB;IACvB,gBAAgB;IAChB,qBAAqB;IACrB,yBAAyB;IACzB,wBAAwB;IACxB,wBAAwB;IACxB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,0BAA0B;IAC1B,mBAAmB;IACnB,mBAAmB;IACnB,2BAA2B;IAC3B,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,eAAe;IACf,kBAAkB;IAClB,oBAAoB;IACpB,cAAc;IACd,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,oBAAoB;IACpB,uBAAuB;IACvB,0BAA0B;IAC1B,4BAA4B;IAC5B,sBAAsB;IACtB,oBAAoB;IACpB,sBAAsB;CACd,CAAA;AAEV,8BAA8B;AAEjB,QAAA,cAAc,GAAG,MAAC,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;IACjB,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;IACf,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;IACf,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAA","sourcesContent":["import { z } from 'zod/v4'\n\nexport const filterFields = [\n 'id',\n 'locations',\n 'excludedPersons',\n 'includedPersons',\n 'personEmail',\n 'personFullName',\n 'personLinkedInUrl',\n 'personPhone',\n 'personCity',\n 'personState',\n 'personCountry',\n 'personPostalCode',\n 'personLat',\n 'personLon',\n 'referralId',\n 'referralSource',\n 'positionId',\n 'positionName',\n 'positionCity',\n 'positionState',\n 'positionCountry',\n 'positionEmploymentType',\n 'positionIndustryId',\n 'positionJobFunctionId',\n 'candidacyStage',\n 'referredPersonEmail',\n 'referredPersonFirstName',\n 'referredPersonLastName',\n 'referredPersonFullName',\n 'referredPersonCity',\n 'referredPersonState',\n 'referredPersonCountry',\n 'referredPersonPostalCode',\n 'referredPersonLat',\n 'referredPersonLon',\n 'referredPersonLinkedInUrl',\n 'referralPayout',\n 'personSkills',\n 'personNetworks',\n 'personEvents',\n 'personTags',\n 'personSchools',\n 'personIndustries',\n 'personJobFunctions',\n 'personTitles',\n 'referredPersonSkills',\n 'referredPersonNetworks',\n 'referredPersonEvents',\n 'referredPersonTags',\n 'referredPersonSchools',\n 'referredPersonIndustries',\n 'referredPersonJobFunctions',\n 'referredPersonTitles',\n 'referredIndustries',\n 'referredJobFunctions'\n] as const\n\n// Need to make these optional\n\nexport const LocationSchema = z.object({\n city: z.string(),\n state: z.string(),\n lat: z.number(),\n lon: z.number(),\n radiusInMiles: z.number()\n})\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/utils.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAEb,QAAA,YAAY,GAAG;IAC1B,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,mBAAmB;IACnB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,eAAe;IACf,kBAAkB;IAClB,WAAW;IACX,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,wBAAwB;IACxB,oBAAoB;IACpB,uBAAuB;IACvB,gBAAgB;IAChB,qBAAqB;IACrB,yBAAyB;IACzB,wBAAwB;IACxB,wBAAwB;IACxB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,0BAA0B;IAC1B,mBAAmB;IACnB,mBAAmB;IACnB,2BAA2B;IAC3B,gBAAgB;IAChB,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,YAAY;IACZ,eAAe;IACf,kBAAkB;IAClB,oBAAoB;IACpB,cAAc;IACd,sBAAsB;IACtB,wBAAwB;IACxB,sBAAsB;IACtB,oBAAoB;IACpB,uBAAuB;IACvB,0BAA0B;IAC1B,4BAA4B;IAC5B,sBAAsB;IACtB,oBAAoB;IACpB,sBAAsB;IACtB,gBAAgB;IAChB,kBAAkB;CACV,CAAA;AAEV,8BAA8B;AAEjB,QAAA,cAAc,GAAG,MAAC,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;IACjB,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;IACf,GAAG,EAAE,MAAC,CAAC,MAAM,EAAE;IACf,aAAa,EAAE,MAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAA","sourcesContent":["import { z } from 'zod/v4'\n\nexport const filterFields = [\n 'locations',\n 'excludedPersons',\n 'includedPersons',\n 'personEmail',\n 'personFullName',\n 'personLinkedInUrl',\n 'personPhone',\n 'personCity',\n 'personState',\n 'personCountry',\n 'personPostalCode',\n 'personLat',\n 'personLon',\n 'referralId',\n 'referralSource',\n 'positionId',\n 'positionName',\n 'positionCity',\n 'positionState',\n 'positionCountry',\n 'positionEmploymentType',\n 'positionIndustryId',\n 'positionJobFunctionId',\n 'candidacyStage',\n 'referredPersonEmail',\n 'referredPersonFirstName',\n 'referredPersonLastName',\n 'referredPersonFullName',\n 'referredPersonCity',\n 'referredPersonState',\n 'referredPersonCountry',\n 'referredPersonPostalCode',\n 'referredPersonLat',\n 'referredPersonLon',\n 'referredPersonLinkedInUrl',\n 'referralPayout',\n 'personSkills',\n 'personNetworks',\n 'personEvents',\n 'personTags',\n 'personSchools',\n 'personIndustries',\n 'personJobFunctions',\n 'personTitles',\n 'referredPersonSkills',\n 'referredPersonNetworks',\n 'referredPersonEvents',\n 'referredPersonTags',\n 'referredPersonSchools',\n 'referredPersonIndustries',\n 'referredPersonJobFunctions',\n 'referredPersonTitles',\n 'referredIndustries',\n 'referredJobFunctions',\n 'titleEmbedding',\n 'companyEmbedding'\n] as const\n\n// Need to make these optional\n\nexport const LocationSchema = z.object({\n city: z.string(),\n state: z.string(),\n lat: z.number(),\n lon: z.number(),\n radiusInMiles: z.number()\n})\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.2.223",
3
+ "version": "0.2.225",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",