@keystrokehq/softr 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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-database.cjs +1 -0
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +3 -19
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +3 -19
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +1 -0
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-record.cjs +1 -0
- package/dist/actions/create-record.cjs.map +1 -1
- package/dist/actions/create-record.d.cts +3 -19
- package/dist/actions/create-record.d.cts.map +1 -1
- package/dist/actions/create-record.d.mts +3 -19
- package/dist/actions/create-record.d.mts.map +1 -1
- package/dist/actions/create-record.mjs +1 -0
- package/dist/actions/create-record.mjs.map +1 -1
- package/dist/actions/create-table-field.cjs +1 -0
- package/dist/actions/create-table-field.cjs.map +1 -1
- package/dist/actions/create-table-field.d.cts +3 -21
- package/dist/actions/create-table-field.d.cts.map +1 -1
- package/dist/actions/create-table-field.d.mts +3 -21
- package/dist/actions/create-table-field.d.mts.map +1 -1
- package/dist/actions/create-table-field.mjs +1 -0
- package/dist/actions/create-table-field.mjs.map +1 -1
- package/dist/actions/create-table.cjs +1 -0
- package/dist/actions/create-table.cjs.map +1 -1
- package/dist/actions/create-table.d.cts +3 -26
- package/dist/actions/create-table.d.cts.map +1 -1
- package/dist/actions/create-table.d.mts +3 -26
- package/dist/actions/create-table.d.mts.map +1 -1
- package/dist/actions/create-table.mjs +1 -0
- package/dist/actions/create-table.mjs.map +1 -1
- package/dist/actions/delete-database.cjs +1 -0
- package/dist/actions/delete-database.cjs.map +1 -1
- package/dist/actions/delete-database.d.cts +3 -18
- package/dist/actions/delete-database.d.cts.map +1 -1
- package/dist/actions/delete-database.d.mts +3 -18
- package/dist/actions/delete-database.d.mts.map +1 -1
- package/dist/actions/delete-database.mjs +1 -0
- package/dist/actions/delete-database.mjs.map +1 -1
- package/dist/actions/delete-record.cjs +1 -0
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +3 -19
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +3 -19
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs +1 -0
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/delete-table-field.cjs +1 -0
- package/dist/actions/delete-table-field.cjs.map +1 -1
- package/dist/actions/delete-table-field.d.cts +3 -19
- package/dist/actions/delete-table-field.d.cts.map +1 -1
- package/dist/actions/delete-table-field.d.mts +3 -19
- package/dist/actions/delete-table-field.d.mts.map +1 -1
- package/dist/actions/delete-table-field.mjs +1 -0
- package/dist/actions/delete-table-field.mjs.map +1 -1
- package/dist/actions/delete-table.cjs +1 -0
- package/dist/actions/delete-table.cjs.map +1 -1
- package/dist/actions/delete-table.d.cts +3 -19
- package/dist/actions/delete-table.d.cts.map +1 -1
- package/dist/actions/delete-table.d.mts +3 -19
- package/dist/actions/delete-table.d.mts.map +1 -1
- package/dist/actions/delete-table.mjs +1 -0
- package/dist/actions/delete-table.mjs.map +1 -1
- package/dist/actions/get-database.cjs +1 -0
- package/dist/actions/get-database.cjs.map +1 -1
- package/dist/actions/get-database.d.cts +3 -17
- package/dist/actions/get-database.d.cts.map +1 -1
- package/dist/actions/get-database.d.mts +3 -17
- package/dist/actions/get-database.d.mts.map +1 -1
- package/dist/actions/get-database.mjs +1 -0
- package/dist/actions/get-database.mjs.map +1 -1
- package/dist/actions/get-databases.cjs +1 -0
- package/dist/actions/get-databases.cjs.map +1 -1
- package/dist/actions/get-databases.d.cts +3 -18
- package/dist/actions/get-databases.d.cts.map +1 -1
- package/dist/actions/get-databases.d.mts +3 -18
- package/dist/actions/get-databases.d.mts.map +1 -1
- package/dist/actions/get-databases.mjs +1 -0
- package/dist/actions/get-databases.mjs.map +1 -1
- package/dist/actions/get-record.cjs +1 -0
- package/dist/actions/get-record.cjs.map +1 -1
- package/dist/actions/get-record.d.cts +3 -19
- package/dist/actions/get-record.d.cts.map +1 -1
- package/dist/actions/get-record.d.mts +3 -19
- package/dist/actions/get-record.d.mts.map +1 -1
- package/dist/actions/get-record.mjs +1 -0
- package/dist/actions/get-record.mjs.map +1 -1
- package/dist/actions/get-records.cjs +1 -0
- package/dist/actions/get-records.cjs.map +1 -1
- package/dist/actions/get-records.d.cts +3 -20
- package/dist/actions/get-records.d.cts.map +1 -1
- package/dist/actions/get-records.d.mts +3 -20
- package/dist/actions/get-records.d.mts.map +1 -1
- package/dist/actions/get-records.mjs +1 -0
- package/dist/actions/get-records.mjs.map +1 -1
- package/dist/actions/get-table-field.cjs +1 -0
- package/dist/actions/get-table-field.cjs.map +1 -1
- package/dist/actions/get-table-field.d.cts +3 -19
- package/dist/actions/get-table-field.d.cts.map +1 -1
- package/dist/actions/get-table-field.d.mts +3 -19
- package/dist/actions/get-table-field.d.mts.map +1 -1
- package/dist/actions/get-table-field.mjs +1 -0
- package/dist/actions/get-table-field.mjs.map +1 -1
- package/dist/actions/get-table-views.cjs +1 -0
- package/dist/actions/get-table-views.cjs.map +1 -1
- package/dist/actions/get-table-views.d.cts +3 -18
- package/dist/actions/get-table-views.d.cts.map +1 -1
- package/dist/actions/get-table-views.d.mts +3 -18
- package/dist/actions/get-table-views.d.mts.map +1 -1
- package/dist/actions/get-table-views.mjs +1 -0
- package/dist/actions/get-table-views.mjs.map +1 -1
- package/dist/actions/get-table.cjs +1 -0
- package/dist/actions/get-table.cjs.map +1 -1
- package/dist/actions/get-table.d.cts +3 -18
- package/dist/actions/get-table.d.cts.map +1 -1
- package/dist/actions/get-table.d.mts +3 -18
- package/dist/actions/get-table.d.mts.map +1 -1
- package/dist/actions/get-table.mjs +1 -0
- package/dist/actions/get-table.mjs.map +1 -1
- package/dist/actions/get-tables.cjs +1 -0
- package/dist/actions/get-tables.cjs.map +1 -1
- package/dist/actions/get-tables.d.cts +3 -17
- package/dist/actions/get-tables.d.cts.map +1 -1
- package/dist/actions/get-tables.d.mts +3 -17
- package/dist/actions/get-tables.d.mts.map +1 -1
- package/dist/actions/get-tables.mjs +1 -0
- package/dist/actions/get-tables.mjs.map +1 -1
- package/dist/actions/search-records.cjs +1 -0
- package/dist/actions/search-records.cjs.map +1 -1
- package/dist/actions/search-records.d.cts +3 -23
- package/dist/actions/search-records.d.cts.map +1 -1
- package/dist/actions/search-records.d.mts +3 -23
- package/dist/actions/search-records.d.mts.map +1 -1
- package/dist/actions/search-records.mjs +1 -0
- package/dist/actions/search-records.mjs.map +1 -1
- package/dist/actions/update-database.cjs +1 -0
- package/dist/actions/update-database.cjs.map +1 -1
- package/dist/actions/update-database.d.cts +3 -19
- package/dist/actions/update-database.d.cts.map +1 -1
- package/dist/actions/update-database.d.mts +3 -19
- package/dist/actions/update-database.d.mts.map +1 -1
- package/dist/actions/update-database.mjs +1 -0
- package/dist/actions/update-database.mjs.map +1 -1
- package/dist/actions/update-record.cjs +1 -0
- package/dist/actions/update-record.cjs.map +1 -1
- package/dist/actions/update-record.d.cts +3 -20
- package/dist/actions/update-record.d.cts.map +1 -1
- package/dist/actions/update-record.d.mts +3 -20
- package/dist/actions/update-record.d.mts.map +1 -1
- package/dist/actions/update-record.mjs +1 -0
- package/dist/actions/update-record.mjs.map +1 -1
- package/dist/actions/update-table-field.cjs +1 -0
- package/dist/actions/update-table-field.cjs.map +1 -1
- package/dist/actions/update-table-field.d.cts +3 -22
- package/dist/actions/update-table-field.d.cts.map +1 -1
- package/dist/actions/update-table-field.d.mts +3 -22
- package/dist/actions/update-table-field.d.mts.map +1 -1
- package/dist/actions/update-table-field.mjs +1 -0
- package/dist/actions/update-table-field.mjs.map +1 -1
- package/dist/actions/update-table.cjs +1 -0
- package/dist/actions/update-table.cjs.map +1 -1
- package/dist/actions/update-table.d.cts +3 -20
- package/dist/actions/update-table.d.cts.map +1 -1
- package/dist/actions/update-table.d.mts +3 -20
- package/dist/actions/update-table.d.mts.map +1 -1
- package/dist/actions/update-table.mjs +1 -0
- package/dist/actions/update-table.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-table.mjs","names":[],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).passthrough().describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\").nullable(),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).passthrough().describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-table.mjs","names":[],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).passthrough().describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).passthrough().describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\").nullable(),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).passthrough().describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).passthrough().describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable: AppAction<\n typeof SoftrCreateTableInput,\n typeof SoftrCreateTableOutput,\n typeof softr.credential\n> = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;CAC/L,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AAKnD,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.cjs","names":["z","action"],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-database.cjs","names":["z","action"],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase: AppAction<\n typeof SoftrDeleteDatabaseInput,\n typeof SoftrDeleteDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CACrP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-database.d.ts
|
|
@@ -9,24 +11,7 @@ declare const SoftrDeleteDatabaseOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const softrDeleteDatabase:
|
|
13
|
-
database_id: string;
|
|
14
|
-
force?: boolean | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
generic_id: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const softrDeleteDatabase: AppAction<typeof SoftrDeleteDatabaseInput, typeof SoftrDeleteDatabaseOutput, typeof softr.credential>;
|
|
30
15
|
//#endregion
|
|
31
16
|
export { softrDeleteDatabase };
|
|
32
17
|
//# sourceMappingURL=delete-database.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-database.d.ts
|
|
@@ -9,24 +11,7 @@ declare const SoftrDeleteDatabaseOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const softrDeleteDatabase:
|
|
13
|
-
database_id: string;
|
|
14
|
-
force?: boolean | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
generic_api_key: z.ZodString;
|
|
21
|
-
generic_id: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const softrDeleteDatabase: AppAction<typeof SoftrDeleteDatabaseInput, typeof SoftrDeleteDatabaseOutput, typeof softr.credential>;
|
|
30
15
|
//#endregion
|
|
31
16
|
export { softrDeleteDatabase };
|
|
32
17
|
//# sourceMappingURL=delete-database.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase: AppAction<\n typeof SoftrDeleteDatabaseInput,\n typeof SoftrDeleteDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;EACrP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACzH,CAAC,CAAC,CAAC,SAAS,wCAcH;CACP,QAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord: AppAction<\n typeof SoftrDeleteRecordInput,\n typeof SoftrDeleteRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-record.d.ts
|
|
@@ -9,25 +11,7 @@ declare const SoftrDeleteRecordInput: z.ZodObject<{
|
|
|
9
11
|
declare const SoftrDeleteRecordOutput: z.ZodObject<{
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const softrDeleteRecord:
|
|
13
|
-
table_id: string;
|
|
14
|
-
record_id: string;
|
|
15
|
-
database_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const softrDeleteRecord: AppAction<typeof SoftrDeleteRecordInput, typeof SoftrDeleteRecordOutput, typeof softr.credential>;
|
|
31
15
|
//#endregion
|
|
32
16
|
export { softrDeleteRecord };
|
|
33
17
|
//# sourceMappingURL=delete-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-record.d.ts
|
|
@@ -9,25 +11,7 @@ declare const SoftrDeleteRecordInput: z.ZodObject<{
|
|
|
9
11
|
declare const SoftrDeleteRecordOutput: z.ZodObject<{
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const softrDeleteRecord:
|
|
13
|
-
table_id: string;
|
|
14
|
-
record_id: string;
|
|
15
|
-
database_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const softrDeleteRecord: AppAction<typeof SoftrDeleteRecordInput, typeof SoftrDeleteRecordOutput, typeof softr.credential>;
|
|
31
15
|
//#endregion
|
|
32
16
|
export { softrDeleteRecord };
|
|
33
17
|
//# sourceMappingURL=delete-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord: AppAction<\n typeof SoftrDeleteRecordInput,\n typeof SoftrDeleteRecordOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;;AAeA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBoC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,CAAC,CAAC,CAAC,SAAS,8DAaH;CACP,QAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField: AppAction<\n typeof SoftrDeleteTableFieldInput,\n typeof SoftrDeleteTableFieldOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-table-field.d.ts
|
|
@@ -10,25 +12,7 @@ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const softrDeleteTableField:
|
|
14
|
-
field_id: string;
|
|
15
|
-
table_id: string;
|
|
16
|
-
database_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_id: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const softrDeleteTableField: AppAction<typeof SoftrDeleteTableFieldInput, typeof SoftrDeleteTableFieldOutput, typeof softr.credential>;
|
|
32
16
|
//#endregion
|
|
33
17
|
export { softrDeleteTableField };
|
|
34
18
|
//# sourceMappingURL=delete-table-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-table-field.d.ts
|
|
@@ -10,25 +12,7 @@ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const softrDeleteTableField:
|
|
14
|
-
field_id: string;
|
|
15
|
-
table_id: string;
|
|
16
|
-
database_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_id: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const softrDeleteTableField: AppAction<typeof SoftrDeleteTableFieldInput, typeof SoftrDeleteTableFieldOutput, typeof softr.credential>;
|
|
32
16
|
//#endregion
|
|
33
17
|
export { softrDeleteTableField };
|
|
34
18
|
//# sourceMappingURL=delete-table-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField: AppAction<\n typeof SoftrDeleteTableFieldInput,\n typeof SoftrDeleteTableFieldOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAcS;CACP,QAdyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable: AppAction<\n typeof SoftrDeleteTableInput,\n typeof SoftrDeleteTableOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-table.d.ts
|
|
@@ -10,25 +12,7 @@ declare const SoftrDeleteTableOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const softrDeleteTable:
|
|
14
|
-
table_id: string;
|
|
15
|
-
database_id: string;
|
|
16
|
-
force?: boolean | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_id: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const softrDeleteTable: AppAction<typeof SoftrDeleteTableInput, typeof SoftrDeleteTableOutput, typeof softr.credential>;
|
|
32
16
|
//#endregion
|
|
33
17
|
export { softrDeleteTable };
|
|
34
18
|
//# sourceMappingURL=delete-table.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-table.d.ts
|
|
@@ -10,25 +12,7 @@ declare const SoftrDeleteTableOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodNullable<z.ZodString>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const softrDeleteTable:
|
|
14
|
-
table_id: string;
|
|
15
|
-
database_id: string;
|
|
16
|
-
force?: boolean | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_id: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const softrDeleteTable: AppAction<typeof SoftrDeleteTableInput, typeof SoftrDeleteTableOutput, typeof softr.credential>;
|
|
32
16
|
//#endregion
|
|
33
17
|
export { softrDeleteTable };
|
|
34
18
|
//# sourceMappingURL=delete-table.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable: AppAction<\n typeof SoftrDeleteTableInput,\n typeof SoftrDeleteTableOutput,\n typeof softr.credential\n> = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAcS;CACP,QAdoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { softr } from \"../app\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase: AppAction<\n typeof SoftrGetDatabaseInput,\n typeof SoftrGetDatabaseOutput,\n typeof softr.credential\n> = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-database.d.ts
|
|
@@ -14,23 +16,7 @@ declare const SoftrGetDatabaseOutput: z.ZodObject<{
|
|
|
14
16
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const softrGetDatabase:
|
|
18
|
-
database_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
generic_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", 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
|
-
generic_id: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const softrGetDatabase: AppAction<typeof SoftrGetDatabaseInput, typeof SoftrGetDatabaseOutput, typeof softr.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { softrGetDatabase };
|
|
36
22
|
//# sourceMappingURL=get-database.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { softr } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-database.d.ts
|
|
@@ -14,23 +16,7 @@ declare const SoftrGetDatabaseOutput: z.ZodObject<{
|
|
|
14
16
|
workspaceId: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const softrGetDatabase:
|
|
18
|
-
database_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"softr", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
generic_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"softr", 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
|
-
generic_id: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const softrGetDatabase: AppAction<typeof SoftrGetDatabaseInput, typeof SoftrGetDatabaseOutput, typeof softr.credential>;
|
|
34
20
|
//#endregion
|
|
35
21
|
export { softrGetDatabase };
|
|
36
22
|
//# sourceMappingURL=get-database.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|