@pmate/cli 0.21.0 → 0.21.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 CHANGED
@@ -373,10 +373,9 @@ type RandomEasyCommandArgs = {
373
373
  type RandomCommandArgs = RandomTokenCommandArgs | RandomEasyCommandArgs;
374
374
  type CollectCommandArgs = {
375
375
  type: Command.Collect;
376
- endpoint: string;
377
- json: boolean;
378
- mode: "list" | "thread";
379
- threadName?: string;
376
+ action: "sync";
377
+ source?: "cc" | "yelling";
378
+ endpoint?: string;
380
379
  };
381
380
  type AgentCommandArgs = {
382
381
  type: Command.Agent;
@@ -437,6 +436,15 @@ type AgentCommandArgs = {
437
436
  toName: string;
438
437
  baseUrl?: string;
439
438
  json: boolean;
439
+ } | {
440
+ type: Command.Agent;
441
+ action: "move";
442
+ namespace: string;
443
+ fromName: string;
444
+ targetNamespace: string;
445
+ toName?: string;
446
+ baseUrl?: string;
447
+ json: boolean;
440
448
  };
441
449
  type NsCommandArgs = {
442
450
  type: Command.Ns;
@@ -548,6 +556,15 @@ type AppCommandArgs = {
548
556
  toId: string;
549
557
  baseUrl?: string;
550
558
  json: boolean;
559
+ } | {
560
+ type: Command.App;
561
+ action: "move";
562
+ namespace: string;
563
+ fromId: string;
564
+ targetNamespace: string;
565
+ toId?: string;
566
+ baseUrl?: string;
567
+ json: boolean;
551
568
  };
552
569
  type ServiceCommandArgs = {
553
570
  type: Command.Service;
@@ -586,6 +603,15 @@ type ServiceCommandArgs = {
586
603
  toName: string;
587
604
  baseUrl?: string;
588
605
  json: boolean;
606
+ } | {
607
+ type: Command.Service;
608
+ action: "move";
609
+ namespace: string;
610
+ fromName: string;
611
+ targetNamespace: string;
612
+ toName?: string;
613
+ baseUrl?: string;
614
+ json: boolean;
589
615
  } | {
590
616
  type: Command.Service;
591
617
  action: "deploy";