@keystrokehq/genderize 0.1.5 → 0.1.6

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 +1 @@
1
- {"version":3,"file":"action.cjs","names":["genderize","executeGenderizeTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderize } from \"./app\";\nimport { executeGenderizeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return genderize.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeGenderizeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["genderize","executeGenderizeTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { genderize } from \"./app\";\nimport { executeGenderizeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof genderize.credential> {\n return genderize.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderizeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderize } from \"./app\";\nimport { executeGenderizeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return genderize.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeGenderizeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { genderize } from \"./app\";\nimport { executeGenderizeTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof genderize.credential> {\n return genderize.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderizeTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOyD;CACzD,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/predict-gender.ts
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.cjs","names":["z","action"],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"predict-gender.cjs","names":["z","action"],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderize } from \"../app\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender: AppAction<\n typeof GenderizePredictGenderInput,\n typeof GenderizePredictGenderOutput,\n typeof genderize.credential\n> = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { genderize } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/predict-gender.d.ts
@@ -13,23 +15,7 @@ declare const GenderizePredictGenderOutput: z.ZodObject<{
13
15
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  }, z.core.$loose>;
16
- declare const genderizePredictGender: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- name: string;
18
- apikey?: string | undefined;
19
- country_id?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
18
+ declare const genderizePredictGender: AppAction<typeof GenderizePredictGenderInput, typeof GenderizePredictGenderOutput, typeof genderize.credential>;
33
19
  //#endregion
34
20
  export { genderizePredictGender };
35
21
  //# sourceMappingURL=predict-gender.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.d.cts","names":[],"sources":["../../src/actions/predict-gender.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"predict-gender.d.cts","names":[],"sources":["../../src/actions/predict-gender.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { genderize } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/predict-gender.d.ts
@@ -13,23 +15,7 @@ declare const GenderizePredictGenderOutput: z.ZodObject<{
13
15
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  }, z.core.$loose>;
16
- declare const genderizePredictGender: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- name: string;
18
- apikey?: string | undefined;
19
- country_id?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>;
18
+ declare const genderizePredictGender: AppAction<typeof GenderizePredictGenderInput, typeof GenderizePredictGenderOutput, typeof genderize.credential>;
33
19
  //#endregion
34
20
  export { genderizePredictGender };
35
21
  //# sourceMappingURL=predict-gender.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.d.mts","names":[],"sources":["../../src/actions/predict-gender.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"predict-gender.d.mts","names":[],"sources":["../../src/actions/predict-gender.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const genderizePredictGender = action("GENDERIZE_PREDICT_GENDER", {
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.mjs","names":[],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,CAaS;CACP,QAb0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"predict-gender.mjs","names":[],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderize } from \"../app\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender: AppAction<\n typeof GenderizePredictGenderInput,\n typeof GenderizePredictGenderOutput,\n typeof genderize.credential\n> = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,CAiBS;CACP,QAjB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const genderize = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "genderize",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.genderize = genderize;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const genderize = defineApp({\n slug: \"genderize\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const genderize: KeystrokeApp<\"genderize\", typeof credential> = defineApp({\n slug: \"genderize\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const genderize: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const genderize: KeystrokeApp<"genderize", typeof credential>;
11
9
  //#endregion
12
10
  export { genderize };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const genderize: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"genderize", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const genderize: KeystrokeApp<"genderize", typeof credential>;
11
9
  //#endregion
12
10
  export { genderize };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const genderize = defineApp({
5
4
  slug: "genderize",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const genderize = defineApp({\n slug: \"genderize\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const genderize: KeystrokeApp<\"genderize\", typeof credential> = defineApp({\n slug: \"genderize\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { genderizePredictGender } from "./actions/predict-gender.cjs";
2
1
  import { genderize } from "./app.cjs";
2
+ import { genderizePredictGender } from "./actions/predict-gender.cjs";
3
3
  import { genderizeCatalog } from "./catalog.cjs";
4
4
  export { genderize, genderizeCatalog, genderizePredictGender };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { genderizePredictGender } from "./actions/predict-gender.mjs";
2
1
  import { genderize } from "./app.mjs";
2
+ import { genderizePredictGender } from "./actions/predict-gender.mjs";
3
3
  import { genderizeCatalog } from "./catalog.mjs";
4
4
  export { genderize, genderizeCatalog, genderizePredictGender };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/genderize",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {