@secrecy/trpc-api-types 1.16.0-dev.1 → 1.16.0-integration-add-neon-endpoint.1
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/index.d.ts +172 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7195,6 +7195,105 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7195
7195
|
pendingState?: _neondatabase_api_client.EndpointState | undefined;
|
|
7196
7196
|
}[];
|
|
7197
7197
|
}, unknown>;
|
|
7198
|
+
getProjectEndpoint: _trpc_server.BuildProcedure<"query", {
|
|
7199
|
+
_config: _trpc_server.RootConfig<{
|
|
7200
|
+
ctx: {};
|
|
7201
|
+
meta: object;
|
|
7202
|
+
errorShape: {
|
|
7203
|
+
message: string;
|
|
7204
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
7205
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
7206
|
+
} | {
|
|
7207
|
+
data: {
|
|
7208
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
7209
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
7210
|
+
httpStatus: number;
|
|
7211
|
+
path?: string | undefined;
|
|
7212
|
+
stack?: string | undefined;
|
|
7213
|
+
};
|
|
7214
|
+
message: string;
|
|
7215
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
7216
|
+
};
|
|
7217
|
+
transformer: typeof superjson.default;
|
|
7218
|
+
}>;
|
|
7219
|
+
_meta: object;
|
|
7220
|
+
_ctx_out: {
|
|
7221
|
+
session: {
|
|
7222
|
+
appId: string;
|
|
7223
|
+
appPlanId: string | null;
|
|
7224
|
+
appFakeUserId: string | undefined;
|
|
7225
|
+
sessionId: string;
|
|
7226
|
+
accountId: string;
|
|
7227
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
7228
|
+
userId: string;
|
|
7229
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
7230
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
7231
|
+
isCare?: boolean | undefined;
|
|
7232
|
+
};
|
|
7233
|
+
req: {
|
|
7234
|
+
headers: Headers;
|
|
7235
|
+
};
|
|
7236
|
+
res: {
|
|
7237
|
+
headers: Headers;
|
|
7238
|
+
};
|
|
7239
|
+
locale: Locales;
|
|
7240
|
+
ls: TranslationFunctions;
|
|
7241
|
+
};
|
|
7242
|
+
_input_in: {
|
|
7243
|
+
appId?: string | undefined;
|
|
7244
|
+
} & {
|
|
7245
|
+
endpointId: string;
|
|
7246
|
+
};
|
|
7247
|
+
_input_out: {
|
|
7248
|
+
appId?: string | undefined;
|
|
7249
|
+
} & {
|
|
7250
|
+
endpointId: string;
|
|
7251
|
+
};
|
|
7252
|
+
_output_in: {
|
|
7253
|
+
type: _neondatabase_api_client.EndpointType;
|
|
7254
|
+
id: string;
|
|
7255
|
+
createdAt: string;
|
|
7256
|
+
updatedAt: string;
|
|
7257
|
+
host: string;
|
|
7258
|
+
branchId: string;
|
|
7259
|
+
currentState: _neondatabase_api_client.EndpointState;
|
|
7260
|
+
regionId: string;
|
|
7261
|
+
creationSource: string;
|
|
7262
|
+
disabled: boolean;
|
|
7263
|
+
passwordlessAccess: boolean;
|
|
7264
|
+
poolerEnabled: boolean;
|
|
7265
|
+
poolerMode: _neondatabase_api_client.EndpointPoolerMode;
|
|
7266
|
+
provisioner: _neondatabase_api_client.Provisioner;
|
|
7267
|
+
proxyHost: string;
|
|
7268
|
+
suspendTimeoutSeconds: number;
|
|
7269
|
+
autoscalingLimitMinCU: number;
|
|
7270
|
+
autoscalingLimitMaxCU: number;
|
|
7271
|
+
lastActive?: string | undefined;
|
|
7272
|
+
pendingState?: _neondatabase_api_client.EndpointState | undefined;
|
|
7273
|
+
};
|
|
7274
|
+
_output_out: {
|
|
7275
|
+
type: _neondatabase_api_client.EndpointType;
|
|
7276
|
+
id: string;
|
|
7277
|
+
createdAt: string;
|
|
7278
|
+
updatedAt: string;
|
|
7279
|
+
host: string;
|
|
7280
|
+
branchId: string;
|
|
7281
|
+
currentState: _neondatabase_api_client.EndpointState;
|
|
7282
|
+
regionId: string;
|
|
7283
|
+
creationSource: string;
|
|
7284
|
+
disabled: boolean;
|
|
7285
|
+
passwordlessAccess: boolean;
|
|
7286
|
+
poolerEnabled: boolean;
|
|
7287
|
+
poolerMode: _neondatabase_api_client.EndpointPoolerMode;
|
|
7288
|
+
provisioner: _neondatabase_api_client.Provisioner;
|
|
7289
|
+
proxyHost: string;
|
|
7290
|
+
suspendTimeoutSeconds: number;
|
|
7291
|
+
autoscalingLimitMinCU: number;
|
|
7292
|
+
autoscalingLimitMaxCU: number;
|
|
7293
|
+
lastActive?: string | undefined;
|
|
7294
|
+
pendingState?: _neondatabase_api_client.EndpointState | undefined;
|
|
7295
|
+
};
|
|
7296
|
+
}, unknown>;
|
|
7198
7297
|
getProjectEndpoints: _trpc_server.BuildProcedure<"query", {
|
|
7199
7298
|
_config: _trpc_server.RootConfig<{
|
|
7200
7299
|
ctx: {};
|
|
@@ -7488,6 +7587,79 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
|
|
|
7488
7587
|
pendingState?: _neondatabase_api_client.EndpointState | undefined;
|
|
7489
7588
|
};
|
|
7490
7589
|
}, unknown>;
|
|
7590
|
+
update: _trpc_server.BuildProcedure<"mutation", {
|
|
7591
|
+
_config: _trpc_server.RootConfig<{
|
|
7592
|
+
ctx: {};
|
|
7593
|
+
meta: object;
|
|
7594
|
+
errorShape: {
|
|
7595
|
+
message: string;
|
|
7596
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
7597
|
+
data: _trpc_server_dist_error_formatter.DefaultErrorData;
|
|
7598
|
+
} | {
|
|
7599
|
+
data: {
|
|
7600
|
+
zodError: zod.typeToFlattenedError<any, string> | null;
|
|
7601
|
+
code: "PARSE_ERROR" | "BAD_REQUEST" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_SUPPORTED" | "TIMEOUT" | "CONFLICT" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "CLIENT_CLOSED_REQUEST";
|
|
7602
|
+
httpStatus: number;
|
|
7603
|
+
path?: string | undefined;
|
|
7604
|
+
stack?: string | undefined;
|
|
7605
|
+
};
|
|
7606
|
+
message: string;
|
|
7607
|
+
code: _trpc_server_dist_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
7608
|
+
};
|
|
7609
|
+
transformer: typeof superjson.default;
|
|
7610
|
+
}>;
|
|
7611
|
+
_meta: object;
|
|
7612
|
+
_ctx_out: {
|
|
7613
|
+
session: {
|
|
7614
|
+
appId: string;
|
|
7615
|
+
appPlanId: string | null;
|
|
7616
|
+
appFakeUserId: string | undefined;
|
|
7617
|
+
sessionId: string;
|
|
7618
|
+
accountId: string;
|
|
7619
|
+
accountRole: _prisma_client.$Enums.AccountRole;
|
|
7620
|
+
userId: string;
|
|
7621
|
+
userRole: _prisma_client.$Enums.UserRole;
|
|
7622
|
+
userPlan: _prisma_client.$Enums.PlanKind;
|
|
7623
|
+
isCare?: boolean | undefined;
|
|
7624
|
+
};
|
|
7625
|
+
req: {
|
|
7626
|
+
headers: Headers;
|
|
7627
|
+
};
|
|
7628
|
+
res: {
|
|
7629
|
+
headers: Headers;
|
|
7630
|
+
};
|
|
7631
|
+
locale: Locales;
|
|
7632
|
+
ls: TranslationFunctions;
|
|
7633
|
+
};
|
|
7634
|
+
_input_in: {
|
|
7635
|
+
appId?: string | undefined;
|
|
7636
|
+
} & {
|
|
7637
|
+
endpointId: string;
|
|
7638
|
+
} & {
|
|
7639
|
+
disabled?: boolean | undefined;
|
|
7640
|
+
passwordlessAccess?: boolean | undefined;
|
|
7641
|
+
suspendTimeoutSeconds?: number | undefined;
|
|
7642
|
+
autoscalingLimitMinCU?: number | undefined;
|
|
7643
|
+
autoscalingLimitMaxCU?: number | undefined;
|
|
7644
|
+
};
|
|
7645
|
+
_input_out: {
|
|
7646
|
+
appId?: string | undefined;
|
|
7647
|
+
} & {
|
|
7648
|
+
endpointId: string;
|
|
7649
|
+
} & {
|
|
7650
|
+
disabled?: boolean | undefined;
|
|
7651
|
+
passwordlessAccess?: boolean | undefined;
|
|
7652
|
+
suspendTimeoutSeconds?: number | undefined;
|
|
7653
|
+
autoscalingLimitMinCU?: number | undefined;
|
|
7654
|
+
autoscalingLimitMaxCU?: number | undefined;
|
|
7655
|
+
};
|
|
7656
|
+
_output_in: {
|
|
7657
|
+
isUpdated: boolean;
|
|
7658
|
+
};
|
|
7659
|
+
_output_out: {
|
|
7660
|
+
isUpdated: boolean;
|
|
7661
|
+
};
|
|
7662
|
+
}, unknown>;
|
|
7491
7663
|
}>;
|
|
7492
7664
|
}>;
|
|
7493
7665
|
faq: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
|