appwrite-cli 17.0.0 → 17.1.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 +6 -0
- package/README.md +2 -2
- package/cli.ts +6 -0
- package/dist/bundle-win-arm64.mjs +489 -122
- package/dist/cli.cjs +489 -122
- package/dist/index.cjs +175 -85
- package/dist/index.js +175 -85
- package/dist/lib/commands/services/organizations.d.ts +3 -0
- package/dist/lib/commands/services/organizations.d.ts.map +1 -0
- package/dist/lib/commands/services/teams.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/emulation/utils.d.ts.map +1 -1
- package/dist/lib/parser.d.ts.map +1 -1
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/docs/examples/organizations/add-credit.md +5 -0
- package/docs/examples/organizations/cancel-downgrade.md +4 -0
- package/docs/examples/organizations/create-downgrade-feedback.md +8 -0
- package/docs/examples/organizations/create-invoice-payment.md +6 -0
- package/docs/examples/organizations/create-key.md +6 -0
- package/docs/examples/organizations/create.md +6 -0
- package/docs/examples/organizations/delete-backup-payment-method.md +4 -0
- package/docs/examples/organizations/delete-default-payment-method.md +4 -0
- package/docs/examples/organizations/delete-key.md +5 -0
- package/docs/examples/organizations/delete.md +4 -0
- package/docs/examples/organizations/estimation-create-organization.md +4 -0
- package/docs/examples/organizations/estimation-delete-organization.md +4 -0
- package/docs/examples/organizations/estimation-update-plan.md +5 -0
- package/docs/examples/organizations/get-aggregation.md +5 -0
- package/docs/examples/organizations/get-available-credits.md +4 -0
- package/docs/examples/organizations/get-credit.md +5 -0
- package/docs/examples/organizations/get-invoice-download.md +5 -0
- package/docs/examples/organizations/get-invoice-view.md +5 -0
- package/docs/examples/organizations/get-invoice.md +5 -0
- package/docs/examples/organizations/get-key.md +5 -0
- package/docs/examples/organizations/get-plan.md +4 -0
- package/docs/examples/organizations/get-scopes.md +4 -0
- package/docs/examples/organizations/get-usage.md +4 -0
- package/docs/examples/organizations/list-aggregations.md +4 -0
- package/docs/examples/organizations/list-credits.md +4 -0
- package/docs/examples/organizations/list-keys.md +4 -0
- package/docs/examples/organizations/list-regions.md +4 -0
- package/docs/examples/organizations/list.md +3 -0
- package/docs/examples/organizations/set-backup-payment-method.md +5 -0
- package/docs/examples/organizations/set-billing-address.md +5 -0
- package/docs/examples/organizations/set-billing-email.md +5 -0
- package/docs/examples/organizations/set-billing-tax-id.md +5 -0
- package/docs/examples/organizations/set-default-payment-method.md +5 -0
- package/docs/examples/organizations/update-budget.md +5 -0
- package/docs/examples/organizations/update-key.md +7 -0
- package/docs/examples/organizations/update-plan.md +5 -0
- package/docs/examples/organizations/validate-invoice.md +5 -0
- package/docs/examples/organizations/validate-payment.md +4 -0
- package/install.ps1 +2 -2
- package/install.sh +1 -1
- package/lib/commands/services/migrations.ts +2 -2
- package/lib/commands/services/organizations.ts +517 -0
- package/lib/commands/services/projects.ts +2 -2
- package/lib/commands/services/proxy.ts +2 -2
- package/lib/commands/services/teams.ts +10 -1
- package/lib/commands/services/vcs.ts +2 -2
- package/lib/constants.ts +1 -1
- package/lib/emulation/utils.ts +3 -2
- package/lib/parser.ts +149 -27
- package/lib/questions.ts +2 -2
- package/lib/sdks.ts +1 -0
- package/lib/types.ts +1 -0
- package/package.json +1 -1
- package/scoop/appwrite.config.json +3 -3
package/dist/index.js
CHANGED
|
@@ -19605,7 +19605,6 @@ var require_safe_buffer = __commonJS({
|
|
|
19605
19605
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
19606
19606
|
return Buffer2(arg, encodingOrOffset, length);
|
|
19607
19607
|
}
|
|
19608
|
-
SafeBuffer.prototype = Object.create(Buffer2.prototype);
|
|
19609
19608
|
copyProps(Buffer2, SafeBuffer);
|
|
19610
19609
|
SafeBuffer.from = function(arg, encodingOrOffset, length) {
|
|
19611
19610
|
if (typeof arg === "number") {
|
|
@@ -57287,7 +57286,7 @@ var require_helpers = __commonJS({
|
|
|
57287
57286
|
if (instance.helpers[helperName]) {
|
|
57288
57287
|
instance.hooks[helperName] = instance.helpers[helperName];
|
|
57289
57288
|
if (!keepHelper) {
|
|
57290
|
-
|
|
57289
|
+
instance.helpers[helperName] = void 0;
|
|
57291
57290
|
}
|
|
57292
57291
|
}
|
|
57293
57292
|
}
|
|
@@ -57379,22 +57378,6 @@ var require_logger = __commonJS({
|
|
|
57379
57378
|
}
|
|
57380
57379
|
});
|
|
57381
57380
|
|
|
57382
|
-
// node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js
|
|
57383
|
-
var require_create_new_lookup_object = __commonJS({
|
|
57384
|
-
"node_modules/handlebars/dist/cjs/handlebars/internal/create-new-lookup-object.js"(exports) {
|
|
57385
|
-
"use strict";
|
|
57386
|
-
exports.__esModule = true;
|
|
57387
|
-
exports.createNewLookupObject = createNewLookupObject;
|
|
57388
|
-
var _utils = require_utils5();
|
|
57389
|
-
function createNewLookupObject() {
|
|
57390
|
-
for (var _len = arguments.length, sources = Array(_len), _key = 0; _key < _len; _key++) {
|
|
57391
|
-
sources[_key] = arguments[_key];
|
|
57392
|
-
}
|
|
57393
|
-
return _utils.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(sources));
|
|
57394
|
-
}
|
|
57395
|
-
}
|
|
57396
|
-
});
|
|
57397
|
-
|
|
57398
57381
|
// node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js
|
|
57399
57382
|
var require_proto_access = __commonJS({
|
|
57400
57383
|
"node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js"(exports) {
|
|
@@ -57406,25 +57389,28 @@ var require_proto_access = __commonJS({
|
|
|
57406
57389
|
function _interopRequireDefault(obj) {
|
|
57407
57390
|
return obj && obj.__esModule ? obj : { "default": obj };
|
|
57408
57391
|
}
|
|
57409
|
-
var
|
|
57392
|
+
var _utils = require_utils5();
|
|
57410
57393
|
var _logger = require_logger();
|
|
57411
57394
|
var _logger2 = _interopRequireDefault(_logger);
|
|
57412
57395
|
var loggedProperties = /* @__PURE__ */ Object.create(null);
|
|
57413
57396
|
function createProtoAccessControl(runtimeOptions) {
|
|
57414
|
-
var
|
|
57415
|
-
|
|
57416
|
-
|
|
57417
|
-
|
|
57418
|
-
|
|
57419
|
-
|
|
57420
|
-
|
|
57397
|
+
var propertyWhiteList = /* @__PURE__ */ Object.create(null);
|
|
57398
|
+
propertyWhiteList["__proto__"] = false;
|
|
57399
|
+
_utils.extend(propertyWhiteList, runtimeOptions.allowedProtoProperties);
|
|
57400
|
+
var methodWhiteList = /* @__PURE__ */ Object.create(null);
|
|
57401
|
+
methodWhiteList["constructor"] = false;
|
|
57402
|
+
methodWhiteList["__defineGetter__"] = false;
|
|
57403
|
+
methodWhiteList["__defineSetter__"] = false;
|
|
57404
|
+
methodWhiteList["__lookupGetter__"] = false;
|
|
57405
|
+
methodWhiteList["__lookupSetter__"] = false;
|
|
57406
|
+
_utils.extend(methodWhiteList, runtimeOptions.allowedProtoMethods);
|
|
57421
57407
|
return {
|
|
57422
57408
|
properties: {
|
|
57423
|
-
whitelist:
|
|
57409
|
+
whitelist: propertyWhiteList,
|
|
57424
57410
|
defaultValue: runtimeOptions.allowProtoPropertiesByDefault
|
|
57425
57411
|
},
|
|
57426
57412
|
methods: {
|
|
57427
|
-
whitelist:
|
|
57413
|
+
whitelist: methodWhiteList,
|
|
57428
57414
|
defaultValue: runtimeOptions.allowProtoMethodsByDefault
|
|
57429
57415
|
}
|
|
57430
57416
|
};
|
|
@@ -57477,7 +57463,7 @@ var require_base2 = __commonJS({
|
|
|
57477
57463
|
var _logger = require_logger();
|
|
57478
57464
|
var _logger2 = _interopRequireDefault(_logger);
|
|
57479
57465
|
var _internalProtoAccess = require_proto_access();
|
|
57480
|
-
var VERSION = "4.7.
|
|
57466
|
+
var VERSION = "4.7.9";
|
|
57481
57467
|
exports.VERSION = VERSION;
|
|
57482
57468
|
var COMPILER_REVISION = 8;
|
|
57483
57469
|
exports.COMPILER_REVISION = COMPILER_REVISION;
|
|
@@ -57663,14 +57649,12 @@ var require_runtime = __commonJS({
|
|
|
57663
57649
|
}
|
|
57664
57650
|
}
|
|
57665
57651
|
partial2 = env.VM.resolvePartial.call(this, partial2, context, options);
|
|
57666
|
-
|
|
57667
|
-
|
|
57668
|
-
|
|
57669
|
-
});
|
|
57670
|
-
var result = env.VM.invokePartial.call(this, partial2, context, extendedOptions);
|
|
57652
|
+
options.hooks = this.hooks;
|
|
57653
|
+
options.protoAccessControl = this.protoAccessControl;
|
|
57654
|
+
var result = env.VM.invokePartial.call(this, partial2, context, options);
|
|
57671
57655
|
if (result == null && env.compile) {
|
|
57672
57656
|
options.partials[options.name] = env.compile(partial2, templateSpec.compilerOptions, env);
|
|
57673
|
-
result = options.partials[options.name](context,
|
|
57657
|
+
result = options.partials[options.name](context, options);
|
|
57674
57658
|
}
|
|
57675
57659
|
if (result != null) {
|
|
57676
57660
|
if (options.indent) {
|
|
@@ -57715,7 +57699,7 @@ var require_runtime = __commonJS({
|
|
|
57715
57699
|
for (var i = 0; i < len; i++) {
|
|
57716
57700
|
var result = depths[i] && container.lookupProperty(depths[i], name);
|
|
57717
57701
|
if (result != null) {
|
|
57718
|
-
return
|
|
57702
|
+
return result;
|
|
57719
57703
|
}
|
|
57720
57704
|
}
|
|
57721
57705
|
},
|
|
@@ -57781,8 +57765,9 @@ var require_runtime = __commonJS({
|
|
|
57781
57765
|
ret.isTop = true;
|
|
57782
57766
|
ret._setup = function(options) {
|
|
57783
57767
|
if (!options.partial) {
|
|
57784
|
-
var mergedHelpers =
|
|
57785
|
-
|
|
57768
|
+
var mergedHelpers = {};
|
|
57769
|
+
addHelpers(mergedHelpers, env.helpers, container);
|
|
57770
|
+
addHelpers(mergedHelpers, options.helpers, container);
|
|
57786
57771
|
container.helpers = mergedHelpers;
|
|
57787
57772
|
if (templateSpec.usePartial) {
|
|
57788
57773
|
container.partials = container.mergeIfNeeded(options.partials, env.partials);
|
|
@@ -57832,18 +57817,18 @@ var require_runtime = __commonJS({
|
|
|
57832
57817
|
function resolvePartial(partial2, context, options) {
|
|
57833
57818
|
if (!partial2) {
|
|
57834
57819
|
if (options.name === "@partial-block") {
|
|
57835
|
-
partial2 = options.data
|
|
57820
|
+
partial2 = lookupOwnProperty(options.data, "partial-block");
|
|
57836
57821
|
} else {
|
|
57837
|
-
partial2 = options.partials
|
|
57822
|
+
partial2 = lookupOwnProperty(options.partials, options.name);
|
|
57838
57823
|
}
|
|
57839
57824
|
} else if (!partial2.call && !options.name) {
|
|
57840
57825
|
options.name = partial2;
|
|
57841
|
-
partial2 = options.partials
|
|
57826
|
+
partial2 = lookupOwnProperty(options.partials, partial2);
|
|
57842
57827
|
}
|
|
57843
57828
|
return partial2;
|
|
57844
57829
|
}
|
|
57845
57830
|
function invokePartial(partial2, context, options) {
|
|
57846
|
-
var currentPartialBlock = options.data
|
|
57831
|
+
var currentPartialBlock = lookupOwnProperty(options.data, "partial-block");
|
|
57847
57832
|
options.partial = true;
|
|
57848
57833
|
if (options.ids) {
|
|
57849
57834
|
options.data.contextPath = options.ids[0] || options.data.contextPath;
|
|
@@ -57876,6 +57861,11 @@ var require_runtime = __commonJS({
|
|
|
57876
57861
|
function noop() {
|
|
57877
57862
|
return "";
|
|
57878
57863
|
}
|
|
57864
|
+
function lookupOwnProperty(obj, name) {
|
|
57865
|
+
if (obj && Object.prototype.hasOwnProperty.call(obj, name)) {
|
|
57866
|
+
return obj[name];
|
|
57867
|
+
}
|
|
57868
|
+
}
|
|
57879
57869
|
function initData(context, data) {
|
|
57880
57870
|
if (!data || !("root" in data)) {
|
|
57881
57871
|
data = data ? _base.createFrame(data) : {};
|
|
@@ -57891,16 +57881,18 @@ var require_runtime = __commonJS({
|
|
|
57891
57881
|
}
|
|
57892
57882
|
return prog;
|
|
57893
57883
|
}
|
|
57894
|
-
function
|
|
57895
|
-
|
|
57896
|
-
|
|
57884
|
+
function addHelpers(mergedHelpers, helpers, container) {
|
|
57885
|
+
if (!helpers) return;
|
|
57886
|
+
Object.keys(helpers).forEach(function(helperName) {
|
|
57887
|
+
var helper = helpers[helperName];
|
|
57897
57888
|
mergedHelpers[helperName] = passLookupPropertyOption(helper, container);
|
|
57898
57889
|
});
|
|
57899
57890
|
}
|
|
57900
57891
|
function passLookupPropertyOption(helper, container) {
|
|
57901
57892
|
var lookupProperty = container.lookupProperty;
|
|
57902
57893
|
return _internalWrapHelper.wrapHelper(helper, function(options) {
|
|
57903
|
-
|
|
57894
|
+
options.lookupProperty = lookupProperty;
|
|
57895
|
+
return options;
|
|
57904
57896
|
});
|
|
57905
57897
|
}
|
|
57906
57898
|
}
|
|
@@ -58710,7 +58702,7 @@ var require_parser = __commonJS({
|
|
|
58710
58702
|
break;
|
|
58711
58703
|
}
|
|
58712
58704
|
};
|
|
58713
|
-
lexer2.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[
|
|
58705
|
+
lexer2.rules = [/^(?:[^\x00]*?(?=(\{\{)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/, /^(?:\{\{\{\{(?=[^\/]))/, /^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/, /^(?:[^\x00]+?(?=(\{\{\{\{)))/, /^(?:[\s\S]*?--(~)?\}\})/, /^(?:\()/, /^(?:\))/, /^(?:\{\{\{\{)/, /^(?:\}\}\}\})/, /^(?:\{\{(~)?>)/, /^(?:\{\{(~)?#>)/, /^(?:\{\{(~)?#\*?)/, /^(?:\{\{(~)?\/)/, /^(?:\{\{(~)?\^\s*(~)?\}\})/, /^(?:\{\{(~)?\s*else\s*(~)?\}\})/, /^(?:\{\{(~)?\^)/, /^(?:\{\{(~)?\s*else\b)/, /^(?:\{\{(~)?\{)/, /^(?:\{\{(~)?&)/, /^(?:\{\{(~)?!--)/, /^(?:\{\{(~)?![\s\S]*?\}\})/, /^(?:\{\{(~)?\*?)/, /^(?:=)/, /^(?:\.\.)/, /^(?:\.(?=([=~}\s\/.)|])))/, /^(?:[\/.])/, /^(?:\s+)/, /^(?:\}(~)?\}\})/, /^(?:(~)?\}\})/, /^(?:"(\\["]|[^"])*")/, /^(?:'(\\[']|[^'])*')/, /^(?:@)/, /^(?:true(?=([~}\s)])))/, /^(?:false(?=([~}\s)])))/, /^(?:undefined(?=([~}\s)])))/, /^(?:null(?=([~}\s)])))/, /^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/, /^(?:as\s+\|)/, /^(?:\|)/, /^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/, /^(?:\[(\\\]|[^\]])*\])/, /^(?:.)/, /^(?:$)/];
|
|
58714
58706
|
lexer2.conditions = { "mu": { "rules": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "inclusive": false }, "emu": { "rules": [2], "inclusive": false }, "com": { "rules": [6], "inclusive": false }, "raw": { "rules": [3, 4, 5], "inclusive": false }, "INITIAL": { "rules": [0, 1, 44], "inclusive": true } };
|
|
58715
58707
|
return lexer2;
|
|
58716
58708
|
})();
|
|
@@ -59217,12 +59209,15 @@ var require_base3 = __commonJS({
|
|
|
59217
59209
|
var _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);
|
|
59218
59210
|
var _helpers = require_helpers2();
|
|
59219
59211
|
var Helpers = _interopRequireWildcard(_helpers);
|
|
59212
|
+
var _exception = require_exception();
|
|
59213
|
+
var _exception2 = _interopRequireDefault(_exception);
|
|
59220
59214
|
var _utils = require_utils5();
|
|
59221
59215
|
exports.parser = _parser2["default"];
|
|
59222
59216
|
var yy = {};
|
|
59223
59217
|
_utils.extend(yy, Helpers);
|
|
59224
59218
|
function parseWithoutProcessing(input, options) {
|
|
59225
59219
|
if (input.type === "Program") {
|
|
59220
|
+
validateInputAst(input);
|
|
59226
59221
|
return input;
|
|
59227
59222
|
}
|
|
59228
59223
|
_parser2["default"].yy = yy;
|
|
@@ -59237,6 +59232,51 @@ var require_base3 = __commonJS({
|
|
|
59237
59232
|
var strip = new _whitespaceControl2["default"](options);
|
|
59238
59233
|
return strip.accept(ast);
|
|
59239
59234
|
}
|
|
59235
|
+
function validateInputAst(ast) {
|
|
59236
|
+
validateAstNode(ast);
|
|
59237
|
+
}
|
|
59238
|
+
function validateAstNode(node) {
|
|
59239
|
+
if (node == null) {
|
|
59240
|
+
return;
|
|
59241
|
+
}
|
|
59242
|
+
if (Array.isArray(node)) {
|
|
59243
|
+
node.forEach(validateAstNode);
|
|
59244
|
+
return;
|
|
59245
|
+
}
|
|
59246
|
+
if (typeof node !== "object") {
|
|
59247
|
+
return;
|
|
59248
|
+
}
|
|
59249
|
+
if (node.type === "PathExpression") {
|
|
59250
|
+
if (!isValidDepth(node.depth)) {
|
|
59251
|
+
throw new _exception2["default"]("Invalid AST: PathExpression.depth must be an integer");
|
|
59252
|
+
}
|
|
59253
|
+
if (!Array.isArray(node.parts)) {
|
|
59254
|
+
throw new _exception2["default"]("Invalid AST: PathExpression.parts must be an array");
|
|
59255
|
+
}
|
|
59256
|
+
for (var i = 0; i < node.parts.length; i++) {
|
|
59257
|
+
if (typeof node.parts[i] !== "string") {
|
|
59258
|
+
throw new _exception2["default"]("Invalid AST: PathExpression.parts must only contain strings");
|
|
59259
|
+
}
|
|
59260
|
+
}
|
|
59261
|
+
} else if (node.type === "NumberLiteral") {
|
|
59262
|
+
if (typeof node.value !== "number" || !isFinite(node.value)) {
|
|
59263
|
+
throw new _exception2["default"]("Invalid AST: NumberLiteral.value must be a number");
|
|
59264
|
+
}
|
|
59265
|
+
} else if (node.type === "BooleanLiteral") {
|
|
59266
|
+
if (typeof node.value !== "boolean") {
|
|
59267
|
+
throw new _exception2["default"]("Invalid AST: BooleanLiteral.value must be a boolean");
|
|
59268
|
+
}
|
|
59269
|
+
}
|
|
59270
|
+
Object.keys(node).forEach(function(propertyName) {
|
|
59271
|
+
if (propertyName === "loc") {
|
|
59272
|
+
return;
|
|
59273
|
+
}
|
|
59274
|
+
validateAstNode(node[propertyName]);
|
|
59275
|
+
});
|
|
59276
|
+
}
|
|
59277
|
+
function isValidDepth(depth) {
|
|
59278
|
+
return typeof depth === "number" && isFinite(depth) && Math.floor(depth) === depth && depth >= 0;
|
|
59279
|
+
}
|
|
59240
59280
|
}
|
|
59241
59281
|
});
|
|
59242
59282
|
|
|
@@ -61665,12 +61705,10 @@ var require_javascript_compiler = __commonJS({
|
|
|
61665
61705
|
var programs = _context.programs;
|
|
61666
61706
|
var decorators = _context.decorators;
|
|
61667
61707
|
for (i = 0, l = programs.length; i < l; i++) {
|
|
61668
|
-
|
|
61669
|
-
|
|
61670
|
-
|
|
61671
|
-
|
|
61672
|
-
ret.useDecorators = true;
|
|
61673
|
-
}
|
|
61708
|
+
ret[i] = programs[i];
|
|
61709
|
+
if (decorators[i]) {
|
|
61710
|
+
ret[i + "_d"] = decorators[i];
|
|
61711
|
+
ret.useDecorators = true;
|
|
61674
61712
|
}
|
|
61675
61713
|
}
|
|
61676
61714
|
if (this.environment.usePartial) {
|
|
@@ -61931,22 +61969,25 @@ var require_javascript_compiler = __commonJS({
|
|
|
61931
61969
|
}
|
|
61932
61970
|
this.resolvePath("data", parts, 0, true, strict);
|
|
61933
61971
|
},
|
|
61934
|
-
resolvePath: function resolvePath(type, parts,
|
|
61972
|
+
resolvePath: function resolvePath(type, parts, startPartIndex, falsy, strict) {
|
|
61935
61973
|
var _this2 = this;
|
|
61936
61974
|
if (this.options.strict || this.options.assumeObjects) {
|
|
61937
|
-
this.push(strictLookup(this.options.strict && strict, this, parts,
|
|
61975
|
+
this.push(strictLookup(this.options.strict && strict, this, parts, startPartIndex, type));
|
|
61938
61976
|
return;
|
|
61939
61977
|
}
|
|
61940
61978
|
var len = parts.length;
|
|
61941
|
-
|
|
61942
|
-
|
|
61943
|
-
var lookup = _this2.nameLookup(current, parts[
|
|
61979
|
+
var _loop = function(i2) {
|
|
61980
|
+
_this2.replaceStack(function(current) {
|
|
61981
|
+
var lookup = _this2.nameLookup(current, parts[i2], type);
|
|
61944
61982
|
if (!falsy) {
|
|
61945
61983
|
return [" != null ? ", lookup, " : ", current];
|
|
61946
61984
|
} else {
|
|
61947
61985
|
return [" && ", lookup];
|
|
61948
61986
|
}
|
|
61949
61987
|
});
|
|
61988
|
+
};
|
|
61989
|
+
for (var i = startPartIndex; i < len; i++) {
|
|
61990
|
+
_loop(i);
|
|
61950
61991
|
}
|
|
61951
61992
|
},
|
|
61952
61993
|
// [resolvePossibleLambda]
|
|
@@ -62050,7 +62091,9 @@ var require_javascript_compiler = __commonJS({
|
|
|
62050
62091
|
// and inserts the decorator into the decorators list.
|
|
62051
62092
|
registerDecorator: function registerDecorator(paramSize, name) {
|
|
62052
62093
|
var foundDecorator = this.nameLookup("decorators", name, "decorator"), options = this.setupHelperArgs(name, paramSize);
|
|
62053
|
-
this.decorators.push(["
|
|
62094
|
+
this.decorators.push(["var decorator = ", foundDecorator, ";"]);
|
|
62095
|
+
this.decorators.push(['if (typeof decorator !== "function") { throw new Error(', this.quotedString('Missing decorator: "' + name + '"'), "); }"]);
|
|
62096
|
+
this.decorators.push(["fn = ", this.decorators.functionCall("decorator", "", ["fn", "props", "container", options]), " || fn;"]);
|
|
62054
62097
|
},
|
|
62055
62098
|
// [invokeHelper]
|
|
62056
62099
|
//
|
|
@@ -62197,8 +62240,7 @@ var require_javascript_compiler = __commonJS({
|
|
|
62197
62240
|
compiler = new this.compiler();
|
|
62198
62241
|
var existing = this.matchExistingProgram(child);
|
|
62199
62242
|
if (existing == null) {
|
|
62200
|
-
this.context.programs.push("");
|
|
62201
|
-
var index = this.context.programs.length;
|
|
62243
|
+
var index = this.context.programs.push("") - 1;
|
|
62202
62244
|
child.index = index;
|
|
62203
62245
|
child.name = "program" + index;
|
|
62204
62246
|
this.context.programs[index] = compiler.compile(child, options, this.context, !this.precompile);
|
|
@@ -62442,16 +62484,16 @@ var require_javascript_compiler = __commonJS({
|
|
|
62442
62484
|
JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
|
|
62443
62485
|
return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);
|
|
62444
62486
|
};
|
|
62445
|
-
function strictLookup(requireTerminal, compiler, parts,
|
|
62487
|
+
function strictLookup(requireTerminal, compiler, parts, startPartIndex, type) {
|
|
62446
62488
|
var stack = compiler.popStack(), len = parts.length;
|
|
62447
62489
|
if (requireTerminal) {
|
|
62448
62490
|
len--;
|
|
62449
62491
|
}
|
|
62450
|
-
for (; i < len; i++) {
|
|
62492
|
+
for (var i = startPartIndex; i < len; i++) {
|
|
62451
62493
|
stack = compiler.nameLookup(stack, parts[i], type);
|
|
62452
62494
|
}
|
|
62453
62495
|
if (requireTerminal) {
|
|
62454
|
-
return [compiler.aliasable("container.strict"), "(", stack, ", ", compiler.quotedString(parts[
|
|
62496
|
+
return [compiler.aliasable("container.strict"), "(", stack, ", ", compiler.quotedString(parts[len]), ", ", JSON.stringify(compiler.source.currentLocation), " )"];
|
|
62455
62497
|
} else {
|
|
62456
62498
|
return stack;
|
|
62457
62499
|
}
|
|
@@ -62727,7 +62769,7 @@ var id_default = ID;
|
|
|
62727
62769
|
// lib/constants.ts
|
|
62728
62770
|
var SDK_TITLE = "Appwrite";
|
|
62729
62771
|
var SDK_TITLE_LOWER = "appwrite";
|
|
62730
|
-
var SDK_VERSION = "17.
|
|
62772
|
+
var SDK_VERSION = "17.1.0";
|
|
62731
62773
|
var SDK_LOGO = "\n _ _ _ ___ __ _____\n /_\\ _ __ _ ____ ___ __(_) |_ ___ / __\\ / / \\_ \\\n //_\\\\| '_ \\| '_ \\ \\ /\\ / / '__| | __/ _ \\ / / / / / /\\/\n / _ \\ |_) | |_) \\ V V /| | | | || __/ / /___/ /___/\\/ /_\n \\_/ \\_/ .__/| .__/ \\_/\\_/ |_| |_|\\__\\___| \\____/\\____/\\____/\n |_| |_|\n\n";
|
|
62732
62774
|
var EXECUTABLE_NAME = "appwrite";
|
|
62733
62775
|
var NPM_PACKAGE_NAME = "appwrite-cli";
|
|
@@ -100274,7 +100316,7 @@ var package_default = {
|
|
|
100274
100316
|
type: "module",
|
|
100275
100317
|
homepage: "https://appwrite.io/support",
|
|
100276
100318
|
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",
|
|
100277
|
-
version: "17.
|
|
100319
|
+
version: "17.1.0",
|
|
100278
100320
|
license: "BSD-3-Clause",
|
|
100279
100321
|
main: "dist/index.cjs",
|
|
100280
100322
|
module: "dist/index.js",
|
|
@@ -100364,10 +100406,14 @@ var package_default = {
|
|
|
100364
100406
|
|
|
100365
100407
|
// lib/parser.ts
|
|
100366
100408
|
import os3 from "os";
|
|
100409
|
+
BigInt.prototype.toJSON = function() {
|
|
100410
|
+
return this.toString();
|
|
100411
|
+
};
|
|
100367
100412
|
var { description } = package_default;
|
|
100368
100413
|
var cliConfig = {
|
|
100369
100414
|
verbose: false,
|
|
100370
100415
|
json: false,
|
|
100416
|
+
raw: false,
|
|
100371
100417
|
force: false,
|
|
100372
100418
|
all: false,
|
|
100373
100419
|
ids: [],
|
|
@@ -100390,6 +100436,25 @@ var extractReportCommandArgs = (value) => {
|
|
|
100390
100436
|
}
|
|
100391
100437
|
return reportData.data.args;
|
|
100392
100438
|
};
|
|
100439
|
+
var MAX_COL_WIDTH = 40;
|
|
100440
|
+
var formatCellValue = (value) => {
|
|
100441
|
+
if (value == null) return "-";
|
|
100442
|
+
if (Array.isArray(value)) {
|
|
100443
|
+
if (value.length === 0) return "[]";
|
|
100444
|
+
return `[${value.length} items]`;
|
|
100445
|
+
}
|
|
100446
|
+
if (typeof value === "object") {
|
|
100447
|
+
if (value?.constructor?.name === "BigNumber") return String(value);
|
|
100448
|
+
const keys = Object.keys(value);
|
|
100449
|
+
if (keys.length === 0) return "{}";
|
|
100450
|
+
return `{${keys.length} keys}`;
|
|
100451
|
+
}
|
|
100452
|
+
const str = String(value);
|
|
100453
|
+
if (str.length > MAX_COL_WIDTH) {
|
|
100454
|
+
return str.slice(0, MAX_COL_WIDTH - 1) + "\u2026";
|
|
100455
|
+
}
|
|
100456
|
+
return str;
|
|
100457
|
+
};
|
|
100393
100458
|
var drawTable = (data) => {
|
|
100394
100459
|
if (data.length == 0) {
|
|
100395
100460
|
console.log("[]");
|
|
@@ -100397,19 +100462,55 @@ var drawTable = (data) => {
|
|
|
100397
100462
|
}
|
|
100398
100463
|
const rows = data.map((item) => toJsonObject(item) ?? {});
|
|
100399
100464
|
const obj = rows.reduce((res, item) => ({ ...res, ...item }), {});
|
|
100400
|
-
const
|
|
100401
|
-
if (
|
|
100465
|
+
const allKeys = Object.keys(obj);
|
|
100466
|
+
if (allKeys.length === 0) {
|
|
100402
100467
|
drawJSON(data);
|
|
100403
100468
|
return;
|
|
100404
100469
|
}
|
|
100405
|
-
const
|
|
100470
|
+
const maxColumns = 6;
|
|
100471
|
+
if (allKeys.length > maxColumns) {
|
|
100472
|
+
const rowEntries = rows.map((row) => {
|
|
100473
|
+
const entries = [];
|
|
100474
|
+
for (const key of Object.keys(row)) {
|
|
100475
|
+
const value = row[key];
|
|
100476
|
+
if (typeof value === "function") continue;
|
|
100477
|
+
if (value == null) continue;
|
|
100478
|
+
if (value?.constructor?.name === "BigNumber") {
|
|
100479
|
+
entries.push([key, String(value)]);
|
|
100480
|
+
continue;
|
|
100481
|
+
}
|
|
100482
|
+
if (typeof value === "object") continue;
|
|
100483
|
+
if (typeof value === "string" && value.trim() === "") continue;
|
|
100484
|
+
entries.push([key, String(value)]);
|
|
100485
|
+
}
|
|
100486
|
+
return entries;
|
|
100487
|
+
});
|
|
100488
|
+
const flatEntries = rowEntries.flat();
|
|
100489
|
+
if (flatEntries.length === 0) {
|
|
100490
|
+
drawJSON(data);
|
|
100491
|
+
return;
|
|
100492
|
+
}
|
|
100493
|
+
const maxKeyLen = Math.max(...flatEntries.map(([key]) => key.length));
|
|
100494
|
+
const separatorLen = Math.min(maxKeyLen + 2 + MAX_COL_WIDTH, process.stdout.columns || 80);
|
|
100495
|
+
rowEntries.forEach((entries, idx) => {
|
|
100496
|
+
if (idx > 0) console.log(import_chalk2.default.cyan("\u2500".repeat(separatorLen)));
|
|
100497
|
+
for (const [key, value] of entries) {
|
|
100498
|
+
const paddedKey = key.padEnd(maxKeyLen);
|
|
100499
|
+
console.log(`${import_chalk2.default.yellow.bold(paddedKey)} ${value}`);
|
|
100500
|
+
}
|
|
100501
|
+
});
|
|
100502
|
+
return;
|
|
100503
|
+
}
|
|
100504
|
+
const columns = allKeys;
|
|
100505
|
+
const def = allKeys.reduce((result, key) => {
|
|
100406
100506
|
result[key] = "-";
|
|
100407
100507
|
return result;
|
|
100408
100508
|
}, {});
|
|
100409
100509
|
const normalizedData = rows.map((item) => ({ ...def, ...item }));
|
|
100410
|
-
const columns = Object.keys(normalizedData[0]);
|
|
100411
100510
|
const table = new import_cli_table3.default({
|
|
100412
100511
|
head: columns.map((c) => import_chalk2.default.cyan.italic.bold(c)),
|
|
100512
|
+
colWidths: columns.map(() => null),
|
|
100513
|
+
wordWrap: false,
|
|
100413
100514
|
chars: {
|
|
100414
100515
|
top: " ",
|
|
100415
100516
|
"top-mid": " ",
|
|
@@ -100431,15 +100532,7 @@ var drawTable = (data) => {
|
|
|
100431
100532
|
normalizedData.forEach((row) => {
|
|
100432
100533
|
const rowValues = [];
|
|
100433
100534
|
for (const key of columns) {
|
|
100434
|
-
|
|
100435
|
-
rowValues.push("-");
|
|
100436
|
-
} else if (Array.isArray(row[key])) {
|
|
100437
|
-
rowValues.push(JSON.stringify(row[key]));
|
|
100438
|
-
} else if (typeof row[key] === "object") {
|
|
100439
|
-
rowValues.push(JSON.stringify(row[key]));
|
|
100440
|
-
} else {
|
|
100441
|
-
rowValues.push(String(row[key]));
|
|
100442
|
-
}
|
|
100535
|
+
rowValues.push(formatCellValue(row[key]));
|
|
100443
100536
|
}
|
|
100444
100537
|
table.push(rowValues);
|
|
100445
100538
|
});
|
|
@@ -100555,7 +100648,7 @@ var commandDescriptions = {
|
|
|
100555
100648
|
locale: `The locale command allows you to customize your app based on your users' location.`,
|
|
100556
100649
|
sites: `The sites command allows you to view, create and manage your Appwrite Sites.`,
|
|
100557
100650
|
storage: `The storage command allows you to manage your project files.`,
|
|
100558
|
-
teams: `The teams command allows you to group users of your project to enable them to share read and write access to your project resources.`,
|
|
100651
|
+
teams: `The teams command allows you to group users of your project to enable them to share read and write access to your project resources. Requires a linked project. To manage console-level teams, use the 'organizations' command instead.`,
|
|
100559
100652
|
update: `The update command allows you to update the ${SDK_TITLE} CLI to the latest version.`,
|
|
100560
100653
|
users: `The users command allows you to manage your project users.`,
|
|
100561
100654
|
projects: `The projects command allows you to manage your projects, add platforms, manage API keys, Dev Keys etc.`,
|
|
@@ -100890,14 +100983,14 @@ var questionsInitProject = [
|
|
|
100890
100983
|
name: "project",
|
|
100891
100984
|
message: "What would you like to name your project?",
|
|
100892
100985
|
default: "My Awesome Project",
|
|
100893
|
-
when: (answer) => answer.start !== "existing"
|
|
100986
|
+
when: (answer) => whenOverride(answer) && answer.start !== "existing"
|
|
100894
100987
|
},
|
|
100895
100988
|
{
|
|
100896
100989
|
type: "input",
|
|
100897
100990
|
name: "id",
|
|
100898
100991
|
message: "What ID would you like to have for your project?",
|
|
100899
100992
|
default: "unique()",
|
|
100900
|
-
when: (answer) => answer.start !== "existing"
|
|
100993
|
+
when: (answer) => whenOverride(answer) && answer.start !== "existing"
|
|
100901
100994
|
},
|
|
100902
100995
|
{
|
|
100903
100996
|
type: "search-list",
|
|
@@ -106009,9 +106102,6 @@ export {
|
|
|
106009
106102
|
};
|
|
106010
106103
|
/*! Bundled license information:
|
|
106011
106104
|
|
|
106012
|
-
safe-buffer/index.js:
|
|
106013
|
-
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
106014
|
-
|
|
106015
106105
|
undici/lib/fetch/body.js:
|
|
106016
106106
|
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
106017
106107
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/organizations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAsBpC,eAAO,MAAM,aAAa,SAItB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/teams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../../../lib/commands/services/teams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA+BpC,eAAO,MAAM,KAAK,SAId,CAAC"}
|
package/dist/lib/constants.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const SDK_TITLE = "Appwrite";
|
|
2
2
|
export declare const SDK_TITLE_LOWER = "appwrite";
|
|
3
|
-
export declare const SDK_VERSION = "17.
|
|
3
|
+
export declare const SDK_VERSION = "17.1.0";
|
|
4
4
|
export declare const SDK_NAME = "Command Line";
|
|
5
5
|
export declare const SDK_PLATFORM = "console";
|
|
6
6
|
export declare const SDK_LANGUAGE = "cli";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../lib/emulation/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,EAAY,MAAM,EAAS,M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,OAAO,CAAC,IAAI,CAAC;CAmDjB,CAAC;AAMF,eAAO,MAAM,KAAK;WACH,MAAM,EAAE;;;cAGH,MAAM,CAAC,OAAO,GAAG,IAAI;eAE5B,MAAM,GAAG,IAAI;YAUhB,IAAI;eAKD,OAAO;cAIR,IAAI;gBAOF,IAAI;CAUjB,CAAC"}
|
package/dist/lib/parser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../lib/parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../lib/parser.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAQ5C,QAAA,MAAM,SAAS,EAAE,SAShB,CAAC;AAEF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AA0E1C,eAAO,MAAM,KAAK,GAAI,MAAM,UAAU,KAAG,IA4CxC,CAAC;AAuBF,eAAO,MAAM,SAAS,GAAI,MAAM,KAAK,CAAC,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC,KAAG,IAmGtE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,MAAM,OAAO,KAAG,IAExC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,KAAK,KAAK,KAAG,IA4DvC,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,OAAO,CAAC,EAElD,IAAI,CAAC,KACJ,CAAC,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAc5C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAM5C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,KAAG,OAIzC,CAAC;AAE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