@postonus/cli 0.1.73 → 0.1.74
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.js +11 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8290,7 +8290,6 @@ var CompleteUploadOutputSchema = object({
|
|
|
8290
8290
|
variantsStatus: MediaVariantsStatusSchema.nullable(),
|
|
8291
8291
|
avatarUrl: string2().nullable()
|
|
8292
8292
|
});
|
|
8293
|
-
var DeleteFileInputSchema = object({ uploadId: Uuid });
|
|
8294
8293
|
var FromUrlInputSchema = object({
|
|
8295
8294
|
url: string2().url(),
|
|
8296
8295
|
scenarioId: _enum(FILE_SCENARIOS)
|
|
@@ -8306,7 +8305,6 @@ var tagged9 = base.route({ tags: ["Uploads"] });
|
|
|
8306
8305
|
var uploadContract = {
|
|
8307
8306
|
initiateUpload: tagged9.route({ method: "POST", path: "/uploads/initiate", summary: "Get a signed URL to upload a file" }).errors(uploadErrors).input(InitiateUploadInputSchema).output(InitiateUploadOutputSchema),
|
|
8308
8307
|
completeUpload: tagged9.route({ method: "POST", path: "/uploads/complete", summary: "Complete an upload once its bytes are in storage" }).errors(uploadErrors).input(CompleteUploadInputSchema).output(CompleteUploadOutputSchema),
|
|
8309
|
-
deleteFile: tagged9.route({ method: "DELETE", path: "/uploads/{uploadId}", summary: "Delete an uploaded file" }).errors(orgErrors).input(DeleteFileInputSchema).output(DeletedSchema),
|
|
8310
8308
|
fromUrl: tagged9.route({
|
|
8311
8309
|
method: "POST",
|
|
8312
8310
|
path: "/uploads/from-url",
|
|
@@ -10280,17 +10278,17 @@ var contract = {
|
|
|
10280
10278
|
workspace: workspaceContract
|
|
10281
10279
|
};
|
|
10282
10280
|
|
|
10283
|
-
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
10281
|
+
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/openapi/dist/shared/openapi.BwdtJjDu.mjs
|
|
10284
10282
|
import { isORPCErrorStatus, fallbackORPCErrorStatus, fallbackORPCErrorMessage } from "@orpc/client";
|
|
10285
10283
|
import { toHttpPath } from "@orpc/client/standard";
|
|
10286
10284
|
import { fallbackContractConfig as fallbackContractConfig2, getEventIteratorSchemaDetails } from "@orpc/contract";
|
|
10287
10285
|
import { standardizeHTTPPath, StandardOpenAPIJsonSerializer, getDynamicParams } from "@orpc/openapi-client/standard";
|
|
10288
10286
|
|
|
10289
|
-
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
10287
|
+
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/server/dist/index.mjs
|
|
10290
10288
|
import { mergeErrorMap as mergeErrorMap2, mergeMeta, mergeRoute, mergePrefix as mergePrefix2, mergeTags, isContractProcedure as isContractProcedure2, getContractRouter, fallbackContractConfig } from "@orpc/contract";
|
|
10291
10289
|
import { ValidationError as ValidationError2, eventIterator, type, validateORPCError as validateORPCError2 } from "@orpc/contract";
|
|
10292
10290
|
|
|
10293
|
-
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
10291
|
+
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/server/dist/shared/server.DEBcqOjg.mjs
|
|
10294
10292
|
import { isContractProcedure, validateORPCError, ValidationError, mergePrefix, mergeErrorMap, enhanceRoute } from "@orpc/contract";
|
|
10295
10293
|
|
|
10296
10294
|
// ../../node_modules/.pnpm/@orpc+shared@1.16.1_@opentelemetry+api@1.10.0/node_modules/@orpc/shared/dist/index.mjs
|
|
@@ -10550,7 +10548,7 @@ function overlayProxy(target, partial2) {
|
|
|
10550
10548
|
return proxy;
|
|
10551
10549
|
}
|
|
10552
10550
|
|
|
10553
|
-
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
10551
|
+
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/server/dist/shared/server.DEBcqOjg.mjs
|
|
10554
10552
|
import { ORPCError, mapEventIterator } from "@orpc/client";
|
|
10555
10553
|
|
|
10556
10554
|
// ../../node_modules/.pnpm/@orpc+standard-server@1.16.1_@opentelemetry+api@1.10.0/node_modules/@orpc/standard-server/dist/index.mjs
|
|
@@ -10699,7 +10697,7 @@ var HibernationEventIterator = class extends AsyncIteratorClass {
|
|
|
10699
10697
|
}
|
|
10700
10698
|
};
|
|
10701
10699
|
|
|
10702
|
-
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
10700
|
+
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/server/dist/shared/server.DEBcqOjg.mjs
|
|
10703
10701
|
var LAZY_SYMBOL = /* @__PURE__ */ Symbol("ORPC_LAZY_SYMBOL");
|
|
10704
10702
|
function lazy2(loader, meta2 = {}) {
|
|
10705
10703
|
return {
|
|
@@ -11052,7 +11050,7 @@ async function resolveContractProcedures(options, callback) {
|
|
|
11052
11050
|
}
|
|
11053
11051
|
}
|
|
11054
11052
|
|
|
11055
|
-
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
11053
|
+
// ../../node_modules/.pnpm/@orpc+server@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/server/dist/index.mjs
|
|
11056
11054
|
import { toORPCError } from "@orpc/client";
|
|
11057
11055
|
import { ORPCError as ORPCError2, isDefinedError, safe } from "@orpc/client";
|
|
11058
11056
|
var DEFAULT_CONFIG = {
|
|
@@ -11447,7 +11445,7 @@ var TypeName;
|
|
|
11447
11445
|
TypeName2["String"] = "string";
|
|
11448
11446
|
})(TypeName || (TypeName = {}));
|
|
11449
11447
|
|
|
11450
|
-
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
11448
|
+
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/openapi/dist/shared/openapi.BwdtJjDu.mjs
|
|
11451
11449
|
var OPERATION_EXTENDER_SYMBOL = /* @__PURE__ */ Symbol("ORPC_OPERATION_EXTENDER");
|
|
11452
11450
|
function getCustomOpenAPIOperation(o) {
|
|
11453
11451
|
return o[OPERATION_EXTENDER_SYMBOL];
|
|
@@ -12302,13 +12300,13 @@ ${errors.join("\n\n")}`
|
|
|
12302
12300
|
}
|
|
12303
12301
|
};
|
|
12304
12302
|
|
|
12305
|
-
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
12303
|
+
// ../../node_modules/.pnpm/@orpc+openapi@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/openapi/dist/index.mjs
|
|
12306
12304
|
import { createORPCErrorFromJson } from "@orpc/client";
|
|
12307
12305
|
import { StandardOpenAPISerializer, StandardOpenAPIJsonSerializer as StandardOpenAPIJsonSerializer2, StandardBracketNotationSerializer } from "@orpc/openapi-client/standard";
|
|
12308
12306
|
import "@orpc/client/standard";
|
|
12309
12307
|
import "@orpc/contract";
|
|
12310
12308
|
|
|
12311
|
-
// ../../node_modules/.pnpm/@orpc+json-schema@1.16.1_@opentelemetry+api@1.10.0_ws@8.
|
|
12309
|
+
// ../../node_modules/.pnpm/@orpc+json-schema@1.16.1_@opentelemetry+api@1.10.0_ws@8.23.1/node_modules/@orpc/json-schema/dist/index.mjs
|
|
12312
12310
|
var JsonSchemaXNativeType = /* @__PURE__ */ ((JsonSchemaXNativeType2) => {
|
|
12313
12311
|
JsonSchemaXNativeType2["BigInt"] = "bigint";
|
|
12314
12312
|
JsonSchemaXNativeType2["RegExp"] = "regexp";
|
|
@@ -12319,7 +12317,7 @@ var JsonSchemaXNativeType = /* @__PURE__ */ ((JsonSchemaXNativeType2) => {
|
|
|
12319
12317
|
return JsonSchemaXNativeType2;
|
|
12320
12318
|
})(JsonSchemaXNativeType || {});
|
|
12321
12319
|
|
|
12322
|
-
// ../../node_modules/.pnpm/@orpc+zod@1.16.1_@opentelemetry+api@1.10.0_@orpc+contract@1.16.1_@opentelemetry+api@1.
|
|
12320
|
+
// ../../node_modules/.pnpm/@orpc+zod@1.16.1_@opentelemetry+api@1.10.0_@orpc+contract@1.16.1_@opentelemetry+api@1.1_df899f2c82da0b10ba21958fe42301a0/node_modules/@orpc/zod/dist/zod4/index.mjs
|
|
12323
12321
|
var JSON_SCHEMA_REGISTRY = registry();
|
|
12324
12322
|
var JSON_SCHEMA_INPUT_REGISTRY = registry();
|
|
12325
12323
|
var JSON_SCHEMA_OUTPUT_REGISTRY = registry();
|
|
@@ -13069,7 +13067,7 @@ function formatTable(headers, rows, isTty = process.stdout.isTTY) {
|
|
|
13069
13067
|
}
|
|
13070
13068
|
|
|
13071
13069
|
// src/version.ts
|
|
13072
|
-
var CLI_VERSION = "0.1.
|
|
13070
|
+
var CLI_VERSION = "0.1.74";
|
|
13073
13071
|
|
|
13074
13072
|
// src/client.ts
|
|
13075
13073
|
var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|