@distilled.cloud/prisma-postgres 0.0.0 → 0.2.5-alpha2
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/README.md +47 -6
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +55 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +32 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +24 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/deleteV1ConnectionsById.d.ts +14 -0
- package/lib/operations/deleteV1ConnectionsById.d.ts.map +1 -0
- package/lib/operations/deleteV1ConnectionsById.js +22 -0
- package/lib/operations/deleteV1ConnectionsById.js.map +1 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts +14 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.js +23 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/deleteV1IntegrationsById.d.ts +14 -0
- package/lib/operations/deleteV1IntegrationsById.d.ts.map +1 -0
- package/lib/operations/deleteV1IntegrationsById.js +22 -0
- package/lib/operations/deleteV1IntegrationsById.js.map +1 -0
- package/lib/operations/deleteV1ProjectsById.d.ts +14 -0
- package/lib/operations/deleteV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/deleteV1ProjectsById.js +22 -0
- package/lib/operations/deleteV1ProjectsById.js.map +1 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts +15 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts.map +1 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js +27 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js.map +1 -0
- package/lib/operations/getV1Connections.d.ts +53 -0
- package/lib/operations/getV1Connections.d.ts.map +1 -0
- package/lib/operations/getV1Connections.js +59 -0
- package/lib/operations/getV1Connections.js.map +1 -0
- package/lib/operations/getV1ConnectionsById.d.ts +47 -0
- package/lib/operations/getV1ConnectionsById.d.ts.map +1 -0
- package/lib/operations/getV1ConnectionsById.js +55 -0
- package/lib/operations/getV1ConnectionsById.js.map +1 -0
- package/lib/operations/getV1Databases.d.ts +72 -0
- package/lib/operations/getV1Databases.d.ts.map +1 -0
- package/lib/operations/getV1Databases.js +83 -0
- package/lib/operations/getV1Databases.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts +66 -0
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseId.js +79 -0
- package/lib/operations/getV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +31 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js +40 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +53 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js +62 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +32 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js +41 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js.map +1 -0
- package/lib/operations/getV1Integrations.d.ts +37 -0
- package/lib/operations/getV1Integrations.d.ts.map +1 -0
- package/lib/operations/getV1Integrations.js +44 -0
- package/lib/operations/getV1Integrations.js.map +1 -0
- package/lib/operations/getV1IntegrationsById.d.ts +31 -0
- package/lib/operations/getV1IntegrationsById.d.ts.map +1 -0
- package/lib/operations/getV1IntegrationsById.js +39 -0
- package/lib/operations/getV1IntegrationsById.js.map +1 -0
- package/lib/operations/getV1Projects.d.ts +33 -0
- package/lib/operations/getV1Projects.d.ts.map +1 -0
- package/lib/operations/getV1Projects.js +39 -0
- package/lib/operations/getV1Projects.js.map +1 -0
- package/lib/operations/getV1ProjectsById.d.ts +28 -0
- package/lib/operations/getV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/getV1ProjectsById.js +35 -0
- package/lib/operations/getV1ProjectsById.js.map +1 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +72 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts.map +1 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js +86 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js.map +1 -0
- package/lib/operations/getV1Regions.d.ts +22 -0
- package/lib/operations/getV1Regions.d.ts.map +1 -0
- package/lib/operations/getV1Regions.js +28 -0
- package/lib/operations/getV1Regions.js.map +1 -0
- package/lib/operations/getV1RegionsAccelerate.d.ts +18 -0
- package/lib/operations/getV1RegionsAccelerate.d.ts.map +1 -0
- package/lib/operations/getV1RegionsAccelerate.js +26 -0
- package/lib/operations/getV1RegionsAccelerate.js.map +1 -0
- package/lib/operations/getV1RegionsPostgres.d.ts +19 -0
- package/lib/operations/getV1RegionsPostgres.d.ts.map +1 -0
- package/lib/operations/getV1RegionsPostgres.js +27 -0
- package/lib/operations/getV1RegionsPostgres.js.map +1 -0
- package/lib/operations/getV1Workspaces.d.ts +27 -0
- package/lib/operations/getV1Workspaces.d.ts.map +1 -0
- package/lib/operations/getV1Workspaces.js +33 -0
- package/lib/operations/getV1Workspaces.js.map +1 -0
- package/lib/operations/getV1WorkspacesById.d.ts +22 -0
- package/lib/operations/getV1WorkspacesById.d.ts.map +1 -0
- package/lib/operations/getV1WorkspacesById.js +30 -0
- package/lib/operations/getV1WorkspacesById.js.map +1 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +37 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map +1 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js +49 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js.map +1 -0
- package/lib/operations/index.d.ts +32 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +32 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +67 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.js +81 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/patchV1ProjectsById.d.ts +30 -0
- package/lib/operations/patchV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/patchV1ProjectsById.js +38 -0
- package/lib/operations/patchV1ProjectsById.js.map +1 -0
- package/lib/operations/postV1Connections.d.ts +52 -0
- package/lib/operations/postV1Connections.d.ts.map +1 -0
- package/lib/operations/postV1Connections.js +59 -0
- package/lib/operations/postV1Connections.js.map +1 -0
- package/lib/operations/postV1Databases.d.ts +69 -0
- package/lib/operations/postV1Databases.d.ts.map +1 -0
- package/lib/operations/postV1Databases.js +83 -0
- package/lib/operations/postV1Databases.js.map +1 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +55 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +64 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -0
- package/lib/operations/postV1Projects.d.ts +113 -0
- package/lib/operations/postV1Projects.d.ts.map +1 -0
- package/lib/operations/postV1Projects.js +126 -0
- package/lib/operations/postV1Projects.js.map +1 -0
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts +15 -0
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts.map +1 -0
- package/lib/operations/postV1ProjectsByIdTransfer.js +23 -0
- package/lib/operations/postV1ProjectsByIdTransfer.js.map +1 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +110 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js +127 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +80 -9
- package/src/category.ts +4 -0
- package/src/client.ts +68 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +48 -0
- package/src/index.ts +15 -0
- package/src/operations/deleteV1ConnectionsById.ts +30 -0
- package/src/operations/deleteV1DatabasesByDatabaseId.ts +29 -0
- package/src/operations/deleteV1IntegrationsById.ts +30 -0
- package/src/operations/deleteV1ProjectsById.ts +28 -0
- package/src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts +35 -0
- package/src/operations/getV1Connections.ts +77 -0
- package/src/operations/getV1ConnectionsById.ts +71 -0
- package/src/operations/getV1Databases.ts +103 -0
- package/src/operations/getV1DatabasesByDatabaseId.ts +101 -0
- package/src/operations/getV1DatabasesByDatabaseIdBackups.ts +50 -0
- package/src/operations/getV1DatabasesByDatabaseIdConnections.ts +82 -0
- package/src/operations/getV1DatabasesByDatabaseIdUsage.ts +47 -0
- package/src/operations/getV1Integrations.ts +52 -0
- package/src/operations/getV1IntegrationsById.ts +46 -0
- package/src/operations/getV1Projects.ts +45 -0
- package/src/operations/getV1ProjectsById.ts +41 -0
- package/src/operations/getV1ProjectsByProjectIdDatabases.ts +110 -0
- package/src/operations/getV1Regions.ts +34 -0
- package/src/operations/getV1RegionsAccelerate.ts +38 -0
- package/src/operations/getV1RegionsPostgres.ts +37 -0
- package/src/operations/getV1Workspaces.ts +39 -0
- package/src/operations/getV1WorkspacesById.ts +34 -0
- package/src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts +59 -0
- package/src/operations/index.ts +31 -0
- package/src/operations/patchV1DatabasesByDatabaseId.ts +101 -0
- package/src/operations/patchV1ProjectsById.ts +42 -0
- package/src/operations/postV1Connections.ts +75 -0
- package/src/operations/postV1Databases.ts +103 -0
- package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +82 -0
- package/src/operations/postV1Projects.ts +160 -0
- package/src/operations/postV1ProjectsByIdTransfer.ts +31 -0
- package/src/operations/postV1ProjectsByProjectIdDatabases.ts +165 -0
- package/src/retry.ts +37 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
package/README.md
CHANGED
|
@@ -1,15 +1,56 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @distilled.cloud/prisma-postgres
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Effect-native Prisma Postgres SDK generated from the [Prisma Postgres Management API specification](https://www.prisma.io/docs/postgres). Manage projects, databases, connections, backups, integrations, and workspaces with exhaustive error typing.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
|
-
|
|
8
|
+
npm install @distilled.cloud/prisma-postgres effect
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { Effect, Layer } from "effect";
|
|
15
|
+
import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
|
|
16
|
+
import { getV1Databases } from "@distilled.cloud/prisma-postgres";
|
|
17
|
+
import { CredentialsFromEnv } from "@distilled.cloud/prisma-postgres";
|
|
18
|
+
|
|
19
|
+
const program = Effect.gen(function* () {
|
|
20
|
+
const databases = yield* getV1Databases({});
|
|
21
|
+
return databases.data;
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const PrismaPostgresLive = Layer.mergeAll(
|
|
25
|
+
FetchHttpClient.layer,
|
|
26
|
+
CredentialsFromEnv,
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
program.pipe(Effect.provide(PrismaPostgresLive), Effect.runPromise);
|
|
7
30
|
```
|
|
8
31
|
|
|
9
|
-
|
|
32
|
+
## Configuration
|
|
33
|
+
|
|
34
|
+
Set the following environment variable:
|
|
10
35
|
|
|
11
36
|
```bash
|
|
12
|
-
|
|
37
|
+
PRISMA_POSTGRES_API_TOKEN=your-api-token
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Error Handling
|
|
41
|
+
|
|
42
|
+
```typescript
|
|
43
|
+
import { getV1ProjectsById } from "@distilled.cloud/prisma-postgres";
|
|
44
|
+
|
|
45
|
+
getV1ProjectsById({ id: "missing" }).pipe(
|
|
46
|
+
Effect.catchTags({
|
|
47
|
+
NotFound: () => Effect.succeed(null),
|
|
48
|
+
UnknownPrismaPostgresError: (e) =>
|
|
49
|
+
Effect.fail(new Error(`Unknown: ${e.message}`)),
|
|
50
|
+
}),
|
|
51
|
+
);
|
|
13
52
|
```
|
|
14
53
|
|
|
15
|
-
|
|
54
|
+
## License
|
|
55
|
+
|
|
56
|
+
MIT
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../src/category.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,gCAAgC,CAAC"}
|
package/lib/category.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.js","sourceRoot":"","sources":["../src/category.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,gCAAgC,CAAC"}
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres API Client.
|
|
3
|
+
*
|
|
4
|
+
* Wraps the shared REST client from sdk-core with Prisma Postgres-specific
|
|
5
|
+
* error matching and credential handling.
|
|
6
|
+
*/
|
|
7
|
+
import * as Effect from "effect/Effect";
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
export { UnknownPrismaPostgresError } from "./errors.ts";
|
|
10
|
+
/**
|
|
11
|
+
* Prisma Postgres API client.
|
|
12
|
+
*/
|
|
13
|
+
export declare const API: {
|
|
14
|
+
make: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").OperationConfig<I, O, E>) => any;
|
|
15
|
+
makePaginated: <I extends Schema.Top, O extends Schema.Top, const E extends readonly import("@distilled.cloud/core/client").ApiErrorClass[] = readonly []>(configFn: () => import("@distilled.cloud/core/client").PaginatedOperationConfig<I, O, E>, paginateFn?: ((baseFn: (input: any) => Effect.Effect<any, any, any>, input: any, pagination: import("@distilled.cloud/core/pagination").PaginatedTrait) => import("effect/Stream").Stream<any, any, any>) | undefined) => any;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AASxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAwCzD;;GAEG;AACH,eAAO,MAAM,GAAG;;;CAQd,CAAC"}
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres API Client.
|
|
3
|
+
*
|
|
4
|
+
* Wraps the shared REST client from sdk-core with Prisma Postgres-specific
|
|
5
|
+
* error matching and credential handling.
|
|
6
|
+
*/
|
|
7
|
+
import * as Effect from "effect/Effect";
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
import { makeAPI } from "@distilled.cloud/core/client";
|
|
10
|
+
import { HTTP_STATUS_MAP, UnknownPrismaPostgresError, PrismaPostgresParseError, } from "./errors.js";
|
|
11
|
+
// Re-export for backwards compatibility
|
|
12
|
+
export { UnknownPrismaPostgresError } from "./errors.js";
|
|
13
|
+
import { Credentials } from "./credentials.js";
|
|
14
|
+
// API Error Response Schema — Prisma Postgres wraps errors in { error: { code, message, hint? } }
|
|
15
|
+
const ApiErrorResponse = Schema.Struct({
|
|
16
|
+
error: Schema.Struct({
|
|
17
|
+
code: Schema.optional(Schema.String),
|
|
18
|
+
message: Schema.String,
|
|
19
|
+
hint: Schema.optional(Schema.String),
|
|
20
|
+
}),
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* Match a Prisma Postgres API error response to the appropriate error class based on HTTP status.
|
|
24
|
+
*/
|
|
25
|
+
const matchError = (status, errorBody) => {
|
|
26
|
+
try {
|
|
27
|
+
const parsed = Schema.decodeUnknownSync(ApiErrorResponse)(errorBody);
|
|
28
|
+
const ErrorClass = HTTP_STATUS_MAP[status];
|
|
29
|
+
if (ErrorClass) {
|
|
30
|
+
return Effect.fail(new ErrorClass({ message: parsed.error.message ?? "" }));
|
|
31
|
+
}
|
|
32
|
+
return Effect.fail(new UnknownPrismaPostgresError({
|
|
33
|
+
code: parsed.error.code,
|
|
34
|
+
message: parsed.error.message,
|
|
35
|
+
hint: parsed.error.hint,
|
|
36
|
+
body: errorBody,
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
return Effect.fail(new UnknownPrismaPostgresError({ body: errorBody }));
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Prisma Postgres API client.
|
|
45
|
+
*/
|
|
46
|
+
export const API = makeAPI({
|
|
47
|
+
credentials: Credentials,
|
|
48
|
+
getBaseUrl: (creds) => creds.apiBaseUrl,
|
|
49
|
+
getAuthHeaders: (creds) => ({
|
|
50
|
+
Authorization: `Bearer ${creds.apiToken}`,
|
|
51
|
+
}),
|
|
52
|
+
matchError,
|
|
53
|
+
ParseError: PrismaPostgresParseError,
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,aAAa,CAAC;AAErB,wCAAwC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,kGAAkG;AAClG,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;QACpC,OAAO,EAAE,MAAM,CAAC,MAAM;QACtB,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;KACrC,CAAC;CACH,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,UAAU,GAAG,CACjB,MAAc,EACd,SAAkB,EACa,EAAE;IACjC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC;QACrE,MAAM,UAAU,GAAI,eAAuB,CAAC,MAAM,CAAC,CAAC;QACpD,IAAI,UAAU,EAAE,CAAC;YACf,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CACxD,CAAC;QACJ,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,0BAA0B,CAAC;YAC7B,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI;YACvB,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO;YAC7B,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,IAAI;YACvB,IAAI,EAAE,SAAS;SAChB,CAAC,CACH,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,0BAA0B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC;IAC1E,CAAC;AACH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,OAAO,CAAC;IACzB,WAAW,EAAE,WAAkB;IAC/B,UAAU,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;IAC5C,cAAc,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC;QAC/B,aAAa,EAAE,UAAU,KAAK,CAAC,QAAQ,EAAE;KAC1C,CAAC;IACF,UAAU;IACV,UAAU,EAAE,wBAA+B;CAC5C,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Layer from "effect/Layer";
|
|
2
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
3
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
4
|
+
export declare const DEFAULT_API_BASE_URL = "https://api.prisma.io";
|
|
5
|
+
export interface Config {
|
|
6
|
+
readonly apiToken: string;
|
|
7
|
+
readonly apiBaseUrl: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Credentials_base: ServiceMap.ServiceClass<Credentials, "PrismaPostgresCredentials", Config>;
|
|
10
|
+
export declare class Credentials extends Credentials_base {
|
|
11
|
+
}
|
|
12
|
+
export declare const CredentialsFromEnv: Layer.Layer<Credentials, ConfigError, never>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAE5D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAEJ,eAAO,MAAM,kBAAkB,8CAa9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import * as Layer from "effect/Layer";
|
|
3
|
+
import * as ServiceMap from "effect/ServiceMap";
|
|
4
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
5
|
+
export const DEFAULT_API_BASE_URL = "https://api.prisma.io";
|
|
6
|
+
export class Credentials extends ServiceMap.Service()("PrismaPostgresCredentials") {
|
|
7
|
+
}
|
|
8
|
+
export const CredentialsFromEnv = Layer.effect(Credentials, Effect.gen(function* () {
|
|
9
|
+
const apiToken = process.env.PRISMA_POSTGRES_API_TOKEN;
|
|
10
|
+
if (!apiToken) {
|
|
11
|
+
return yield* new ConfigError({
|
|
12
|
+
message: "PRISMA_POSTGRES_API_TOKEN environment variable is required",
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return { apiToken, apiBaseUrl: DEFAULT_API_BASE_URL };
|
|
16
|
+
}));
|
|
17
|
+
//# sourceMappingURL=credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,CAAC,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;AAO5D,MAAM,OAAO,WAAY,SAAQ,UAAU,CAAC,OAAO,EAAuB,CACxE,2BAA2B,CAC5B;CAAG;AAEJ,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC;IAEvD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EAAE,4DAA4D;SACtE,CAAC,CAAC;IACL,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,oBAAoB,EAAE,CAAC;AACxD,CAAC,CAAC,CACH,CAAC"}
|
package/lib/errors.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres-specific error types.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports common HTTP errors from sdk-core and adds Prisma Postgres-specific
|
|
5
|
+
* error matching and API error types.
|
|
6
|
+
*/
|
|
7
|
+
export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
|
|
8
|
+
export type { DefaultErrors } from "@distilled.cloud/core/errors";
|
|
9
|
+
import * as Schema from "effect/Schema";
|
|
10
|
+
declare const UnknownPrismaPostgresError_base: Schema.ErrorClass<UnknownPrismaPostgresError, Schema.TaggedStruct<"UnknownPrismaPostgresError", {
|
|
11
|
+
readonly code: Schema.optional<Schema.String>;
|
|
12
|
+
readonly message: Schema.optional<Schema.String>;
|
|
13
|
+
readonly hint: Schema.optional<Schema.String>;
|
|
14
|
+
readonly body: Schema.Unknown;
|
|
15
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
16
|
+
"@distilled.cloud/error/categories": {
|
|
17
|
+
ServerError: true;
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
export declare class UnknownPrismaPostgresError extends UnknownPrismaPostgresError_base {
|
|
21
|
+
}
|
|
22
|
+
declare const PrismaPostgresParseError_base: Schema.ErrorClass<PrismaPostgresParseError, Schema.TaggedStruct<"PrismaPostgresParseError", {
|
|
23
|
+
readonly body: Schema.Unknown;
|
|
24
|
+
readonly cause: Schema.Unknown;
|
|
25
|
+
}>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
|
|
26
|
+
"@distilled.cloud/error/categories": {
|
|
27
|
+
ParseError: true;
|
|
28
|
+
};
|
|
29
|
+
});
|
|
30
|
+
export declare class PrismaPostgresParseError extends PrismaPostgresParseError_base {
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;;;;;;;;;;;AAIxC,qBAAa,0BAA2B,SAAQ,+BAQhB;CAAG;;;;;;;;;AAGnC,qBAAa,wBAAyB,SAAQ,6BAMf;CAAG"}
|
package/lib/errors.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres-specific error types.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports common HTTP errors from sdk-core and adds Prisma Postgres-specific
|
|
5
|
+
* error matching and API error types.
|
|
6
|
+
*/
|
|
7
|
+
export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
|
|
8
|
+
import * as Schema from "effect/Schema";
|
|
9
|
+
import * as Category from "@distilled.cloud/core/category";
|
|
10
|
+
// Unknown Prisma Postgres error - returned when an error code is not recognized
|
|
11
|
+
export class UnknownPrismaPostgresError extends Schema.TaggedErrorClass()("UnknownPrismaPostgresError", {
|
|
12
|
+
code: Schema.optional(Schema.String),
|
|
13
|
+
message: Schema.optional(Schema.String),
|
|
14
|
+
hint: Schema.optional(Schema.String),
|
|
15
|
+
body: Schema.Unknown,
|
|
16
|
+
}).pipe(Category.withServerError) {
|
|
17
|
+
}
|
|
18
|
+
// Schema parse error wrapper
|
|
19
|
+
export class PrismaPostgresParseError extends Schema.TaggedErrorClass()("PrismaPostgresParseError", {
|
|
20
|
+
body: Schema.Unknown,
|
|
21
|
+
cause: Schema.Unknown,
|
|
22
|
+
}).pipe(Category.withParseError) {
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAC;AAE3D,gFAAgF;AAChF,MAAM,OAAO,0BAA2B,SAAQ,MAAM,CAAC,gBAAgB,EAA8B,CACnG,4BAA4B,EAC5B;IACE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC,OAAO;CACrB,CACF,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC;CAAG;AAEnC,6BAA6B;AAC7B,MAAM,OAAO,wBAAyB,SAAQ,MAAM,CAAC,gBAAgB,EAA4B,CAC/F,0BAA0B,EAC1B;IACE,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC,OAAO;CACtB,CACF,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;CAAG"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres SDK for Effect
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import * as PrismaPostgres from "@distilled.cloud/prisma-postgres";
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
export * from "./credentials.ts";
|
|
10
|
+
export * as Category from "./category.ts";
|
|
11
|
+
export * as T from "./traits.ts";
|
|
12
|
+
export * as Retry from "./retry.ts";
|
|
13
|
+
export { API } from "./client.ts";
|
|
14
|
+
export * from "./errors.ts";
|
|
15
|
+
export { SensitiveString, SensitiveNullableString } from "./sensitive.ts";
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prisma Postgres SDK for Effect
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```ts
|
|
6
|
+
* import * as PrismaPostgres from "@distilled.cloud/prisma-postgres";
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
export * from "./credentials.js";
|
|
10
|
+
export * as Category from "./category.js";
|
|
11
|
+
export * as T from "./traits.js";
|
|
12
|
+
export * as Retry from "./retry.js";
|
|
13
|
+
export { API } from "./client.js";
|
|
14
|
+
export * from "./errors.js";
|
|
15
|
+
export { SensitiveString, SensitiveNullableString } from "./sensitive.js";
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,kBAAkB,CAAC;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const DeleteV1ConnectionsByIdInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type DeleteV1ConnectionsByIdInput = typeof DeleteV1ConnectionsByIdInput.Type;
|
|
6
|
+
export declare const DeleteV1ConnectionsByIdOutput: Schema.Void;
|
|
7
|
+
export type DeleteV1ConnectionsByIdOutput = typeof DeleteV1ConnectionsByIdOutput.Type;
|
|
8
|
+
/**
|
|
9
|
+
* Delete connection
|
|
10
|
+
*
|
|
11
|
+
* Deletes the connection with the given ID.
|
|
12
|
+
*/
|
|
13
|
+
export declare const deleteV1ConnectionsById: any;
|
|
14
|
+
//# sourceMappingURL=deleteV1ConnectionsById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1ConnectionsById.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1ConnectionsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;EAG4B,CAAC;AACtE,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B,aACD,CAAC;AAC1C,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,KAKnC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const DeleteV1ConnectionsByIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v1/connections/{id}" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const DeleteV1ConnectionsByIdOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
12
|
+
// The operation
|
|
13
|
+
/**
|
|
14
|
+
* Delete connection
|
|
15
|
+
*
|
|
16
|
+
* Deletes the connection with the given ID.
|
|
17
|
+
*/
|
|
18
|
+
export const deleteV1ConnectionsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19
|
+
inputSchema: DeleteV1ConnectionsByIdInput,
|
|
20
|
+
outputSchema: DeleteV1ConnectionsByIdOutput,
|
|
21
|
+
}));
|
|
22
|
+
//# sourceMappingURL=deleteV1ConnectionsById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1ConnectionsById.js","sourceRoot":"","sources":["../../src/operations/deleteV1ConnectionsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,4BAA4B;AACvC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAItE,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACzE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,4BAA4B;IACzC,YAAY,EAAE,6BAA6B;CAC5C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const DeleteV1DatabasesByDatabaseIdInput: Schema.Struct<{
|
|
3
|
+
readonly databaseId: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type DeleteV1DatabasesByDatabaseIdInput = typeof DeleteV1DatabasesByDatabaseIdInput.Type;
|
|
6
|
+
export declare const DeleteV1DatabasesByDatabaseIdOutput: Schema.Void;
|
|
7
|
+
export type DeleteV1DatabasesByDatabaseIdOutput = typeof DeleteV1DatabasesByDatabaseIdOutput.Type;
|
|
8
|
+
/**
|
|
9
|
+
* Delete database
|
|
10
|
+
*
|
|
11
|
+
* Deletes the database with the given ID.
|
|
12
|
+
*/
|
|
13
|
+
export declare const deleteV1DatabasesByDatabaseId: any;
|
|
14
|
+
//# sourceMappingURL=deleteV1DatabasesByDatabaseId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1DatabasesByDatabaseId.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1DatabasesByDatabaseId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kCAAkC;;EAG4B,CAAC;AAC5E,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC,aACP,CAAC;AAC1C,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,KAIrC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const DeleteV1DatabasesByDatabaseIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
databaseId: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v1/databases/{databaseId}" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const DeleteV1DatabasesByDatabaseIdOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
12
|
+
// The operation
|
|
13
|
+
/**
|
|
14
|
+
* Delete database
|
|
15
|
+
*
|
|
16
|
+
* Deletes the database with the given ID.
|
|
17
|
+
*/
|
|
18
|
+
export const deleteV1DatabasesByDatabaseId =
|
|
19
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20
|
+
inputSchema: DeleteV1DatabasesByDatabaseIdInput,
|
|
21
|
+
outputSchema: DeleteV1DatabasesByDatabaseIdOutput,
|
|
22
|
+
}));
|
|
23
|
+
//# sourceMappingURL=deleteV1DatabasesByDatabaseId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1DatabasesByDatabaseId.js","sourceRoot":"","sources":["../../src/operations/deleteV1DatabasesByDatabaseId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAI5E,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC;AAC9C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,kCAAkC;IAC/C,YAAY,EAAE,mCAAmC;CAClD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const DeleteV1IntegrationsByIdInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type DeleteV1IntegrationsByIdInput = typeof DeleteV1IntegrationsByIdInput.Type;
|
|
6
|
+
export declare const DeleteV1IntegrationsByIdOutput: Schema.Void;
|
|
7
|
+
export type DeleteV1IntegrationsByIdOutput = typeof DeleteV1IntegrationsByIdOutput.Type;
|
|
8
|
+
/**
|
|
9
|
+
* Delete integration
|
|
10
|
+
*
|
|
11
|
+
* Revokes the integration tokens by integration ID.
|
|
12
|
+
*/
|
|
13
|
+
export declare const deleteV1IntegrationsById: any;
|
|
14
|
+
//# sourceMappingURL=deleteV1IntegrationsById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1IntegrationsById.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1IntegrationsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6BAA6B;;EAG4B,CAAC;AACvE,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B,aACF,CAAC;AAC1C,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const DeleteV1IntegrationsByIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v1/integrations/{id}" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const DeleteV1IntegrationsByIdOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
12
|
+
// The operation
|
|
13
|
+
/**
|
|
14
|
+
* Delete integration
|
|
15
|
+
*
|
|
16
|
+
* Revokes the integration tokens by integration ID.
|
|
17
|
+
*/
|
|
18
|
+
export const deleteV1IntegrationsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19
|
+
inputSchema: DeleteV1IntegrationsByIdInput,
|
|
20
|
+
outputSchema: DeleteV1IntegrationsByIdOutput,
|
|
21
|
+
}));
|
|
22
|
+
//# sourceMappingURL=deleteV1IntegrationsById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1IntegrationsById.js","sourceRoot":"","sources":["../../src/operations/deleteV1IntegrationsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,6BAA6B;AACxC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAIvE,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const DeleteV1ProjectsByIdInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type DeleteV1ProjectsByIdInput = typeof DeleteV1ProjectsByIdInput.Type;
|
|
6
|
+
export declare const DeleteV1ProjectsByIdOutput: Schema.Void;
|
|
7
|
+
export type DeleteV1ProjectsByIdOutput = typeof DeleteV1ProjectsByIdOutput.Type;
|
|
8
|
+
/**
|
|
9
|
+
* Delete project
|
|
10
|
+
*
|
|
11
|
+
* Deletes the project with the given ID.
|
|
12
|
+
*/
|
|
13
|
+
export declare const deleteV1ProjectsById: any;
|
|
14
|
+
//# sourceMappingURL=deleteV1ProjectsById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;EAG4B,CAAC;AACnE,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B,aACE,CAAC;AAC1C,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const DeleteV1ProjectsByIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "DELETE", path: "/v1/projects/{id}" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const DeleteV1ProjectsByIdOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
12
|
+
// The operation
|
|
13
|
+
/**
|
|
14
|
+
* Delete project
|
|
15
|
+
*
|
|
16
|
+
* Deletes the project with the given ID.
|
|
17
|
+
*/
|
|
18
|
+
export const deleteV1ProjectsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
19
|
+
inputSchema: DeleteV1ProjectsByIdInput,
|
|
20
|
+
outputSchema: DeleteV1ProjectsByIdOutput,
|
|
21
|
+
}));
|
|
22
|
+
//# sourceMappingURL=deleteV1ProjectsById.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1ProjectsById.js","sourceRoot":"","sources":["../../src/operations/deleteV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAGnE,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAG1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;CACzC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput: Schema.Struct<{
|
|
3
|
+
readonly clientId: Schema.String;
|
|
4
|
+
readonly workspaceId: Schema.String;
|
|
5
|
+
}>;
|
|
6
|
+
export type DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput = typeof DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput.Type;
|
|
7
|
+
export declare const DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput: Schema.Void;
|
|
8
|
+
export type DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput = typeof DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput.Type;
|
|
9
|
+
/**
|
|
10
|
+
* Revoke integration tokens
|
|
11
|
+
*
|
|
12
|
+
* Revokes the integration tokens with the given client ID.
|
|
13
|
+
*/
|
|
14
|
+
export declare const deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId: any;
|
|
15
|
+
//# sourceMappingURL=deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0DAA0D;;;EASpE,CAAC;AACJ,MAAM,MAAM,0DAA0D,GACpE,OAAO,0DAA0D,CAAC,IAAI,CAAC;AAGzE,eAAO,MAAM,2DAA2D,aAC/B,CAAC;AAC1C,MAAM,MAAM,2DAA2D,GACrE,OAAO,2DAA2D,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,qDAAqD,KAI7D,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
clientId: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
workspaceId: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
}).pipe(T.Http({
|
|
10
|
+
method: "DELETE",
|
|
11
|
+
path: "/v1/workspaces/{workspaceId}/integrations/{clientId}",
|
|
12
|
+
}));
|
|
13
|
+
// Output Schema
|
|
14
|
+
export const DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput =
|
|
15
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
16
|
+
// The operation
|
|
17
|
+
/**
|
|
18
|
+
* Revoke integration tokens
|
|
19
|
+
*
|
|
20
|
+
* Revokes the integration tokens with the given client ID.
|
|
21
|
+
*/
|
|
22
|
+
export const deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId =
|
|
23
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
24
|
+
inputSchema: DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput,
|
|
25
|
+
outputSchema: DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput,
|
|
26
|
+
}));
|
|
27
|
+
//# sourceMappingURL=deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js","sourceRoot":"","sources":["../../src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0DAA0D;AACrE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC/C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,sDAAsD;CAC7D,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2DAA2D;AACtE,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,qDAAqD;AAChE,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,0DAA0D;IACvE,YAAY,EAAE,2DAA2D;CAC1E,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1ConnectionsInput: Schema.Struct<{
|
|
3
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
4
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
5
|
+
readonly databaseId: Schema.optional<Schema.String>;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetV1ConnectionsInput = typeof GetV1ConnectionsInput.Type;
|
|
8
|
+
export declare const GetV1ConnectionsOutput: Schema.Struct<{
|
|
9
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly type: Schema.String;
|
|
12
|
+
readonly url: Schema.String;
|
|
13
|
+
readonly name: Schema.String;
|
|
14
|
+
readonly createdAt: Schema.String;
|
|
15
|
+
readonly kind: Schema.Literals<readonly ["postgres", "accelerate"]>;
|
|
16
|
+
readonly endpoints: Schema.Struct<{
|
|
17
|
+
readonly direct: Schema.optional<Schema.Struct<{
|
|
18
|
+
readonly host: Schema.String;
|
|
19
|
+
readonly port: Schema.Number;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly pooled: Schema.optional<Schema.Struct<{
|
|
22
|
+
readonly host: Schema.String;
|
|
23
|
+
readonly port: Schema.Number;
|
|
24
|
+
}>>;
|
|
25
|
+
readonly accelerate: Schema.optional<Schema.Struct<{
|
|
26
|
+
readonly host: Schema.String;
|
|
27
|
+
readonly port: Schema.Number;
|
|
28
|
+
}>>;
|
|
29
|
+
}>;
|
|
30
|
+
readonly directConnection: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
31
|
+
readonly host: Schema.String;
|
|
32
|
+
readonly pass: Schema.String;
|
|
33
|
+
readonly user: Schema.String;
|
|
34
|
+
}>>>;
|
|
35
|
+
readonly database: Schema.Struct<{
|
|
36
|
+
readonly id: Schema.String;
|
|
37
|
+
readonly url: Schema.String;
|
|
38
|
+
readonly name: Schema.String;
|
|
39
|
+
}>;
|
|
40
|
+
}>>;
|
|
41
|
+
readonly pagination: Schema.Struct<{
|
|
42
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
43
|
+
readonly hasMore: Schema.Boolean;
|
|
44
|
+
}>;
|
|
45
|
+
}>;
|
|
46
|
+
export type GetV1ConnectionsOutput = typeof GetV1ConnectionsOutput.Type;
|
|
47
|
+
/**
|
|
48
|
+
* List connections
|
|
49
|
+
*
|
|
50
|
+
* Returns all connections the actor has access to, with optional database filter.
|
|
51
|
+
*/
|
|
52
|
+
export declare const getV1Connections: any;
|
|
53
|
+
//# sourceMappingURL=getV1Connections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1Connections.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,qBAAqB;;;;EAIyB,CAAC;AAC5D,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDlC,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,KAG1B,CAAC"}
|