appwrite-cli 14.0.1 → 15.0.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/CHANGELOG.md +5 -4
- package/README.md +2 -2
- package/dist/bundle-win-arm64.mjs +207 -63
- package/dist/cli.cjs +207 -63
- package/dist/index.cjs +145 -46
- package/dist/index.js +145 -46
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/commands/config.d.ts +14 -4
- package/dist/lib/commands/config.d.ts.map +1 -1
- package/dist/lib/commands/init.d.ts.map +1 -1
- package/dist/lib/commands/pull.d.ts.map +1 -1
- package/dist/lib/commands/push.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/questions.d.ts.map +1 -1
- package/dist/lib/sdks.d.ts.map +1 -1
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/client.ts +17 -0
- package/lib/commands/config.ts +7 -2
- package/lib/commands/init.ts +4 -2
- package/lib/commands/pull.ts +7 -2
- package/lib/commands/push.ts +14 -4
- package/lib/commands/services/account.ts +1 -1
- package/lib/commands/services/functions.ts +10 -6
- package/lib/commands/services/sites.ts +12 -6
- package/lib/constants.ts +1 -1
- package/lib/questions.ts +38 -4
- package/lib/sdks.ts +2 -0
- package/package.json +2 -2
- package/scoop/appwrite.config.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -62747,7 +62747,7 @@ var id_default = ID;
|
|
|
62747
62747
|
// lib/constants.ts
|
|
62748
62748
|
var SDK_TITLE = "Appwrite";
|
|
62749
62749
|
var SDK_TITLE_LOWER = "appwrite";
|
|
62750
|
-
var SDK_VERSION = "
|
|
62750
|
+
var SDK_VERSION = "15.0.0";
|
|
62751
62751
|
var SDK_LOGO = "\n _ _ _ ___ __ _____\n /_\\ _ __ _ ____ ___ __(_) |_ ___ / __\\ / / \\_ \\\n //_\\\\| '_ \\| '_ \\ \\ /\\ / / '__| | __/ _ \\ / / / / / /\\/\n / _ \\ |_) | |_) \\ V V /| | | | || __/ / /___/ /___/\\/ /_\n \\_/ \\_/ .__/| .__/ \\_/\\_/ |_| |_|\\__\\___| \\____/\\____/\\____/\n |_| |_|\n\n";
|
|
62752
62752
|
var EXECUTABLE_NAME = "appwrite";
|
|
62753
62753
|
var NPM_PACKAGE_NAME = "appwrite-cli";
|
|
@@ -76739,7 +76739,10 @@ var SiteSchema = external_exports.object({
|
|
|
76739
76739
|
buildCommand: external_exports.string().optional(),
|
|
76740
76740
|
outputDirectory: external_exports.string().optional(),
|
|
76741
76741
|
fallbackFile: external_exports.string().optional(),
|
|
76742
|
-
|
|
76742
|
+
buildSpecification: external_exports.string().optional(),
|
|
76743
|
+
runtimeSpecification: external_exports.string().optional(),
|
|
76744
|
+
deploymentRetention: external_exports.number().optional(),
|
|
76745
|
+
startCommand: external_exports.string().optional(),
|
|
76743
76746
|
vars: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
76744
76747
|
ignore: external_exports.string().optional()
|
|
76745
76748
|
}).strict();
|
|
@@ -76751,7 +76754,9 @@ var FunctionSchema = external_exports.object({
|
|
|
76751
76754
|
enabled: external_exports.boolean().optional(),
|
|
76752
76755
|
logging: external_exports.boolean().optional(),
|
|
76753
76756
|
runtime: external_exports.string(),
|
|
76754
|
-
|
|
76757
|
+
buildSpecification: external_exports.string().optional(),
|
|
76758
|
+
runtimeSpecification: external_exports.string().optional(),
|
|
76759
|
+
deploymentRetention: external_exports.number().optional(),
|
|
76755
76760
|
scopes: external_exports.array(external_exports.string()).optional(),
|
|
76756
76761
|
events: external_exports.array(external_exports.string()).optional(),
|
|
76757
76762
|
schedule: external_exports.string().optional(),
|
|
@@ -80574,7 +80579,7 @@ var qt = class extends st {
|
|
|
80574
80579
|
if (h.includes("..") || Oe && /^[a-z]:\.\.$/i.test(h[0] ?? "")) {
|
|
80575
80580
|
if (e === "path" || r === "Link") return this.warn("TAR_ENTRY_ERROR", `${e} contains '..'`, { entry: t, [e]: i }), false;
|
|
80576
80581
|
{
|
|
80577
|
-
let a = import_node_path5.default.posix.dirname(t.path), l = import_node_path5.default.posix.normalize(import_node_path5.default.posix.join(a,
|
|
80582
|
+
let a = import_node_path5.default.posix.dirname(t.path), l = import_node_path5.default.posix.normalize(import_node_path5.default.posix.join(a, h.join("/")));
|
|
80578
80583
|
if (l.startsWith("../") || l === "..") return this.warn("TAR_ENTRY_ERROR", `${e} escapes extraction directory`, { entry: t, [e]: i }), false;
|
|
80579
80584
|
}
|
|
80580
80585
|
}
|
|
@@ -81232,7 +81237,7 @@ var Client = class _Client {
|
|
|
81232
81237
|
"x-sdk-name": "Console",
|
|
81233
81238
|
"x-sdk-platform": "console",
|
|
81234
81239
|
"x-sdk-language": "web",
|
|
81235
|
-
"x-sdk-version": "
|
|
81240
|
+
"x-sdk-version": "5.0.0",
|
|
81236
81241
|
"X-Appwrite-Response-Format": "1.8.0"
|
|
81237
81242
|
};
|
|
81238
81243
|
this.realtime = {
|
|
@@ -81757,6 +81762,9 @@ var Client = class _Client {
|
|
|
81757
81762
|
window.console.warn("Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint.");
|
|
81758
81763
|
window.localStorage.setItem("cookieFallback", cookieFallback);
|
|
81759
81764
|
}
|
|
81765
|
+
if (data && typeof data === "object") {
|
|
81766
|
+
data.toString = () => JSONbig.stringify(data);
|
|
81767
|
+
}
|
|
81760
81768
|
return data;
|
|
81761
81769
|
});
|
|
81762
81770
|
}
|
|
@@ -85399,7 +85407,9 @@ var Functions = class {
|
|
|
85399
85407
|
providerBranch: rest[13],
|
|
85400
85408
|
providerSilentMode: rest[14],
|
|
85401
85409
|
providerRootDirectory: rest[15],
|
|
85402
|
-
|
|
85410
|
+
buildSpecification: rest[16],
|
|
85411
|
+
runtimeSpecification: rest[17],
|
|
85412
|
+
deploymentRetention: rest[18]
|
|
85403
85413
|
};
|
|
85404
85414
|
}
|
|
85405
85415
|
const functionId = params.functionId;
|
|
@@ -85419,7 +85429,9 @@ var Functions = class {
|
|
|
85419
85429
|
const providerBranch = params.providerBranch;
|
|
85420
85430
|
const providerSilentMode = params.providerSilentMode;
|
|
85421
85431
|
const providerRootDirectory = params.providerRootDirectory;
|
|
85422
|
-
const
|
|
85432
|
+
const buildSpecification = params.buildSpecification;
|
|
85433
|
+
const runtimeSpecification = params.runtimeSpecification;
|
|
85434
|
+
const deploymentRetention = params.deploymentRetention;
|
|
85423
85435
|
if (typeof functionId === "undefined") {
|
|
85424
85436
|
throw new AppwriteException('Missing required parameter: "functionId"');
|
|
85425
85437
|
}
|
|
@@ -85482,8 +85494,14 @@ var Functions = class {
|
|
|
85482
85494
|
if (typeof providerRootDirectory !== "undefined") {
|
|
85483
85495
|
payload["providerRootDirectory"] = providerRootDirectory;
|
|
85484
85496
|
}
|
|
85485
|
-
if (typeof
|
|
85486
|
-
payload["
|
|
85497
|
+
if (typeof buildSpecification !== "undefined") {
|
|
85498
|
+
payload["buildSpecification"] = buildSpecification;
|
|
85499
|
+
}
|
|
85500
|
+
if (typeof runtimeSpecification !== "undefined") {
|
|
85501
|
+
payload["runtimeSpecification"] = runtimeSpecification;
|
|
85502
|
+
}
|
|
85503
|
+
if (typeof deploymentRetention !== "undefined") {
|
|
85504
|
+
payload["deploymentRetention"] = deploymentRetention;
|
|
85487
85505
|
}
|
|
85488
85506
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
85489
85507
|
const apiHeaders = {
|
|
@@ -85636,7 +85654,9 @@ var Functions = class {
|
|
|
85636
85654
|
providerBranch: rest[13],
|
|
85637
85655
|
providerSilentMode: rest[14],
|
|
85638
85656
|
providerRootDirectory: rest[15],
|
|
85639
|
-
|
|
85657
|
+
buildSpecification: rest[16],
|
|
85658
|
+
runtimeSpecification: rest[17],
|
|
85659
|
+
deploymentRetention: rest[18]
|
|
85640
85660
|
};
|
|
85641
85661
|
}
|
|
85642
85662
|
const functionId = params.functionId;
|
|
@@ -85656,7 +85676,9 @@ var Functions = class {
|
|
|
85656
85676
|
const providerBranch = params.providerBranch;
|
|
85657
85677
|
const providerSilentMode = params.providerSilentMode;
|
|
85658
85678
|
const providerRootDirectory = params.providerRootDirectory;
|
|
85659
|
-
const
|
|
85679
|
+
const buildSpecification = params.buildSpecification;
|
|
85680
|
+
const runtimeSpecification = params.runtimeSpecification;
|
|
85681
|
+
const deploymentRetention = params.deploymentRetention;
|
|
85660
85682
|
if (typeof functionId === "undefined") {
|
|
85661
85683
|
throw new AppwriteException('Missing required parameter: "functionId"');
|
|
85662
85684
|
}
|
|
@@ -85713,8 +85735,14 @@ var Functions = class {
|
|
|
85713
85735
|
if (typeof providerRootDirectory !== "undefined") {
|
|
85714
85736
|
payload["providerRootDirectory"] = providerRootDirectory;
|
|
85715
85737
|
}
|
|
85716
|
-
if (typeof
|
|
85717
|
-
payload["
|
|
85738
|
+
if (typeof buildSpecification !== "undefined") {
|
|
85739
|
+
payload["buildSpecification"] = buildSpecification;
|
|
85740
|
+
}
|
|
85741
|
+
if (typeof runtimeSpecification !== "undefined") {
|
|
85742
|
+
payload["runtimeSpecification"] = runtimeSpecification;
|
|
85743
|
+
}
|
|
85744
|
+
if (typeof deploymentRetention !== "undefined") {
|
|
85745
|
+
payload["deploymentRetention"] = deploymentRetention;
|
|
85718
85746
|
}
|
|
85719
85747
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
85720
85748
|
const apiHeaders = {
|
|
@@ -93147,15 +93175,18 @@ var Sites = class {
|
|
|
93147
93175
|
timeout: rest[5],
|
|
93148
93176
|
installCommand: rest[6],
|
|
93149
93177
|
buildCommand: rest[7],
|
|
93150
|
-
|
|
93151
|
-
|
|
93152
|
-
|
|
93153
|
-
|
|
93154
|
-
|
|
93155
|
-
|
|
93156
|
-
|
|
93157
|
-
|
|
93158
|
-
|
|
93178
|
+
startCommand: rest[8],
|
|
93179
|
+
outputDirectory: rest[9],
|
|
93180
|
+
adapter: rest[10],
|
|
93181
|
+
installationId: rest[11],
|
|
93182
|
+
fallbackFile: rest[12],
|
|
93183
|
+
providerRepositoryId: rest[13],
|
|
93184
|
+
providerBranch: rest[14],
|
|
93185
|
+
providerSilentMode: rest[15],
|
|
93186
|
+
providerRootDirectory: rest[16],
|
|
93187
|
+
buildSpecification: rest[17],
|
|
93188
|
+
runtimeSpecification: rest[18],
|
|
93189
|
+
deploymentRetention: rest[19]
|
|
93159
93190
|
};
|
|
93160
93191
|
}
|
|
93161
93192
|
const siteId = params.siteId;
|
|
@@ -93167,6 +93198,7 @@ var Sites = class {
|
|
|
93167
93198
|
const timeout = params.timeout;
|
|
93168
93199
|
const installCommand = params.installCommand;
|
|
93169
93200
|
const buildCommand = params.buildCommand;
|
|
93201
|
+
const startCommand = params.startCommand;
|
|
93170
93202
|
const outputDirectory = params.outputDirectory;
|
|
93171
93203
|
const adapter = params.adapter;
|
|
93172
93204
|
const installationId = params.installationId;
|
|
@@ -93175,7 +93207,9 @@ var Sites = class {
|
|
|
93175
93207
|
const providerBranch = params.providerBranch;
|
|
93176
93208
|
const providerSilentMode = params.providerSilentMode;
|
|
93177
93209
|
const providerRootDirectory = params.providerRootDirectory;
|
|
93178
|
-
const
|
|
93210
|
+
const buildSpecification = params.buildSpecification;
|
|
93211
|
+
const runtimeSpecification = params.runtimeSpecification;
|
|
93212
|
+
const deploymentRetention = params.deploymentRetention;
|
|
93179
93213
|
if (typeof siteId === "undefined") {
|
|
93180
93214
|
throw new AppwriteException('Missing required parameter: "siteId"');
|
|
93181
93215
|
}
|
|
@@ -93214,6 +93248,9 @@ var Sites = class {
|
|
|
93214
93248
|
if (typeof buildCommand !== "undefined") {
|
|
93215
93249
|
payload["buildCommand"] = buildCommand;
|
|
93216
93250
|
}
|
|
93251
|
+
if (typeof startCommand !== "undefined") {
|
|
93252
|
+
payload["startCommand"] = startCommand;
|
|
93253
|
+
}
|
|
93217
93254
|
if (typeof outputDirectory !== "undefined") {
|
|
93218
93255
|
payload["outputDirectory"] = outputDirectory;
|
|
93219
93256
|
}
|
|
@@ -93241,8 +93278,14 @@ var Sites = class {
|
|
|
93241
93278
|
if (typeof providerRootDirectory !== "undefined") {
|
|
93242
93279
|
payload["providerRootDirectory"] = providerRootDirectory;
|
|
93243
93280
|
}
|
|
93244
|
-
if (typeof
|
|
93245
|
-
payload["
|
|
93281
|
+
if (typeof buildSpecification !== "undefined") {
|
|
93282
|
+
payload["buildSpecification"] = buildSpecification;
|
|
93283
|
+
}
|
|
93284
|
+
if (typeof runtimeSpecification !== "undefined") {
|
|
93285
|
+
payload["runtimeSpecification"] = runtimeSpecification;
|
|
93286
|
+
}
|
|
93287
|
+
if (typeof deploymentRetention !== "undefined") {
|
|
93288
|
+
payload["deploymentRetention"] = deploymentRetention;
|
|
93246
93289
|
}
|
|
93247
93290
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
93248
93291
|
const apiHeaders = {
|
|
@@ -93381,16 +93424,19 @@ var Sites = class {
|
|
|
93381
93424
|
timeout: rest[4],
|
|
93382
93425
|
installCommand: rest[5],
|
|
93383
93426
|
buildCommand: rest[6],
|
|
93384
|
-
|
|
93385
|
-
|
|
93386
|
-
|
|
93387
|
-
|
|
93388
|
-
|
|
93389
|
-
|
|
93390
|
-
|
|
93391
|
-
|
|
93392
|
-
|
|
93393
|
-
|
|
93427
|
+
startCommand: rest[7],
|
|
93428
|
+
outputDirectory: rest[8],
|
|
93429
|
+
buildRuntime: rest[9],
|
|
93430
|
+
adapter: rest[10],
|
|
93431
|
+
fallbackFile: rest[11],
|
|
93432
|
+
installationId: rest[12],
|
|
93433
|
+
providerRepositoryId: rest[13],
|
|
93434
|
+
providerBranch: rest[14],
|
|
93435
|
+
providerSilentMode: rest[15],
|
|
93436
|
+
providerRootDirectory: rest[16],
|
|
93437
|
+
buildSpecification: rest[17],
|
|
93438
|
+
runtimeSpecification: rest[18],
|
|
93439
|
+
deploymentRetention: rest[19]
|
|
93394
93440
|
};
|
|
93395
93441
|
}
|
|
93396
93442
|
const siteId = params.siteId;
|
|
@@ -93401,6 +93447,7 @@ var Sites = class {
|
|
|
93401
93447
|
const timeout = params.timeout;
|
|
93402
93448
|
const installCommand = params.installCommand;
|
|
93403
93449
|
const buildCommand = params.buildCommand;
|
|
93450
|
+
const startCommand = params.startCommand;
|
|
93404
93451
|
const outputDirectory = params.outputDirectory;
|
|
93405
93452
|
const buildRuntime = params.buildRuntime;
|
|
93406
93453
|
const adapter = params.adapter;
|
|
@@ -93410,7 +93457,9 @@ var Sites = class {
|
|
|
93410
93457
|
const providerBranch = params.providerBranch;
|
|
93411
93458
|
const providerSilentMode = params.providerSilentMode;
|
|
93412
93459
|
const providerRootDirectory = params.providerRootDirectory;
|
|
93413
|
-
const
|
|
93460
|
+
const buildSpecification = params.buildSpecification;
|
|
93461
|
+
const runtimeSpecification = params.runtimeSpecification;
|
|
93462
|
+
const deploymentRetention = params.deploymentRetention;
|
|
93414
93463
|
if (typeof siteId === "undefined") {
|
|
93415
93464
|
throw new AppwriteException('Missing required parameter: "siteId"');
|
|
93416
93465
|
}
|
|
@@ -93443,6 +93492,9 @@ var Sites = class {
|
|
|
93443
93492
|
if (typeof buildCommand !== "undefined") {
|
|
93444
93493
|
payload["buildCommand"] = buildCommand;
|
|
93445
93494
|
}
|
|
93495
|
+
if (typeof startCommand !== "undefined") {
|
|
93496
|
+
payload["startCommand"] = startCommand;
|
|
93497
|
+
}
|
|
93446
93498
|
if (typeof outputDirectory !== "undefined") {
|
|
93447
93499
|
payload["outputDirectory"] = outputDirectory;
|
|
93448
93500
|
}
|
|
@@ -93470,8 +93522,14 @@ var Sites = class {
|
|
|
93470
93522
|
if (typeof providerRootDirectory !== "undefined") {
|
|
93471
93523
|
payload["providerRootDirectory"] = providerRootDirectory;
|
|
93472
93524
|
}
|
|
93473
|
-
if (typeof
|
|
93474
|
-
payload["
|
|
93525
|
+
if (typeof buildSpecification !== "undefined") {
|
|
93526
|
+
payload["buildSpecification"] = buildSpecification;
|
|
93527
|
+
}
|
|
93528
|
+
if (typeof runtimeSpecification !== "undefined") {
|
|
93529
|
+
payload["runtimeSpecification"] = runtimeSpecification;
|
|
93530
|
+
}
|
|
93531
|
+
if (typeof deploymentRetention !== "undefined") {
|
|
93532
|
+
payload["deploymentRetention"] = deploymentRetention;
|
|
93475
93533
|
}
|
|
93476
93534
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
93477
93535
|
const apiHeaders = {
|
|
@@ -99459,6 +99517,9 @@ var Runtime;
|
|
|
99459
99517
|
Runtime2["Pythonml311"] = "python-ml-3.11";
|
|
99460
99518
|
Runtime2["Pythonml312"] = "python-ml-3.12";
|
|
99461
99519
|
Runtime2["Pythonml313"] = "python-ml-3.13";
|
|
99520
|
+
Runtime2["Deno121"] = "deno-1.21";
|
|
99521
|
+
Runtime2["Deno124"] = "deno-1.24";
|
|
99522
|
+
Runtime2["Deno135"] = "deno-1.35";
|
|
99462
99523
|
Runtime2["Deno140"] = "deno-1.40";
|
|
99463
99524
|
Runtime2["Deno146"] = "deno-1.46";
|
|
99464
99525
|
Runtime2["Deno20"] = "deno-2.0";
|
|
@@ -99548,6 +99609,9 @@ var Runtimes;
|
|
|
99548
99609
|
Runtimes2["Pythonml311"] = "python-ml-3.11";
|
|
99549
99610
|
Runtimes2["Pythonml312"] = "python-ml-3.12";
|
|
99550
99611
|
Runtimes2["Pythonml313"] = "python-ml-3.13";
|
|
99612
|
+
Runtimes2["Deno121"] = "deno-1.21";
|
|
99613
|
+
Runtimes2["Deno124"] = "deno-1.24";
|
|
99614
|
+
Runtimes2["Deno135"] = "deno-1.35";
|
|
99551
99615
|
Runtimes2["Deno140"] = "deno-1.40";
|
|
99552
99616
|
Runtimes2["Deno146"] = "deno-1.46";
|
|
99553
99617
|
Runtimes2["Deno20"] = "deno-2.0";
|
|
@@ -99688,6 +99752,10 @@ var AppwriteMigrationResource;
|
|
|
99688
99752
|
AppwriteMigrationResource2["Function"] = "function";
|
|
99689
99753
|
AppwriteMigrationResource2["Deployment"] = "deployment";
|
|
99690
99754
|
AppwriteMigrationResource2["Environmentvariable"] = "environment-variable";
|
|
99755
|
+
AppwriteMigrationResource2["Provider"] = "provider";
|
|
99756
|
+
AppwriteMigrationResource2["Topic"] = "topic";
|
|
99757
|
+
AppwriteMigrationResource2["Subscriber"] = "subscriber";
|
|
99758
|
+
AppwriteMigrationResource2["Message"] = "message";
|
|
99691
99759
|
AppwriteMigrationResource2["Site"] = "site";
|
|
99692
99760
|
AppwriteMigrationResource2["Sitedeployment"] = "site-deployment";
|
|
99693
99761
|
AppwriteMigrationResource2["Sitevariable"] = "site-variable";
|
|
@@ -100161,6 +100229,9 @@ var BuildRuntime;
|
|
|
100161
100229
|
BuildRuntime2["Pythonml311"] = "python-ml-3.11";
|
|
100162
100230
|
BuildRuntime2["Pythonml312"] = "python-ml-3.12";
|
|
100163
100231
|
BuildRuntime2["Pythonml313"] = "python-ml-3.13";
|
|
100232
|
+
BuildRuntime2["Deno121"] = "deno-1.21";
|
|
100233
|
+
BuildRuntime2["Deno124"] = "deno-1.24";
|
|
100234
|
+
BuildRuntime2["Deno135"] = "deno-1.35";
|
|
100164
100235
|
BuildRuntime2["Deno140"] = "deno-1.40";
|
|
100165
100236
|
BuildRuntime2["Deno146"] = "deno-1.46";
|
|
100166
100237
|
BuildRuntime2["Deno20"] = "deno-2.0";
|
|
@@ -100372,6 +100443,17 @@ var BillingPlanGroup;
|
|
|
100372
100443
|
BillingPlanGroup2["Pro"] = "pro";
|
|
100373
100444
|
BillingPlanGroup2["Scale"] = "scale";
|
|
100374
100445
|
})(BillingPlanGroup || (BillingPlanGroup = {}));
|
|
100446
|
+
var DomainPurchasePaymentStatus;
|
|
100447
|
+
(function(DomainPurchasePaymentStatus2) {
|
|
100448
|
+
DomainPurchasePaymentStatus2["Pending"] = "pending";
|
|
100449
|
+
DomainPurchasePaymentStatus2["PendingConfirmation"] = "pending_confirmation";
|
|
100450
|
+
DomainPurchasePaymentStatus2["PendingPaymentProcessing"] = "pending_payment_processing";
|
|
100451
|
+
DomainPurchasePaymentStatus2["Authorized"] = "authorized";
|
|
100452
|
+
DomainPurchasePaymentStatus2["Captured"] = "captured";
|
|
100453
|
+
DomainPurchasePaymentStatus2["Failed"] = "failed";
|
|
100454
|
+
DomainPurchasePaymentStatus2["CaptureFailed"] = "capture_failed";
|
|
100455
|
+
DomainPurchasePaymentStatus2["RenewalCaptureFailed"] = "renewal_capture_failed";
|
|
100456
|
+
})(DomainPurchasePaymentStatus || (DomainPurchasePaymentStatus = {}));
|
|
100375
100457
|
var DomainTransferStatusStatus;
|
|
100376
100458
|
(function(DomainTransferStatusStatus2) {
|
|
100377
100459
|
DomainTransferStatusStatus2["Transferrable"] = "transferrable";
|
|
@@ -100394,7 +100476,7 @@ var package_default = {
|
|
|
100394
100476
|
type: "module",
|
|
100395
100477
|
homepage: "https://appwrite.io/support",
|
|
100396
100478
|
description: "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
|
|
100397
|
-
version: "
|
|
100479
|
+
version: "15.0.0",
|
|
100398
100480
|
license: "BSD-3-Clause",
|
|
100399
100481
|
main: "dist/index.cjs",
|
|
100400
100482
|
module: "dist/index.js",
|
|
@@ -100438,7 +100520,7 @@ var package_default = {
|
|
|
100438
100520
|
"windows-arm64": "esbuild cli.ts --bundle --loader:.hbs=text --platform=node --target=node18 --format=esm --external:fsevents --outfile=dist/bundle-win-arm64.mjs && pkg dist/bundle-win-arm64.mjs -t node18-win-arm64 -o build/appwrite-cli-win-arm64.exe"
|
|
100439
100521
|
},
|
|
100440
100522
|
dependencies: {
|
|
100441
|
-
"@appwrite.io/console": "^
|
|
100523
|
+
"@appwrite.io/console": "^5.0.0",
|
|
100442
100524
|
chalk: "4.1.2",
|
|
100443
100525
|
chokidar: "^3.6.0",
|
|
100444
100526
|
"cli-progress": "^3.12.0",
|
|
@@ -100831,6 +100913,7 @@ var sdkForConsole = async (requiresAuth = true) => {
|
|
|
100831
100913
|
);
|
|
100832
100914
|
}
|
|
100833
100915
|
client.headers = {
|
|
100916
|
+
...client.headers,
|
|
100834
100917
|
"x-sdk-name": "Command Line",
|
|
100835
100918
|
"x-sdk-platform": "console",
|
|
100836
100919
|
"x-sdk-language": "cli",
|
|
@@ -100853,6 +100936,7 @@ var sdkForProject = async () => {
|
|
|
100853
100936
|
);
|
|
100854
100937
|
}
|
|
100855
100938
|
client.headers = {
|
|
100939
|
+
...client.headers,
|
|
100856
100940
|
"x-sdk-name": "Command Line",
|
|
100857
100941
|
"x-sdk-platform": "console",
|
|
100858
100942
|
"x-sdk-language": "cli",
|
|
@@ -103018,7 +103102,9 @@ var Push = class {
|
|
|
103018
103102
|
entrypoint: func.entrypoint,
|
|
103019
103103
|
commands: func.commands,
|
|
103020
103104
|
scopes: func.scopes,
|
|
103021
|
-
|
|
103105
|
+
buildSpecification: func.buildSpecification,
|
|
103106
|
+
runtimeSpecification: func.runtimeSpecification,
|
|
103107
|
+
deploymentRetention: func.deploymentRetention
|
|
103022
103108
|
});
|
|
103023
103109
|
} catch (e) {
|
|
103024
103110
|
if (Number(e.code) === 404) {
|
|
@@ -103047,7 +103133,9 @@ var Push = class {
|
|
|
103047
103133
|
entrypoint: func.entrypoint,
|
|
103048
103134
|
commands: func.commands,
|
|
103049
103135
|
scopes: func.scopes,
|
|
103050
|
-
|
|
103136
|
+
buildSpecification: func.buildSpecification,
|
|
103137
|
+
runtimeSpecification: func.runtimeSpecification,
|
|
103138
|
+
deploymentRetention: func.deploymentRetention
|
|
103051
103139
|
});
|
|
103052
103140
|
let domain2 = "";
|
|
103053
103141
|
try {
|
|
@@ -103319,7 +103407,10 @@ var Push = class {
|
|
|
103319
103407
|
outputDirectory: site.outputDirectory,
|
|
103320
103408
|
buildRuntime: site.buildRuntime,
|
|
103321
103409
|
adapter: site.adapter,
|
|
103322
|
-
|
|
103410
|
+
startCommand: site.startCommand,
|
|
103411
|
+
buildSpecification: site.buildSpecification,
|
|
103412
|
+
runtimeSpecification: site.runtimeSpecification,
|
|
103413
|
+
deploymentRetention: site.deploymentRetention
|
|
103323
103414
|
});
|
|
103324
103415
|
} catch (e) {
|
|
103325
103416
|
if (Number(e.code) === 404) {
|
|
@@ -103347,7 +103438,10 @@ var Push = class {
|
|
|
103347
103438
|
outputDirectory: site.outputDirectory,
|
|
103348
103439
|
buildRuntime: site.buildRuntime,
|
|
103349
103440
|
adapter: site.adapter,
|
|
103350
|
-
|
|
103441
|
+
startCommand: site.startCommand,
|
|
103442
|
+
buildSpecification: site.buildSpecification,
|
|
103443
|
+
runtimeSpecification: site.runtimeSpecification,
|
|
103444
|
+
deploymentRetention: site.deploymentRetention
|
|
103351
103445
|
});
|
|
103352
103446
|
let domain2 = "";
|
|
103353
103447
|
try {
|
|
@@ -104783,7 +104877,9 @@ var Pull = class {
|
|
|
104783
104877
|
timeout: func.timeout,
|
|
104784
104878
|
commands: func.commands,
|
|
104785
104879
|
scopes: func.scopes,
|
|
104786
|
-
|
|
104880
|
+
buildSpecification: func.buildSpecification,
|
|
104881
|
+
runtimeSpecification: func.runtimeSpecification,
|
|
104882
|
+
deploymentRetention: func.deploymentRetention
|
|
104787
104883
|
};
|
|
104788
104884
|
result.push(functionConfig);
|
|
104789
104885
|
if (!import_fs8.default.existsSync(absoluteFuncPath)) {
|
|
@@ -104865,7 +104961,10 @@ var Pull = class {
|
|
|
104865
104961
|
buildCommand: site.buildCommand,
|
|
104866
104962
|
outputDirectory: site.outputDirectory,
|
|
104867
104963
|
fallbackFile: site.fallbackFile,
|
|
104868
|
-
|
|
104964
|
+
startCommand: site.startCommand,
|
|
104965
|
+
buildSpecification: site.buildSpecification,
|
|
104966
|
+
runtimeSpecification: site.runtimeSpecification,
|
|
104967
|
+
deploymentRetention: site.deploymentRetention
|
|
104869
104968
|
};
|
|
104870
104969
|
result.push(siteConfig);
|
|
104871
104970
|
if (!import_fs8.default.existsSync(absoluteSitePath)) {
|