@distilled.cloud/prisma-postgres 0.19.1 → 0.20.0
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/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/getV1ComputeServices.d.ts +6 -6
- package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +5 -5
- package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +3 -3
- package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +7 -7
- package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts +3 -3
- package/lib/operations/getV1Connections.d.ts +20 -20
- package/lib/operations/getV1ConnectionsById.d.ts +18 -18
- package/lib/operations/getV1Databases.d.ts +28 -28
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts +27 -27
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +20 -20
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +8 -8
- package/lib/operations/getV1Integrations.d.ts +8 -8
- package/lib/operations/getV1IntegrationsById.d.ts +7 -7
- package/lib/operations/getV1Projects.d.ts +5 -5
- package/lib/operations/getV1ProjectsById.d.ts +4 -4
- package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +7 -7
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +29 -29
- package/lib/operations/getV1Regions.d.ts +1 -1
- package/lib/operations/getV1RegionsAccelerate.d.ts +1 -1
- package/lib/operations/getV1RegionsPostgres.d.ts +1 -1
- package/lib/operations/getV1Versions.d.ts +4 -4
- package/lib/operations/getV1VersionsByVersionId.d.ts +7 -7
- package/lib/operations/getV1Workspaces.d.ts +3 -3
- package/lib/operations/getV1WorkspacesById.d.ts +2 -2
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +9 -9
- package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +5 -5
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +27 -27
- package/lib/operations/patchV1ProjectsById.d.ts +4 -4
- package/lib/operations/postV1ComputeServices.d.ts +6 -6
- package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +2 -2
- package/lib/operations/postV1Connections.d.ts +22 -22
- package/lib/operations/postV1ConnectionsByIdRotate.d.ts +22 -22
- package/lib/operations/postV1Databases.d.ts +32 -32
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +22 -22
- package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +32 -32
- package/lib/operations/postV1Projects.d.ts +58 -58
- package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +6 -6
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +58 -58
- package/lib/operations/postV1Versions.d.ts +3 -3
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -72,66 +72,66 @@ export type PostV1DatabasesOutput = typeof PostV1DatabasesOutput.Type;
|
|
|
72
72
|
* Creates a new database in the specified project.
|
|
73
73
|
*/
|
|
74
74
|
export declare const postV1Databases: import("@distilled.cloud/core/client").OperationMethod<{
|
|
75
|
-
readonly isDefault?: boolean | undefined;
|
|
76
|
-
readonly name?: string | undefined;
|
|
77
75
|
readonly projectId: string;
|
|
78
76
|
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "inherit" | "us-east-1" | "us-west-1" | undefined;
|
|
77
|
+
readonly name?: string | undefined;
|
|
78
|
+
readonly isDefault?: boolean | undefined;
|
|
79
79
|
readonly source?: unknown;
|
|
80
80
|
}, {
|
|
81
81
|
readonly data: {
|
|
82
|
+
readonly id: string;
|
|
83
|
+
readonly type: string;
|
|
84
|
+
readonly url: string;
|
|
85
|
+
readonly name: string;
|
|
86
|
+
readonly status: "failure" | "provisioning" | "ready" | "recovering";
|
|
87
|
+
readonly createdAt: string;
|
|
88
|
+
readonly isDefault: boolean;
|
|
89
|
+
readonly defaultConnectionId: string | null;
|
|
82
90
|
readonly connections: readonly {
|
|
91
|
+
readonly id: string;
|
|
92
|
+
readonly type: string;
|
|
93
|
+
readonly url: string;
|
|
94
|
+
readonly name: string;
|
|
83
95
|
readonly createdAt: string;
|
|
84
|
-
readonly
|
|
85
|
-
readonly id: string;
|
|
86
|
-
readonly name: string;
|
|
87
|
-
readonly url: string;
|
|
88
|
-
};
|
|
89
|
-
readonly directConnection?: {
|
|
90
|
-
readonly host: string;
|
|
91
|
-
readonly pass: string;
|
|
92
|
-
readonly user: string;
|
|
93
|
-
} | null | undefined;
|
|
96
|
+
readonly kind: "accelerate" | "postgres";
|
|
94
97
|
readonly endpoints: {
|
|
95
|
-
readonly accelerate?: {
|
|
96
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
97
|
-
readonly host: string;
|
|
98
|
-
readonly port: number;
|
|
99
|
-
} | undefined;
|
|
100
98
|
readonly direct?: {
|
|
101
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
102
99
|
readonly host: string;
|
|
103
100
|
readonly port: number;
|
|
101
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
104
102
|
} | undefined;
|
|
105
103
|
readonly pooled?: {
|
|
104
|
+
readonly host: string;
|
|
105
|
+
readonly port: number;
|
|
106
106
|
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
107
|
+
} | undefined;
|
|
108
|
+
readonly accelerate?: {
|
|
107
109
|
readonly host: string;
|
|
108
110
|
readonly port: number;
|
|
111
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
109
112
|
} | undefined;
|
|
110
113
|
};
|
|
111
|
-
readonly
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
readonly directConnection?: {
|
|
115
|
+
readonly host: string;
|
|
116
|
+
readonly pass: string;
|
|
117
|
+
readonly user: string;
|
|
118
|
+
} | null | undefined;
|
|
119
|
+
readonly database: {
|
|
120
|
+
readonly id: string;
|
|
121
|
+
readonly url: string;
|
|
122
|
+
readonly name: string;
|
|
123
|
+
};
|
|
116
124
|
}[];
|
|
117
|
-
readonly createdAt: string;
|
|
118
|
-
readonly defaultConnectionId: string | null;
|
|
119
|
-
readonly id: string;
|
|
120
|
-
readonly isDefault: boolean;
|
|
121
|
-
readonly name: string;
|
|
122
125
|
readonly project: {
|
|
123
126
|
readonly id: string;
|
|
124
|
-
readonly name: string;
|
|
125
127
|
readonly url: string;
|
|
128
|
+
readonly name: string;
|
|
126
129
|
};
|
|
127
130
|
readonly region: {
|
|
128
131
|
readonly id: string;
|
|
129
132
|
readonly name: string;
|
|
130
133
|
} | null;
|
|
131
134
|
readonly source: unknown;
|
|
132
|
-
readonly status: "failure" | "provisioning" | "ready" | "recovering";
|
|
133
|
-
readonly type: string;
|
|
134
|
-
readonly url: string;
|
|
135
135
|
};
|
|
136
136
|
}, BadRequest | Forbidden | NotFound | UnprocessableEntity, any>;
|
|
137
137
|
//# sourceMappingURL=postV1Databases.d.ts.map
|
|
@@ -57,42 +57,42 @@ export declare const postV1DatabasesByDatabaseIdConnections: import("@distilled.
|
|
|
57
57
|
readonly name: string;
|
|
58
58
|
}, {
|
|
59
59
|
readonly data: {
|
|
60
|
-
readonly
|
|
60
|
+
readonly id: string;
|
|
61
|
+
readonly type: string;
|
|
62
|
+
readonly url: string;
|
|
63
|
+
readonly name: string;
|
|
61
64
|
readonly createdAt: string;
|
|
62
|
-
readonly
|
|
63
|
-
readonly id: string;
|
|
64
|
-
readonly name: string;
|
|
65
|
-
readonly url: string;
|
|
66
|
-
};
|
|
67
|
-
readonly directConnection?: {
|
|
68
|
-
readonly host: string;
|
|
69
|
-
readonly pass: string;
|
|
70
|
-
readonly user: string;
|
|
71
|
-
} | null | undefined;
|
|
65
|
+
readonly kind: "accelerate" | "postgres";
|
|
72
66
|
readonly endpoints: {
|
|
73
|
-
readonly accelerate?: {
|
|
74
|
-
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
75
|
-
readonly host: string;
|
|
76
|
-
readonly port: number;
|
|
77
|
-
} | undefined;
|
|
78
67
|
readonly direct?: {
|
|
79
|
-
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
80
68
|
readonly host: string;
|
|
81
69
|
readonly port: number;
|
|
70
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
82
71
|
} | undefined;
|
|
83
72
|
readonly pooled?: {
|
|
73
|
+
readonly host: string;
|
|
74
|
+
readonly port: number;
|
|
84
75
|
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
76
|
+
} | undefined;
|
|
77
|
+
readonly accelerate?: {
|
|
85
78
|
readonly host: string;
|
|
86
79
|
readonly port: number;
|
|
80
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
87
81
|
} | undefined;
|
|
88
82
|
};
|
|
83
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
84
|
+
readonly directConnection?: {
|
|
85
|
+
readonly host: string;
|
|
86
|
+
readonly pass: string;
|
|
87
|
+
readonly user: string;
|
|
88
|
+
} | null | undefined;
|
|
89
|
+
readonly database: {
|
|
90
|
+
readonly id: string;
|
|
91
|
+
readonly url: string;
|
|
92
|
+
readonly name: string;
|
|
93
|
+
};
|
|
89
94
|
readonly host: string | null;
|
|
90
|
-
readonly id: string;
|
|
91
|
-
readonly kind: "accelerate" | "postgres";
|
|
92
|
-
readonly name: string;
|
|
93
95
|
readonly pass: string | null;
|
|
94
|
-
readonly type: string;
|
|
95
|
-
readonly url: string;
|
|
96
96
|
readonly user: string | null;
|
|
97
97
|
};
|
|
98
98
|
}, NotFound | UnprocessableEntity, any>;
|
|
@@ -75,68 +75,68 @@ export type PostV1DatabasesByTargetDatabaseIdRestoreOutput = typeof PostV1Databa
|
|
|
75
75
|
* Replaces the data in an existing database from a backup. Connections and credentials are preserved — only the data layer is replaced.
|
|
76
76
|
*/
|
|
77
77
|
export declare const postV1DatabasesByTargetDatabaseIdRestore: import("@distilled.cloud/core/client").OperationMethod<{
|
|
78
|
+
readonly targetDatabaseId: string;
|
|
78
79
|
readonly source: {
|
|
79
|
-
readonly backupId: string;
|
|
80
|
-
readonly databaseId: string;
|
|
81
80
|
readonly type: string;
|
|
81
|
+
readonly databaseId: string;
|
|
82
|
+
readonly backupId: string;
|
|
82
83
|
};
|
|
83
|
-
readonly targetDatabaseId: string;
|
|
84
84
|
}, {
|
|
85
85
|
readonly data: {
|
|
86
|
+
readonly id: string;
|
|
87
|
+
readonly type: string;
|
|
88
|
+
readonly url: string;
|
|
89
|
+
readonly name: string;
|
|
90
|
+
readonly status: "failure" | "provisioning" | "ready" | "recovering";
|
|
91
|
+
readonly createdAt: string;
|
|
92
|
+
readonly isDefault: boolean;
|
|
93
|
+
readonly defaultConnectionId: string | null;
|
|
86
94
|
readonly connections: readonly {
|
|
95
|
+
readonly id: string;
|
|
96
|
+
readonly type: string;
|
|
97
|
+
readonly url: string;
|
|
98
|
+
readonly name: string;
|
|
87
99
|
readonly createdAt: string;
|
|
88
|
-
readonly
|
|
89
|
-
readonly id: string;
|
|
90
|
-
readonly name: string;
|
|
91
|
-
readonly url: string;
|
|
92
|
-
};
|
|
93
|
-
readonly directConnection?: {
|
|
94
|
-
readonly host: string;
|
|
95
|
-
readonly pass: string;
|
|
96
|
-
readonly user: string;
|
|
97
|
-
} | null | undefined;
|
|
100
|
+
readonly kind: "accelerate" | "postgres";
|
|
98
101
|
readonly endpoints: {
|
|
99
|
-
readonly
|
|
102
|
+
readonly direct?: {
|
|
100
103
|
readonly host: string;
|
|
101
104
|
readonly port: number;
|
|
102
105
|
} | undefined;
|
|
103
|
-
readonly
|
|
106
|
+
readonly pooled?: {
|
|
104
107
|
readonly host: string;
|
|
105
108
|
readonly port: number;
|
|
106
109
|
} | undefined;
|
|
107
|
-
readonly
|
|
110
|
+
readonly accelerate?: {
|
|
108
111
|
readonly host: string;
|
|
109
112
|
readonly port: number;
|
|
110
113
|
} | undefined;
|
|
111
114
|
};
|
|
112
|
-
readonly
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
readonly directConnection?: {
|
|
116
|
+
readonly host: string;
|
|
117
|
+
readonly pass: string;
|
|
118
|
+
readonly user: string;
|
|
119
|
+
} | null | undefined;
|
|
120
|
+
readonly database: {
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly url: string;
|
|
123
|
+
readonly name: string;
|
|
124
|
+
};
|
|
117
125
|
}[];
|
|
118
|
-
readonly createdAt: string;
|
|
119
|
-
readonly defaultConnectionId: string | null;
|
|
120
|
-
readonly id: string;
|
|
121
|
-
readonly isDefault: boolean;
|
|
122
|
-
readonly name: string;
|
|
123
126
|
readonly project: {
|
|
124
127
|
readonly id: string;
|
|
125
|
-
readonly name: string;
|
|
126
128
|
readonly url: string;
|
|
129
|
+
readonly name: string;
|
|
127
130
|
};
|
|
128
131
|
readonly region: {
|
|
129
132
|
readonly id: string;
|
|
130
133
|
readonly name: string;
|
|
131
134
|
} | null;
|
|
132
135
|
readonly source: {
|
|
133
|
-
readonly backupId: string;
|
|
134
|
-
readonly databaseId: string;
|
|
135
136
|
readonly type: string;
|
|
137
|
+
readonly databaseId: string;
|
|
138
|
+
readonly backupId: string;
|
|
136
139
|
};
|
|
137
|
-
readonly status: "failure" | "provisioning" | "ready" | "recovering";
|
|
138
|
-
readonly type: string;
|
|
139
|
-
readonly url: string;
|
|
140
140
|
};
|
|
141
141
|
}, Conflict | NotFound | UnprocessableEntity, any>;
|
|
142
142
|
//# sourceMappingURL=postV1DatabasesByTargetDatabaseIdRestore.d.ts.map
|
|
@@ -117,101 +117,101 @@ export declare const postV1Projects: import("@distilled.cloud/core/client").Oper
|
|
|
117
117
|
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "us-east-1" | "us-west-1" | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
readonly data: {
|
|
120
|
+
readonly id: string;
|
|
121
|
+
readonly type: string;
|
|
122
|
+
readonly url: string;
|
|
123
|
+
readonly name: string;
|
|
120
124
|
readonly createdAt: string;
|
|
125
|
+
readonly defaultRegion: string | null;
|
|
126
|
+
readonly workspace: {
|
|
127
|
+
readonly id: string;
|
|
128
|
+
readonly url: string;
|
|
129
|
+
readonly name: string;
|
|
130
|
+
};
|
|
121
131
|
readonly database: {
|
|
122
|
-
readonly
|
|
123
|
-
|
|
132
|
+
readonly id: string;
|
|
133
|
+
readonly type: string;
|
|
134
|
+
readonly url: string;
|
|
135
|
+
readonly name: string;
|
|
136
|
+
readonly status: "provisioning" | "ready";
|
|
137
|
+
readonly createdAt: string;
|
|
138
|
+
readonly isDefault: boolean;
|
|
139
|
+
readonly defaultConnectionId: string | null;
|
|
140
|
+
readonly connections: readonly {
|
|
141
|
+
readonly id: string;
|
|
142
|
+
readonly type: string;
|
|
143
|
+
readonly url: string;
|
|
144
|
+
readonly name: string;
|
|
124
145
|
readonly createdAt: string;
|
|
125
|
-
readonly
|
|
126
|
-
readonly host: string;
|
|
127
|
-
readonly pass: string;
|
|
128
|
-
readonly user: string;
|
|
129
|
-
} | null | undefined;
|
|
146
|
+
readonly kind: "accelerate" | "postgres";
|
|
130
147
|
readonly endpoints: {
|
|
131
|
-
readonly
|
|
148
|
+
readonly direct?: {
|
|
132
149
|
readonly host: string;
|
|
133
150
|
readonly port: number;
|
|
151
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
134
152
|
} | undefined;
|
|
135
|
-
readonly
|
|
153
|
+
readonly pooled?: {
|
|
136
154
|
readonly host: string;
|
|
137
155
|
readonly port: number;
|
|
156
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
138
157
|
} | undefined;
|
|
139
|
-
readonly
|
|
158
|
+
readonly accelerate?: {
|
|
140
159
|
readonly host: string;
|
|
141
160
|
readonly port: number;
|
|
161
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
142
162
|
} | undefined;
|
|
143
163
|
};
|
|
144
|
-
readonly id: string;
|
|
145
|
-
readonly kind: "accelerate" | "postgres";
|
|
146
|
-
readonly name: string;
|
|
147
|
-
readonly type: string;
|
|
148
|
-
readonly url: string;
|
|
149
|
-
}[];
|
|
150
|
-
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
151
|
-
readonly connections: readonly {
|
|
152
|
-
readonly createdAt: string;
|
|
153
|
-
readonly database: {
|
|
154
|
-
readonly id: string;
|
|
155
|
-
readonly name: string;
|
|
156
|
-
readonly url: string;
|
|
157
|
-
};
|
|
158
164
|
readonly directConnection?: {
|
|
159
165
|
readonly host: string;
|
|
160
166
|
readonly pass: string;
|
|
161
167
|
readonly user: string;
|
|
162
168
|
} | null | undefined;
|
|
169
|
+
readonly database: {
|
|
170
|
+
readonly id: string;
|
|
171
|
+
readonly url: string;
|
|
172
|
+
readonly name: string;
|
|
173
|
+
};
|
|
174
|
+
}[];
|
|
175
|
+
readonly region: {
|
|
176
|
+
readonly id: string;
|
|
177
|
+
readonly name: string;
|
|
178
|
+
};
|
|
179
|
+
readonly source: unknown;
|
|
180
|
+
readonly apiKeys: readonly {
|
|
181
|
+
readonly id: string;
|
|
182
|
+
readonly type: string;
|
|
183
|
+
readonly url: string;
|
|
184
|
+
readonly name: string;
|
|
185
|
+
readonly createdAt: string;
|
|
186
|
+
readonly kind: "accelerate" | "postgres";
|
|
163
187
|
readonly endpoints: {
|
|
164
|
-
readonly
|
|
165
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
188
|
+
readonly direct?: {
|
|
166
189
|
readonly host: string;
|
|
167
190
|
readonly port: number;
|
|
168
191
|
} | undefined;
|
|
169
|
-
readonly
|
|
170
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
192
|
+
readonly pooled?: {
|
|
171
193
|
readonly host: string;
|
|
172
194
|
readonly port: number;
|
|
173
195
|
} | undefined;
|
|
174
|
-
readonly
|
|
175
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
196
|
+
readonly accelerate?: {
|
|
176
197
|
readonly host: string;
|
|
177
198
|
readonly port: number;
|
|
178
199
|
} | undefined;
|
|
179
200
|
};
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
201
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
202
|
+
readonly directConnection?: {
|
|
203
|
+
readonly host: string;
|
|
204
|
+
readonly pass: string;
|
|
205
|
+
readonly user: string;
|
|
206
|
+
} | null | undefined;
|
|
185
207
|
}[];
|
|
186
|
-
readonly
|
|
187
|
-
readonly defaultConnectionId: string | null;
|
|
208
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
188
209
|
readonly directConnection: {
|
|
189
210
|
readonly host: string;
|
|
190
211
|
readonly pass: string;
|
|
191
212
|
readonly user: string;
|
|
192
213
|
} | null;
|
|
193
|
-
readonly id: string;
|
|
194
|
-
readonly isDefault: boolean;
|
|
195
|
-
readonly name: string;
|
|
196
|
-
readonly region: {
|
|
197
|
-
readonly id: string;
|
|
198
|
-
readonly name: string;
|
|
199
|
-
};
|
|
200
|
-
readonly source: unknown;
|
|
201
|
-
readonly status: "provisioning" | "ready";
|
|
202
|
-
readonly type: string;
|
|
203
|
-
readonly url: string;
|
|
204
214
|
} | null;
|
|
205
|
-
readonly defaultRegion: string | null;
|
|
206
|
-
readonly id: string;
|
|
207
|
-
readonly name: string;
|
|
208
|
-
readonly type: string;
|
|
209
|
-
readonly url: string;
|
|
210
|
-
readonly workspace: {
|
|
211
|
-
readonly id: string;
|
|
212
|
-
readonly name: string;
|
|
213
|
-
readonly url: string;
|
|
214
|
-
};
|
|
215
215
|
};
|
|
216
216
|
}, UnprocessableEntity, any>;
|
|
217
217
|
//# sourceMappingURL=postV1Projects.d.ts.map
|
|
@@ -30,23 +30,23 @@ export type PostV1ProjectsByProjectIdComputeServicesOutput = typeof PostV1Projec
|
|
|
30
30
|
* Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted).
|
|
31
31
|
*/
|
|
32
32
|
export declare const postV1ProjectsByProjectIdComputeServices: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
-
readonly displayName: string;
|
|
34
33
|
readonly projectId: string;
|
|
34
|
+
readonly displayName: string;
|
|
35
35
|
readonly regionId?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "us-east-1" | "us-west-1" | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
readonly data: {
|
|
38
|
-
readonly createdAt: string;
|
|
39
38
|
readonly id: string;
|
|
40
|
-
readonly
|
|
39
|
+
readonly type: string;
|
|
40
|
+
readonly url: string;
|
|
41
41
|
readonly name: string;
|
|
42
|
-
readonly projectId: string;
|
|
43
42
|
readonly region: {
|
|
44
43
|
readonly id: string;
|
|
45
44
|
readonly name: string;
|
|
46
45
|
};
|
|
46
|
+
readonly projectId: string;
|
|
47
|
+
readonly latestVersionId: string | null;
|
|
47
48
|
readonly serviceEndpointDomain: string;
|
|
48
|
-
readonly
|
|
49
|
-
readonly url: string;
|
|
49
|
+
readonly createdAt: string;
|
|
50
50
|
};
|
|
51
51
|
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
52
52
|
//# sourceMappingURL=postV1ProjectsByProjectIdComputeServices.d.ts.map
|
|
@@ -110,104 +110,104 @@ export type PostV1ProjectsByProjectIdDatabasesOutput = typeof PostV1ProjectsByPr
|
|
|
110
110
|
* Creates a new database for the given project.
|
|
111
111
|
*/
|
|
112
112
|
export declare const postV1ProjectsByProjectIdDatabases: import("@distilled.cloud/core/client").OperationMethod<{
|
|
113
|
+
readonly projectId: string;
|
|
114
|
+
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "inherit" | "us-east-1" | "us-west-1" | undefined;
|
|
115
|
+
readonly name?: string | undefined;
|
|
116
|
+
readonly isDefault?: boolean | undefined;
|
|
113
117
|
readonly fromDatabase?: {
|
|
114
|
-
readonly backupId?: string | undefined;
|
|
115
118
|
readonly id: string;
|
|
119
|
+
readonly backupId?: string | undefined;
|
|
116
120
|
} | undefined;
|
|
117
|
-
readonly isDefault?: boolean | undefined;
|
|
118
|
-
readonly name?: string | undefined;
|
|
119
|
-
readonly projectId: string;
|
|
120
|
-
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "inherit" | "us-east-1" | "us-west-1" | undefined;
|
|
121
121
|
readonly source?: unknown;
|
|
122
122
|
}, {
|
|
123
123
|
readonly data: {
|
|
124
|
-
readonly
|
|
125
|
-
|
|
124
|
+
readonly id: string;
|
|
125
|
+
readonly type: string;
|
|
126
|
+
readonly url: string;
|
|
127
|
+
readonly name: string;
|
|
128
|
+
readonly status: "provisioning" | "ready";
|
|
129
|
+
readonly createdAt: string;
|
|
130
|
+
readonly isDefault: boolean;
|
|
131
|
+
readonly defaultConnectionId: string | null;
|
|
132
|
+
readonly connections: readonly {
|
|
133
|
+
readonly id: string;
|
|
134
|
+
readonly type: string;
|
|
135
|
+
readonly url: string;
|
|
136
|
+
readonly name: string;
|
|
126
137
|
readonly createdAt: string;
|
|
127
|
-
readonly
|
|
128
|
-
readonly host: string;
|
|
129
|
-
readonly pass: string;
|
|
130
|
-
readonly user: string;
|
|
131
|
-
} | null | undefined;
|
|
138
|
+
readonly kind: "accelerate" | "postgres";
|
|
132
139
|
readonly endpoints: {
|
|
133
|
-
readonly
|
|
140
|
+
readonly direct?: {
|
|
134
141
|
readonly host: string;
|
|
135
142
|
readonly port: number;
|
|
143
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
136
144
|
} | undefined;
|
|
137
|
-
readonly
|
|
145
|
+
readonly pooled?: {
|
|
138
146
|
readonly host: string;
|
|
139
147
|
readonly port: number;
|
|
148
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
140
149
|
} | undefined;
|
|
141
|
-
readonly
|
|
150
|
+
readonly accelerate?: {
|
|
142
151
|
readonly host: string;
|
|
143
152
|
readonly port: number;
|
|
153
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
144
154
|
} | undefined;
|
|
145
155
|
};
|
|
146
|
-
readonly id: string;
|
|
147
|
-
readonly kind: "accelerate" | "postgres";
|
|
148
|
-
readonly name: string;
|
|
149
|
-
readonly type: string;
|
|
150
|
-
readonly url: string;
|
|
151
|
-
}[];
|
|
152
|
-
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
153
|
-
readonly connections: readonly {
|
|
154
|
-
readonly createdAt: string;
|
|
155
|
-
readonly database: {
|
|
156
|
-
readonly id: string;
|
|
157
|
-
readonly name: string;
|
|
158
|
-
readonly url: string;
|
|
159
|
-
};
|
|
160
156
|
readonly directConnection?: {
|
|
161
157
|
readonly host: string;
|
|
162
158
|
readonly pass: string;
|
|
163
159
|
readonly user: string;
|
|
164
160
|
} | null | undefined;
|
|
161
|
+
readonly database: {
|
|
162
|
+
readonly id: string;
|
|
163
|
+
readonly url: string;
|
|
164
|
+
readonly name: string;
|
|
165
|
+
};
|
|
166
|
+
}[];
|
|
167
|
+
readonly project: {
|
|
168
|
+
readonly id: string;
|
|
169
|
+
readonly url: string;
|
|
170
|
+
readonly name: string;
|
|
171
|
+
};
|
|
172
|
+
readonly region: {
|
|
173
|
+
readonly id: string;
|
|
174
|
+
readonly name: string;
|
|
175
|
+
};
|
|
176
|
+
readonly source: unknown;
|
|
177
|
+
readonly apiKeys: readonly {
|
|
178
|
+
readonly id: string;
|
|
179
|
+
readonly type: string;
|
|
180
|
+
readonly url: string;
|
|
181
|
+
readonly name: string;
|
|
182
|
+
readonly createdAt: string;
|
|
183
|
+
readonly kind: "accelerate" | "postgres";
|
|
165
184
|
readonly endpoints: {
|
|
166
|
-
readonly
|
|
167
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
185
|
+
readonly direct?: {
|
|
168
186
|
readonly host: string;
|
|
169
187
|
readonly port: number;
|
|
170
188
|
} | undefined;
|
|
171
|
-
readonly
|
|
172
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
189
|
+
readonly pooled?: {
|
|
173
190
|
readonly host: string;
|
|
174
191
|
readonly port: number;
|
|
175
192
|
} | undefined;
|
|
176
|
-
readonly
|
|
177
|
-
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
193
|
+
readonly accelerate?: {
|
|
178
194
|
readonly host: string;
|
|
179
195
|
readonly port: number;
|
|
180
196
|
} | undefined;
|
|
181
197
|
};
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
198
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
199
|
+
readonly directConnection?: {
|
|
200
|
+
readonly host: string;
|
|
201
|
+
readonly pass: string;
|
|
202
|
+
readonly user: string;
|
|
203
|
+
} | null | undefined;
|
|
187
204
|
}[];
|
|
188
|
-
readonly
|
|
189
|
-
readonly defaultConnectionId: string | null;
|
|
205
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
190
206
|
readonly directConnection: {
|
|
191
207
|
readonly host: string;
|
|
192
208
|
readonly pass: string;
|
|
193
209
|
readonly user: string;
|
|
194
210
|
} | null;
|
|
195
|
-
readonly id: string;
|
|
196
|
-
readonly isDefault: boolean;
|
|
197
|
-
readonly name: string;
|
|
198
|
-
readonly project: {
|
|
199
|
-
readonly id: string;
|
|
200
|
-
readonly name: string;
|
|
201
|
-
readonly url: string;
|
|
202
|
-
};
|
|
203
|
-
readonly region: {
|
|
204
|
-
readonly id: string;
|
|
205
|
-
readonly name: string;
|
|
206
|
-
};
|
|
207
|
-
readonly source: unknown;
|
|
208
|
-
readonly status: "provisioning" | "ready";
|
|
209
|
-
readonly type: string;
|
|
210
|
-
readonly url: string;
|
|
211
211
|
};
|
|
212
212
|
}, BadRequest | Forbidden | NotFound | UnprocessableEntity, any>;
|
|
213
213
|
//# sourceMappingURL=postV1ProjectsByProjectIdDatabases.d.ts.map
|
|
@@ -26,7 +26,6 @@ export type PostV1VersionsOutput = typeof PostV1VersionsOutput.Type;
|
|
|
26
26
|
* Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version's variables when one exists.
|
|
27
27
|
*/
|
|
28
28
|
export declare const postV1Versions: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
-
readonly computeServiceId: string;
|
|
30
29
|
readonly envVars?: {
|
|
31
30
|
readonly [x: string]: unknown;
|
|
32
31
|
} | undefined;
|
|
@@ -34,13 +33,14 @@ export declare const postV1Versions: import("@distilled.cloud/core/client").Oper
|
|
|
34
33
|
readonly http?: unknown;
|
|
35
34
|
} | undefined;
|
|
36
35
|
readonly skipCodeUpload?: boolean | undefined;
|
|
36
|
+
readonly computeServiceId: string;
|
|
37
37
|
}, {
|
|
38
38
|
readonly data: {
|
|
39
|
-
readonly foundryVersionId: string;
|
|
40
39
|
readonly id: string;
|
|
41
40
|
readonly type: string;
|
|
42
|
-
readonly uploadUrl: string | null;
|
|
43
41
|
readonly url: string;
|
|
42
|
+
readonly foundryVersionId: string;
|
|
43
|
+
readonly uploadUrl: string | null;
|
|
44
44
|
};
|
|
45
45
|
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
46
46
|
//# sourceMappingURL=postV1Versions.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/prisma-postgres",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"specs:update": "git -C specs/distilled-spec-prisma-postgres fetch && git -C specs/distilled-spec-prisma-postgres checkout main && git -C specs/distilled-spec-prisma-postgres pull"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@distilled.cloud/core": "0.
|
|
77
|
+
"@distilled.cloud/core": "0.20.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/bun": "^1.3.0",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
"vitest": "^3.2.3"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"effect": ">=4.0.0-beta.
|
|
86
|
+
"effect": ">=4.0.0-beta.66 || >=4.0.0"
|
|
87
87
|
}
|
|
88
88
|
}
|