@keystrokehq/prisma 0.1.0 → 0.1.2
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-connection.cjs +10 -10
- package/dist/actions/create-connection.cjs.map +1 -1
- package/dist/actions/create-connection.d.cts +24 -3
- package/dist/actions/create-connection.d.cts.map +1 -1
- package/dist/actions/create-connection.d.mts +24 -3
- package/dist/actions/create-connection.d.mts.map +1 -1
- package/dist/actions/create-connection.mjs +10 -10
- package/dist/actions/create-connection.mjs.map +1 -1
- package/dist/actions/create-database.cjs +19 -19
- package/dist/actions/create-database.cjs.map +1 -1
- package/dist/actions/create-database.d.cts +48 -3
- package/dist/actions/create-database.d.cts.map +1 -1
- package/dist/actions/create-database.d.mts +48 -3
- package/dist/actions/create-database.d.mts.map +1 -1
- package/dist/actions/create-database.mjs +19 -19
- package/dist/actions/create-database.mjs.map +1 -1
- package/dist/actions/create-project.cjs +23 -23
- package/dist/actions/create-project.cjs.map +1 -1
- package/dist/actions/create-project.d.cts +50 -3
- package/dist/actions/create-project.d.cts.map +1 -1
- package/dist/actions/create-project.d.mts +50 -3
- package/dist/actions/create-project.d.mts.map +1 -1
- package/dist/actions/create-project.mjs +23 -23
- package/dist/actions/create-project.mjs.map +1 -1
- package/dist/actions/delete-connection.cjs.map +1 -1
- package/dist/actions/delete-connection.d.cts +7 -3
- package/dist/actions/delete-connection.d.cts.map +1 -1
- package/dist/actions/delete-connection.d.mts +7 -3
- package/dist/actions/delete-connection.d.mts.map +1 -1
- package/dist/actions/delete-connection.mjs.map +1 -1
- package/dist/actions/delete-database.cjs +1 -1
- package/dist/actions/delete-database.cjs.map +1 -1
- package/dist/actions/delete-database.d.cts +9 -3
- package/dist/actions/delete-database.d.cts.map +1 -1
- package/dist/actions/delete-database.d.mts +9 -3
- package/dist/actions/delete-database.d.mts.map +1 -1
- package/dist/actions/delete-database.mjs +1 -1
- package/dist/actions/delete-database.mjs.map +1 -1
- package/dist/actions/delete-project.cjs.map +1 -1
- package/dist/actions/delete-project.d.cts +7 -3
- package/dist/actions/delete-project.d.cts.map +1 -1
- package/dist/actions/delete-project.d.mts +7 -3
- package/dist/actions/delete-project.d.mts.map +1 -1
- package/dist/actions/delete-project.mjs.map +1 -1
- package/dist/actions/execute-sql-command.cjs +3 -3
- package/dist/actions/execute-sql-command.cjs.map +1 -1
- package/dist/actions/execute-sql-command.d.cts +17 -3
- package/dist/actions/execute-sql-command.d.cts.map +1 -1
- package/dist/actions/execute-sql-command.d.mts +17 -3
- package/dist/actions/execute-sql-command.d.mts.map +1 -1
- package/dist/actions/execute-sql-command.mjs +3 -3
- package/dist/actions/execute-sql-command.mjs.map +1 -1
- package/dist/actions/execute-sql-query.cjs +2 -2
- package/dist/actions/execute-sql-query.cjs.map +1 -1
- package/dist/actions/execute-sql-query.d.cts +21 -3
- package/dist/actions/execute-sql-query.d.cts.map +1 -1
- package/dist/actions/execute-sql-query.d.mts +21 -3
- package/dist/actions/execute-sql-query.d.mts.map +1 -1
- package/dist/actions/execute-sql-query.mjs +2 -2
- package/dist/actions/execute-sql-query.mjs.map +1 -1
- package/dist/actions/get-database-usage.cjs +5 -5
- package/dist/actions/get-database-usage.cjs.map +1 -1
- package/dist/actions/get-database-usage.d.cts +27 -3
- package/dist/actions/get-database-usage.d.cts.map +1 -1
- package/dist/actions/get-database-usage.d.mts +27 -3
- package/dist/actions/get-database-usage.d.mts.map +1 -1
- package/dist/actions/get-database-usage.mjs +5 -5
- package/dist/actions/get-database-usage.mjs.map +1 -1
- package/dist/actions/get-database.cjs +10 -10
- package/dist/actions/get-database.cjs.map +1 -1
- package/dist/actions/get-database.d.cts +24 -3
- package/dist/actions/get-database.d.cts.map +1 -1
- package/dist/actions/get-database.d.mts +24 -3
- package/dist/actions/get-database.d.mts.map +1 -1
- package/dist/actions/get-database.mjs +10 -10
- package/dist/actions/get-database.mjs.map +1 -1
- package/dist/actions/get-project.cjs +6 -6
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +18 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +18 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +6 -6
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/inspect-database-schema.cjs +8 -8
- package/dist/actions/inspect-database-schema.cjs.map +1 -1
- package/dist/actions/inspect-database-schema.d.cts +36 -3
- package/dist/actions/inspect-database-schema.d.cts.map +1 -1
- package/dist/actions/inspect-database-schema.d.mts +36 -3
- package/dist/actions/inspect-database-schema.d.mts.map +1 -1
- package/dist/actions/inspect-database-schema.mjs +8 -8
- package/dist/actions/inspect-database-schema.mjs.map +1 -1
- package/dist/actions/list-accelerate-regions.cjs +3 -3
- package/dist/actions/list-accelerate-regions.cjs.map +1 -1
- package/dist/actions/list-accelerate-regions.d.cts +9 -3
- package/dist/actions/list-accelerate-regions.d.cts.map +1 -1
- package/dist/actions/list-accelerate-regions.d.mts +9 -3
- package/dist/actions/list-accelerate-regions.d.mts.map +1 -1
- package/dist/actions/list-accelerate-regions.mjs +3 -3
- package/dist/actions/list-accelerate-regions.mjs.map +1 -1
- package/dist/actions/list-backups.cjs +9 -9
- package/dist/actions/list-backups.cjs.map +1 -1
- package/dist/actions/list-backups.d.cts +25 -3
- package/dist/actions/list-backups.d.cts.map +1 -1
- package/dist/actions/list-backups.d.mts +25 -3
- package/dist/actions/list-backups.d.mts.map +1 -1
- package/dist/actions/list-backups.mjs +9 -9
- package/dist/actions/list-backups.mjs.map +1 -1
- package/dist/actions/list-connections.cjs +7 -7
- package/dist/actions/list-connections.cjs.map +1 -1
- package/dist/actions/list-connections.d.cts +26 -3
- package/dist/actions/list-connections.d.cts.map +1 -1
- package/dist/actions/list-connections.d.mts +26 -3
- package/dist/actions/list-connections.d.mts.map +1 -1
- package/dist/actions/list-connections.mjs +7 -7
- package/dist/actions/list-connections.mjs.map +1 -1
- package/dist/actions/list-databases.cjs +11 -11
- package/dist/actions/list-databases.cjs.map +1 -1
- package/dist/actions/list-databases.d.cts +32 -3
- package/dist/actions/list-databases.d.cts.map +1 -1
- package/dist/actions/list-databases.d.mts +32 -3
- package/dist/actions/list-databases.d.mts.map +1 -1
- package/dist/actions/list-databases.mjs +11 -11
- package/dist/actions/list-databases.mjs.map +1 -1
- package/dist/actions/list-postgres-regions.cjs +4 -4
- package/dist/actions/list-postgres-regions.cjs.map +1 -1
- package/dist/actions/list-postgres-regions.d.cts +10 -3
- package/dist/actions/list-postgres-regions.d.cts.map +1 -1
- package/dist/actions/list-postgres-regions.d.mts +10 -3
- package/dist/actions/list-postgres-regions.d.mts.map +1 -1
- package/dist/actions/list-postgres-regions.mjs +4 -4
- package/dist/actions/list-postgres-regions.mjs.map +1 -1
- package/dist/actions/list-projects.cjs +7 -7
- package/dist/actions/list-projects.cjs.map +1 -1
- package/dist/actions/list-projects.d.cts +24 -3
- package/dist/actions/list-projects.d.cts.map +1 -1
- package/dist/actions/list-projects.d.mts +24 -3
- package/dist/actions/list-projects.d.mts.map +1 -1
- package/dist/actions/list-projects.mjs +7 -7
- package/dist/actions/list-projects.mjs.map +1 -1
- package/dist/actions/list-workspace-integrations.cjs +8 -8
- package/dist/actions/list-workspace-integrations.cjs.map +1 -1
- package/dist/actions/list-workspace-integrations.d.cts +30 -3
- package/dist/actions/list-workspace-integrations.d.cts.map +1 -1
- package/dist/actions/list-workspace-integrations.d.mts +30 -3
- package/dist/actions/list-workspace-integrations.d.mts.map +1 -1
- package/dist/actions/list-workspace-integrations.mjs +8 -8
- package/dist/actions/list-workspace-integrations.mjs.map +1 -1
- package/dist/actions/list-workspaces.cjs +5 -5
- package/dist/actions/list-workspaces.cjs.map +1 -1
- package/dist/actions/list-workspaces.d.cts +20 -3
- package/dist/actions/list-workspaces.d.cts.map +1 -1
- package/dist/actions/list-workspaces.d.mts +20 -3
- package/dist/actions/list-workspaces.d.mts.map +1 -1
- package/dist/actions/list-workspaces.mjs +5 -5
- package/dist/actions/list-workspaces.mjs.map +1 -1
- package/dist/actions/restore-backup.cjs +10 -10
- package/dist/actions/restore-backup.cjs.map +1 -1
- package/dist/actions/restore-backup.d.cts +28 -3
- package/dist/actions/restore-backup.d.cts.map +1 -1
- package/dist/actions/restore-backup.d.mts +28 -3
- package/dist/actions/restore-backup.d.mts.map +1 -1
- package/dist/actions/restore-backup.mjs +10 -10
- package/dist/actions/restore-backup.mjs.map +1 -1
- package/dist/actions/transfer-project.cjs +2 -2
- package/dist/actions/transfer-project.cjs.map +1 -1
- package/dist/actions/transfer-project.d.cts +12 -3
- package/dist/actions/transfer-project.d.cts.map +1 -1
- package/dist/actions/transfer-project.d.mts +12 -3
- package/dist/actions/transfer-project.d.mts.map +1 -1
- package/dist/actions/transfer-project.mjs +2 -2
- package/dist/actions/transfer-project.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,44 +6,44 @@ const PrismaCreateProjectInput = zod.z.object({
|
|
|
6
6
|
region: zod.z.string().describe("AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.")
|
|
7
7
|
}).describe("Request parameters for creating a new Prisma project with postgres database.");
|
|
8
8
|
const PrismaCreateProject_RegionInfoSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Region identifier (e.g., 'us-east-1')."),
|
|
10
|
-
name: zod.z.string().describe("Human-readable region name.")
|
|
9
|
+
id: zod.z.string().describe("Region identifier (e.g., 'us-east-1').").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Human-readable region name.").nullable()
|
|
11
11
|
}).describe("Database region information.");
|
|
12
12
|
const PrismaCreateProject_DirectConnectionSchema = zod.z.object({
|
|
13
|
-
host: zod.z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432')."),
|
|
14
|
-
pass: zod.z.string().describe("PostgreSQL password (secure key)."),
|
|
15
|
-
user: zod.z.string().describe("PostgreSQL username (tenant ID).")
|
|
13
|
+
host: zod.z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432').").nullable(),
|
|
14
|
+
pass: zod.z.string().describe("PostgreSQL password (secure key).").nullable(),
|
|
15
|
+
user: zod.z.string().describe("PostgreSQL username (tenant ID).").nullable()
|
|
16
16
|
}).describe("Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.");
|
|
17
17
|
const PrismaCreateProject_ApiKeySchema = zod.z.object({
|
|
18
|
-
id: zod.z.string().describe("Unique API key identifier."),
|
|
19
|
-
name: zod.z.string().describe("Human-readable API key name."),
|
|
20
|
-
type: zod.z.string().describe("Key type, typically 'connection'."),
|
|
21
|
-
createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
|
|
22
|
-
connectionString: zod.z.string().describe("Database connection string with embedded credentials."),
|
|
18
|
+
id: zod.z.string().describe("Unique API key identifier.").nullable(),
|
|
19
|
+
name: zod.z.string().describe("Human-readable API key name.").nullable(),
|
|
20
|
+
type: zod.z.string().describe("Key type, typically 'connection'.").nullable(),
|
|
21
|
+
createdAt: zod.z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
22
|
+
connectionString: zod.z.string().describe("Database connection string with embedded credentials.").nullable(),
|
|
23
23
|
directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
|
|
24
24
|
}).describe("Database API key for connection.");
|
|
25
25
|
const PrismaCreateProject_DatabaseSchema = zod.z.object({
|
|
26
|
-
id: zod.z.string().describe("Unique database identifier."),
|
|
27
|
-
name: zod.z.string().describe("Database name."),
|
|
28
|
-
type: zod.z.string().describe("Database type, always 'database'."),
|
|
26
|
+
id: zod.z.string().describe("Unique database identifier.").nullable(),
|
|
27
|
+
name: zod.z.string().describe("Database name.").nullable(),
|
|
28
|
+
type: zod.z.string().describe("Database type, always 'database'.").nullable(),
|
|
29
29
|
region: PrismaCreateProject_RegionInfoSchema.nullable(),
|
|
30
|
-
status: zod.z.string().describe("Current database status (e.g., 'active', 'provisioning')."),
|
|
30
|
+
status: zod.z.string().describe("Current database status (e.g., 'active', 'provisioning').").nullable(),
|
|
31
31
|
apiKeys: zod.z.array(PrismaCreateProject_ApiKeySchema).describe("List of API keys for database access."),
|
|
32
|
-
createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
|
|
33
|
-
isDefault: zod.z.boolean().describe("True if this is the default database for the project."),
|
|
34
|
-
connectionString: zod.z.string().describe("Primary database connection string."),
|
|
32
|
+
createdAt: zod.z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
33
|
+
isDefault: zod.z.boolean().describe("True if this is the default database for the project.").nullable(),
|
|
34
|
+
connectionString: zod.z.string().describe("Primary database connection string.").nullable(),
|
|
35
35
|
directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
|
|
36
36
|
}).describe("Postgres database created with the project.");
|
|
37
37
|
const PrismaCreateProject_WorkspaceInfoSchema = zod.z.object({
|
|
38
|
-
id: zod.z.string().describe("Unique workspace ID containing this project."),
|
|
39
|
-
name: zod.z.string().describe("Human-readable workspace name.")
|
|
38
|
+
id: zod.z.string().describe("Unique workspace ID containing this project.").nullable(),
|
|
39
|
+
name: zod.z.string().describe("Human-readable workspace name.").nullable()
|
|
40
40
|
}).describe("Workspace information in project response.");
|
|
41
41
|
const PrismaCreateProject_CreatedProjectSchema = zod.z.object({
|
|
42
|
-
id: zod.z.string().describe("Unique project identifier for future operations."),
|
|
43
|
-
name: zod.z.string().describe("Project name as specified in request."),
|
|
44
|
-
type: zod.z.string().describe("Object type, always 'project'."),
|
|
42
|
+
id: zod.z.string().describe("Unique project identifier for future operations.").nullable(),
|
|
43
|
+
name: zod.z.string().describe("Project name as specified in request.").nullable(),
|
|
44
|
+
type: zod.z.string().describe("Object type, always 'project'.").nullable(),
|
|
45
45
|
database: PrismaCreateProject_DatabaseSchema.nullable(),
|
|
46
|
-
createdAt: zod.z.string().describe("ISO 8601 creation timestamp."),
|
|
46
|
+
createdAt: zod.z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
47
47
|
workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable()
|
|
48
48
|
}).describe("Complete project object returned after creation.");
|
|
49
49
|
const PrismaCreateProjectOutput = zod.z.object({ data: PrismaCreateProject_CreatedProjectSchema.nullable() }).describe("API response containing newly created project with database.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-project.cjs","names":["z","action"],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput
|
|
1
|
+
{"version":3,"file":"create-project.cjs","names":["z","action"],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput = z.object({\n name: z.string().describe(\"Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc.\"),\n region: z.string().describe(\"AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.\"),\n}).describe(\"Request parameters for creating a new Prisma project with postgres database.\");\nconst PrismaCreateProject_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).describe(\"Database region information.\");\nconst PrismaCreateProject_DirectConnectionSchema = z.object({\n host: z.string().describe(\"PostgreSQL host and port (e.g., 'db.prisma.io:5432').\").nullable(),\n pass: z.string().describe(\"PostgreSQL password (secure key).\").nullable(),\n user: z.string().describe(\"PostgreSQL username (tenant ID).\").nullable(),\n}).describe(\"Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.\");\nconst PrismaCreateProject_ApiKeySchema = z.object({\n id: z.string().describe(\"Unique API key identifier.\").nullable(),\n name: z.string().describe(\"Human-readable API key name.\").nullable(),\n type: z.string().describe(\"Key type, typically 'connection'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n connectionString: z.string().describe(\"Database connection string with embedded credentials.\").nullable(),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateProject_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Database name.\").nullable(),\n type: z.string().describe(\"Database type, always 'database'.\").nullable(),\n region: PrismaCreateProject_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status (e.g., 'active', 'provisioning').\").nullable(),\n apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe(\"List of API keys for database access.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\").nullable(),\n connectionString: z.string().describe(\"Primary database connection string.\").nullable(),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Postgres database created with the project.\");\nconst PrismaCreateProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).describe(\"Workspace information in project response.\");\nconst PrismaCreateProject_CreatedProjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier for future operations.\").nullable(),\n name: z.string().describe(\"Project name as specified in request.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n database: PrismaCreateProject_DatabaseSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable(),\n}).describe(\"Complete project object returned after creation.\");\nexport const PrismaCreateProjectOutput = z.object({\n data: PrismaCreateProject_CreatedProjectSchema.nullable(),\n}).describe(\"API response containing newly created project with database.\");\n\nexport const prismaCreateProject = action(\"PRISMA_CREATE_PROJECT\", {\n slug: \"prisma-create-project\",\n name: \"Create Prisma Project\",\n description: \"Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.\",\n input: PrismaCreateProjectInput,\n output: PrismaCreateProjectOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-project.d.ts
|
|
4
|
-
declare const PrismaCreateProjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaCreateProjectInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
region: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PrismaCreateProjectOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
type: z.ZodNullable<z.ZodString>;
|
|
13
|
+
database: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
region: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodString>;
|
|
22
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
name: z.ZodNullable<z.ZodString>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
27
|
+
connectionString: z.ZodNullable<z.ZodString>;
|
|
28
|
+
directConnection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
host: z.ZodNullable<z.ZodString>;
|
|
30
|
+
pass: z.ZodNullable<z.ZodString>;
|
|
31
|
+
user: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
connectionString: z.ZodNullable<z.ZodString>;
|
|
37
|
+
directConnection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
|
+
host: z.ZodNullable<z.ZodString>;
|
|
39
|
+
pass: z.ZodNullable<z.ZodString>;
|
|
40
|
+
user: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
44
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
id: z.ZodNullable<z.ZodString>;
|
|
46
|
+
name: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const prismaCreateProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
name: string;
|
|
52
|
+
region: string;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { prismaCreateProject };
|
|
9
56
|
//# sourceMappingURL=create-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-project.d.cts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"create-project.d.cts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA6CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-project.d.ts
|
|
4
|
-
declare const PrismaCreateProjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaCreateProjectInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
region: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PrismaCreateProjectOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
type: z.ZodNullable<z.ZodString>;
|
|
13
|
+
database: z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
type: z.ZodNullable<z.ZodString>;
|
|
17
|
+
region: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodString>;
|
|
22
|
+
apiKeys: z.ZodArray<z.ZodObject<{
|
|
23
|
+
id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
name: z.ZodNullable<z.ZodString>;
|
|
25
|
+
type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
27
|
+
connectionString: z.ZodNullable<z.ZodString>;
|
|
28
|
+
directConnection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
|
+
host: z.ZodNullable<z.ZodString>;
|
|
30
|
+
pass: z.ZodNullable<z.ZodString>;
|
|
31
|
+
user: z.ZodNullable<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
isDefault: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
+
connectionString: z.ZodNullable<z.ZodString>;
|
|
37
|
+
directConnection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
38
|
+
host: z.ZodNullable<z.ZodString>;
|
|
39
|
+
pass: z.ZodNullable<z.ZodString>;
|
|
40
|
+
user: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
createdAt: z.ZodNullable<z.ZodString>;
|
|
44
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
45
|
+
id: z.ZodNullable<z.ZodString>;
|
|
46
|
+
name: z.ZodNullable<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const prismaCreateProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
|
+
name: string;
|
|
52
|
+
region: string;
|
|
53
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
54
|
//#endregion
|
|
8
55
|
export { prismaCreateProject };
|
|
9
56
|
//# sourceMappingURL=create-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-project.d.mts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"create-project.d.mts","names":[],"sources":["../../src/actions/create-project.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cA6CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -6,44 +6,44 @@ const PrismaCreateProjectInput = z.object({
|
|
|
6
6
|
region: z.string().describe("AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.")
|
|
7
7
|
}).describe("Request parameters for creating a new Prisma project with postgres database.");
|
|
8
8
|
const PrismaCreateProject_RegionInfoSchema = z.object({
|
|
9
|
-
id: z.string().describe("Region identifier (e.g., 'us-east-1')."),
|
|
10
|
-
name: z.string().describe("Human-readable region name.")
|
|
9
|
+
id: z.string().describe("Region identifier (e.g., 'us-east-1').").nullable(),
|
|
10
|
+
name: z.string().describe("Human-readable region name.").nullable()
|
|
11
11
|
}).describe("Database region information.");
|
|
12
12
|
const PrismaCreateProject_DirectConnectionSchema = z.object({
|
|
13
|
-
host: z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432')."),
|
|
14
|
-
pass: z.string().describe("PostgreSQL password (secure key)."),
|
|
15
|
-
user: z.string().describe("PostgreSQL username (tenant ID).")
|
|
13
|
+
host: z.string().describe("PostgreSQL host and port (e.g., 'db.prisma.io:5432').").nullable(),
|
|
14
|
+
pass: z.string().describe("PostgreSQL password (secure key).").nullable(),
|
|
15
|
+
user: z.string().describe("PostgreSQL username (tenant ID).").nullable()
|
|
16
16
|
}).describe("Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.");
|
|
17
17
|
const PrismaCreateProject_ApiKeySchema = z.object({
|
|
18
|
-
id: z.string().describe("Unique API key identifier."),
|
|
19
|
-
name: z.string().describe("Human-readable API key name."),
|
|
20
|
-
type: z.string().describe("Key type, typically 'connection'."),
|
|
21
|
-
createdAt: z.string().describe("ISO 8601 creation timestamp."),
|
|
22
|
-
connectionString: z.string().describe("Database connection string with embedded credentials."),
|
|
18
|
+
id: z.string().describe("Unique API key identifier.").nullable(),
|
|
19
|
+
name: z.string().describe("Human-readable API key name.").nullable(),
|
|
20
|
+
type: z.string().describe("Key type, typically 'connection'.").nullable(),
|
|
21
|
+
createdAt: z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
22
|
+
connectionString: z.string().describe("Database connection string with embedded credentials.").nullable(),
|
|
23
23
|
directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
|
|
24
24
|
}).describe("Database API key for connection.");
|
|
25
25
|
const PrismaCreateProject_DatabaseSchema = z.object({
|
|
26
|
-
id: z.string().describe("Unique database identifier."),
|
|
27
|
-
name: z.string().describe("Database name."),
|
|
28
|
-
type: z.string().describe("Database type, always 'database'."),
|
|
26
|
+
id: z.string().describe("Unique database identifier.").nullable(),
|
|
27
|
+
name: z.string().describe("Database name.").nullable(),
|
|
28
|
+
type: z.string().describe("Database type, always 'database'.").nullable(),
|
|
29
29
|
region: PrismaCreateProject_RegionInfoSchema.nullable(),
|
|
30
|
-
status: z.string().describe("Current database status (e.g., 'active', 'provisioning')."),
|
|
30
|
+
status: z.string().describe("Current database status (e.g., 'active', 'provisioning').").nullable(),
|
|
31
31
|
apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe("List of API keys for database access."),
|
|
32
|
-
createdAt: z.string().describe("ISO 8601 creation timestamp."),
|
|
33
|
-
isDefault: z.boolean().describe("True if this is the default database for the project."),
|
|
34
|
-
connectionString: z.string().describe("Primary database connection string."),
|
|
32
|
+
createdAt: z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
33
|
+
isDefault: z.boolean().describe("True if this is the default database for the project.").nullable(),
|
|
34
|
+
connectionString: z.string().describe("Primary database connection string.").nullable(),
|
|
35
35
|
directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional()
|
|
36
36
|
}).describe("Postgres database created with the project.");
|
|
37
37
|
const PrismaCreateProject_WorkspaceInfoSchema = z.object({
|
|
38
|
-
id: z.string().describe("Unique workspace ID containing this project."),
|
|
39
|
-
name: z.string().describe("Human-readable workspace name.")
|
|
38
|
+
id: z.string().describe("Unique workspace ID containing this project.").nullable(),
|
|
39
|
+
name: z.string().describe("Human-readable workspace name.").nullable()
|
|
40
40
|
}).describe("Workspace information in project response.");
|
|
41
41
|
const PrismaCreateProject_CreatedProjectSchema = z.object({
|
|
42
|
-
id: z.string().describe("Unique project identifier for future operations."),
|
|
43
|
-
name: z.string().describe("Project name as specified in request."),
|
|
44
|
-
type: z.string().describe("Object type, always 'project'."),
|
|
42
|
+
id: z.string().describe("Unique project identifier for future operations.").nullable(),
|
|
43
|
+
name: z.string().describe("Project name as specified in request.").nullable(),
|
|
44
|
+
type: z.string().describe("Object type, always 'project'.").nullable(),
|
|
45
45
|
database: PrismaCreateProject_DatabaseSchema.nullable(),
|
|
46
|
-
createdAt: z.string().describe("ISO 8601 creation timestamp."),
|
|
46
|
+
createdAt: z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
47
47
|
workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable()
|
|
48
48
|
}).describe("Complete project object returned after creation.");
|
|
49
49
|
const prismaCreateProject = action("PRISMA_CREATE_PROJECT", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-project.mjs","names":[],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput
|
|
1
|
+
{"version":3,"file":"create-project.mjs","names":[],"sources":["../../src/actions/create-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaCreateProjectInput = z.object({\n name: z.string().describe(\"Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like 'Production API', 'Dev Environment', etc.\"),\n region: z.string().describe(\"AWS region where the postgres database will be deployed. Available regions: 'us-east-1', 'us-west-1', 'eu-central-1', 'eu-west-3', 'ap-southeast-1', 'ap-northeast-1'. Choose region closest to your users for optimal performance.\"),\n}).describe(\"Request parameters for creating a new Prisma project with postgres database.\");\nconst PrismaCreateProject_RegionInfoSchema = z.object({\n id: z.string().describe(\"Region identifier (e.g., 'us-east-1').\").nullable(),\n name: z.string().describe(\"Human-readable region name.\").nullable(),\n}).describe(\"Database region information.\");\nconst PrismaCreateProject_DirectConnectionSchema = z.object({\n host: z.string().describe(\"PostgreSQL host and port (e.g., 'db.prisma.io:5432').\").nullable(),\n pass: z.string().describe(\"PostgreSQL password (secure key).\").nullable(),\n user: z.string().describe(\"PostgreSQL username (tenant ID).\").nullable(),\n}).describe(\"Direct PostgreSQL connection credentials for bypassing Prisma Accelerate.\");\nconst PrismaCreateProject_ApiKeySchema = z.object({\n id: z.string().describe(\"Unique API key identifier.\").nullable(),\n name: z.string().describe(\"Human-readable API key name.\").nullable(),\n type: z.string().describe(\"Key type, typically 'connection'.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n connectionString: z.string().describe(\"Database connection string with embedded credentials.\").nullable(),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Database API key for connection.\");\nconst PrismaCreateProject_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique database identifier.\").nullable(),\n name: z.string().describe(\"Database name.\").nullable(),\n type: z.string().describe(\"Database type, always 'database'.\").nullable(),\n region: PrismaCreateProject_RegionInfoSchema.nullable(),\n status: z.string().describe(\"Current database status (e.g., 'active', 'provisioning').\").nullable(),\n apiKeys: z.array(PrismaCreateProject_ApiKeySchema).describe(\"List of API keys for database access.\"),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n isDefault: z.boolean().describe(\"True if this is the default database for the project.\").nullable(),\n connectionString: z.string().describe(\"Primary database connection string.\").nullable(),\n directConnection: PrismaCreateProject_DirectConnectionSchema.nullable().optional(),\n}).describe(\"Postgres database created with the project.\");\nconst PrismaCreateProject_WorkspaceInfoSchema = z.object({\n id: z.string().describe(\"Unique workspace ID containing this project.\").nullable(),\n name: z.string().describe(\"Human-readable workspace name.\").nullable(),\n}).describe(\"Workspace information in project response.\");\nconst PrismaCreateProject_CreatedProjectSchema = z.object({\n id: z.string().describe(\"Unique project identifier for future operations.\").nullable(),\n name: z.string().describe(\"Project name as specified in request.\").nullable(),\n type: z.string().describe(\"Object type, always 'project'.\").nullable(),\n database: PrismaCreateProject_DatabaseSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n workspace: PrismaCreateProject_WorkspaceInfoSchema.nullable(),\n}).describe(\"Complete project object returned after creation.\");\nexport const PrismaCreateProjectOutput = z.object({\n data: PrismaCreateProject_CreatedProjectSchema.nullable(),\n}).describe(\"API response containing newly created project with database.\");\n\nexport const prismaCreateProject = action(\"PRISMA_CREATE_PROJECT\", {\n slug: \"prisma-create-project\",\n name: \"Create Prisma Project\",\n description: \"Create new Prisma project with managed postgres database. Creates project in authenticated user's workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.\",\n input: PrismaCreateProjectInput,\n output: PrismaCreateProjectOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-connection.cjs","names":["z","action"],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteConnectionInput
|
|
1
|
+
{"version":3,"file":"delete-connection.cjs","names":["z","action"],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteConnectionInput = z.object({\n id: z.string().describe(\"Unique connection identifier to delete (format: 'con_xxxxx'). WARNING: This permanently revokes API key access to the database. Any applications using this connection string will lose access immediately. This action cannot be undone - ensure no critical systems depend on this connection.\"),\n}).describe(\"Request parameters for deleting a database connection.\");\nexport const PrismaDeleteConnectionOutput = z.object({}).describe(\"Empty response for successful connection deletion.\");\n\nexport const prismaDeleteConnection = action(\"PRISMA_DELETE_CONNECTION\", {\n slug: \"prisma-delete-connection\",\n name: \"Delete Database Connection\",\n description: \"Permanently delete database connection and revoke API key access. WARNING: This immediately revokes database access for any applications using this connection string. Ensure no critical systems depend on this connection.\",\n input: PrismaDeleteConnectionInput,\n output: PrismaDeleteConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,EAC5T,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEtH,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-connection.d.ts
|
|
4
|
-
declare const PrismaDeleteConnectionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteConnectionInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteConnectionOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const prismaDeleteConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { prismaDeleteConnection };
|
|
9
13
|
//# sourceMappingURL=delete-connection.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-connection.d.cts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-connection.d.cts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-connection.d.ts
|
|
4
|
-
declare const PrismaDeleteConnectionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteConnectionInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteConnectionOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const prismaDeleteConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { prismaDeleteConnection };
|
|
9
13
|
//# sourceMappingURL=delete-connection.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-connection.d.mts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-connection.d.mts","names":[],"sources":["../../src/actions/delete-connection.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-connection.mjs","names":[],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteConnectionInput
|
|
1
|
+
{"version":3,"file":"delete-connection.mjs","names":[],"sources":["../../src/actions/delete-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteConnectionInput = z.object({\n id: z.string().describe(\"Unique connection identifier to delete (format: 'con_xxxxx'). WARNING: This permanently revokes API key access to the database. Any applications using this connection string will lose access immediately. This action cannot be undone - ensure no critical systems depend on this connection.\"),\n}).describe(\"Request parameters for deleting a database connection.\");\nexport const PrismaDeleteConnectionOutput = z.object({}).describe(\"Empty response for successful connection deletion.\");\n\nexport const prismaDeleteConnection = action(\"PRISMA_DELETE_CONNECTION\", {\n slug: \"prisma-delete-connection\",\n name: \"Delete Database Connection\",\n description: \"Permanently delete database connection and revoke API key access. WARNING: This immediately revokes database access for any applications using this connection string. Ensure no critical systems depend on this connection.\",\n input: PrismaDeleteConnectionInput,\n output: PrismaDeleteConnectionOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,EAC5T,CAAC,CAAC,CAAC,SAAS,wDAOH;CACP,QAP0C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAOxD;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-database.ts
|
|
4
4
|
const PrismaDeleteDatabaseInput = zod.z.object({ databaseId: zod.z.string().describe("Unique database identifier to delete (format: 'db_xxxxx'). WARNING: This permanently deletes the database and all stored data. Default databases typically cannot be deleted. This action cannot be undone. Ensure all important data is backed up before deletion.") }).describe("Request parameters for deleting a database.");
|
|
5
|
-
const PrismaDeleteDatabaseOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful database deletion.") }).describe("Response containing deletion confirmation message.");
|
|
5
|
+
const PrismaDeleteDatabaseOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating successful database deletion.").nullable() }).describe("Response containing deletion confirmation message.");
|
|
6
6
|
const prismaDeleteDatabase = require_action.action("PRISMA_DELETE_DATABASE", {
|
|
7
7
|
slug: "prisma-delete-database",
|
|
8
8
|
name: "Delete Prisma Database",
|
|
@@ -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 PrismaDeleteDatabaseInput
|
|
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 PrismaDeleteDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to delete (format: 'db_xxxxx'). WARNING: This permanently deletes the database and all stored data. Default databases typically cannot be deleted. This action cannot be undone. Ensure all important data is backed up before deletion.\"),\n}).describe(\"Request parameters for deleting a database.\");\nexport const PrismaDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful database deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const prismaDeleteDatabase = action(\"PRISMA_DELETE_DATABASE\", {\n slug: \"prisma-delete-database\",\n name: \"Delete Prisma Database\",\n description: \"Permanently delete Prisma database and all stored data. WARNING: This action cannot be undone. All data in the database will be permanently destroyed. Default databases typically cannot be deleted.\",\n input: PrismaDeleteDatabaseInput,\n output: PrismaDeleteDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qQAAqQ,EACvS,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-database.d.ts
|
|
4
|
-
declare const PrismaDeleteDatabaseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteDatabaseInput: z.ZodObject<{
|
|
5
|
+
databaseId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteDatabaseOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const prismaDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
databaseId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { prismaDeleteDatabase };
|
|
9
15
|
//# sourceMappingURL=delete-database.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-database.d.ts
|
|
4
|
-
declare const PrismaDeleteDatabaseInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteDatabaseInput: z.ZodObject<{
|
|
5
|
+
databaseId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteDatabaseOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const prismaDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
databaseId: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { prismaDeleteDatabase };
|
|
9
15
|
//# sourceMappingURL=delete-database.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const prismaDeleteDatabase = action("PRISMA_DELETE_DATABASE", {
|
|
|
5
5
|
name: "Delete Prisma Database",
|
|
6
6
|
description: "Permanently delete Prisma database and all stored data. WARNING: This action cannot be undone. All data in the database will be permanently destroyed. Default databases typically cannot be deleted.",
|
|
7
7
|
input: z.object({ databaseId: z.string().describe("Unique database identifier to delete (format: 'db_xxxxx'). WARNING: This permanently deletes the database and all stored data. Default databases typically cannot be deleted. This action cannot be undone. Ensure all important data is backed up before deletion.") }).describe("Request parameters for deleting a database."),
|
|
8
|
-
output: z.object({ message: z.string().describe("Confirmation message indicating successful database deletion.") }).describe("Response containing deletion confirmation message.")
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message indicating successful database deletion.").nullable() }).describe("Response containing deletion confirmation message.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { prismaDeleteDatabase };
|
|
@@ -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 PrismaDeleteDatabaseInput
|
|
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 PrismaDeleteDatabaseInput = z.object({\n databaseId: z.string().describe(\"Unique database identifier to delete (format: 'db_xxxxx'). WARNING: This permanently deletes the database and all stored data. Default databases typically cannot be deleted. This action cannot be undone. Ensure all important data is backed up before deletion.\"),\n}).describe(\"Request parameters for deleting a database.\");\nexport const PrismaDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating successful database deletion.\").nullable(),\n}).describe(\"Response containing deletion confirmation message.\");\n\nexport const prismaDeleteDatabase = action(\"PRISMA_DELETE_DATABASE\", {\n slug: \"prisma-delete-database\",\n name: \"Delete Prisma Database\",\n description: \"Permanently delete Prisma database and all stored data. WARNING: This action cannot be undone. All data in the database will be permanently destroyed. Default databases typically cannot be deleted.\",\n input: PrismaDeleteDatabaseInput,\n output: PrismaDeleteDatabaseOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qQAAqQ,EACvS,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteProjectInput
|
|
1
|
+
{"version":3,"file":"delete-project.cjs","names":["z","action"],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to delete (format: 'proj_xxxxx'). WARNING: This permanently deletes the project and all associated data including databases, environments, and configurations. This action cannot be undone. Ensure all important data is backed up before deletion.\"),\n}).describe(\"Request parameters for deleting a project.\");\nexport const PrismaDeleteProjectOutput = z.object({}).describe(\"Empty response for successful project deletion.\");\n\nexport const prismaDeleteProject = action(\"PRISMA_DELETE_PROJECT\", {\n slug: \"prisma-delete-project\",\n name: \"Delete Prisma Project\",\n description: \"Permanently delete Prisma project and all associated resources. WARNING: This action cannot be undone. All databases, environments, and project data will be permanently destroyed. Use with extreme caution in production environments.\",\n input: PrismaDeleteProjectInput,\n output: PrismaDeleteProjectOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gRAAgR,EAC1S,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEhH,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-project.d.ts
|
|
4
|
-
declare const PrismaDeleteProjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteProjectInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteProjectOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const prismaDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { prismaDeleteProject };
|
|
9
13
|
//# sourceMappingURL=delete-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project.d.cts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"delete-project.d.cts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-project.d.ts
|
|
4
|
-
declare const PrismaDeleteProjectInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PrismaDeleteProjectInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PrismaDeleteProjectOutput: z.ZodObject<{}, z.core.$strip>;
|
|
8
|
+
declare const prismaDeleteProject: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { prismaDeleteProject };
|
|
9
13
|
//# sourceMappingURL=delete-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project.d.mts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"delete-project.d.mts","names":[],"sources":["../../src/actions/delete-project.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteProjectInput
|
|
1
|
+
{"version":3,"file":"delete-project.mjs","names":[],"sources":["../../src/actions/delete-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrismaDeleteProjectInput = z.object({\n id: z.string().describe(\"Unique project identifier to delete (format: 'proj_xxxxx'). WARNING: This permanently deletes the project and all associated data including databases, environments, and configurations. This action cannot be undone. Ensure all important data is backed up before deletion.\"),\n}).describe(\"Request parameters for deleting a project.\");\nexport const PrismaDeleteProjectOutput = z.object({}).describe(\"Empty response for successful project deletion.\");\n\nexport const prismaDeleteProject = action(\"PRISMA_DELETE_PROJECT\", {\n slug: \"prisma-delete-project\",\n name: \"Delete Prisma Project\",\n description: \"Permanently delete Prisma project and all associated resources. WARNING: This action cannot be undone. All databases, environments, and project data will be permanently destroyed. Use with extreme caution in production environments.\",\n input: PrismaDeleteProjectInput,\n output: PrismaDeleteProjectOutput,\n});\n"],"mappings":";;AASA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gRAAgR,EAC1S,CAAC,CAAC,CAAC,SAAS,4CAOH;CACP,QAPuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAOrD;AACV,CAAC"}
|