@pmate/cli 0.21.9 → 0.21.11

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 CHANGED
@@ -27,6 +27,7 @@ declare enum Command {
27
27
  Ns = "ns",
28
28
  Role = "role",
29
29
  Account = "account",
30
+ Org = "org",
30
31
  Store = "store",
31
32
  App = "app",
32
33
  Service = "service",
@@ -370,6 +371,101 @@ type AccountCommandArgs = {
370
371
  role: string;
371
372
  baseUrl?: string;
372
373
  json: boolean;
374
+ } | {
375
+ type: Command.Account;
376
+ action: "visible-app-list";
377
+ account: string;
378
+ baseUrl?: string;
379
+ json: boolean;
380
+ } | {
381
+ type: Command.Account;
382
+ action: "visible-app-add" | "visible-app-remove";
383
+ account: string;
384
+ app: string;
385
+ baseUrl?: string;
386
+ json: boolean;
387
+ } | {
388
+ type: Command.Account;
389
+ action: "visible-app-set";
390
+ account: string;
391
+ apps?: string[];
392
+ filePath?: string;
393
+ baseUrl?: string;
394
+ json: boolean;
395
+ } | {
396
+ type: Command.Account;
397
+ action: "visible-app-resolve";
398
+ baseUrl?: string;
399
+ json: boolean;
400
+ };
401
+ type OrgCommandArgs = {
402
+ type: Command.Org;
403
+ action: "list";
404
+ baseUrl?: string;
405
+ json: boolean;
406
+ } | {
407
+ type: Command.Org;
408
+ action: "get" | "view" | "disable";
409
+ orgId: string;
410
+ baseUrl?: string;
411
+ json: boolean;
412
+ } | {
413
+ type: Command.Org;
414
+ action: "create";
415
+ orgId: string;
416
+ displayName: string;
417
+ members: string[];
418
+ baseUrl?: string;
419
+ json: boolean;
420
+ } | {
421
+ type: Command.Org;
422
+ action: "update";
423
+ orgId: string;
424
+ displayName?: string;
425
+ baseUrl?: string;
426
+ json: boolean;
427
+ } | {
428
+ type: Command.Org;
429
+ action: "member-list";
430
+ orgId: string;
431
+ baseUrl?: string;
432
+ json: boolean;
433
+ } | {
434
+ type: Command.Org;
435
+ action: "member-add" | "member-remove";
436
+ orgId: string;
437
+ account: string;
438
+ baseUrl?: string;
439
+ json: boolean;
440
+ } | {
441
+ type: Command.Org;
442
+ action: "member-set";
443
+ orgId: string;
444
+ accounts?: string[];
445
+ filePath?: string;
446
+ baseUrl?: string;
447
+ json: boolean;
448
+ } | {
449
+ type: Command.Org;
450
+ action: "visible-app-list";
451
+ orgId: string;
452
+ baseUrl?: string;
453
+ json: boolean;
454
+ } | {
455
+ type: Command.Org;
456
+ action: "visible-app-add" | "visible-app-remove";
457
+ orgId: string;
458
+ app: string;
459
+ baseUrl?: string;
460
+ json: boolean;
461
+ } | {
462
+ type: Command.Org;
463
+ action: "visible-app-set";
464
+ orgId: string;
465
+ apps?: string[];
466
+ filePath?: string;
467
+ baseUrl?: string;
468
+ json: boolean;
373
469
  };
374
470
  type QrcodeCommandArgs = {
375
471
  type: Command.Qrcode;
@@ -785,7 +881,7 @@ type VercelDeploysCommandArgs = {
785
881
  lastWeek: boolean;
786
882
  };
787
883
  type VercelCommandArgs = VercelProjectsCommandArgs | VercelDeploysCommandArgs;
788
- type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | PrepareDevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | RunnerCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
884
+ type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DeleteCommandArgs | DevCommandArgs | PrepareDevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | QuizCommandArgs | ServiceCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | RunnerCommandArgs | NsCommandArgs | RoleCommandArgs | AccountCommandArgs | OrgCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
789
885
 
790
886
  interface ParsedArgs {
791
887
  help: boolean;