@pmate/cli 0.14.0 → 0.16.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/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ declare enum Command {
21
21
  Random = "random",
22
22
  Collect = "collect",
23
23
  Agent = "agent",
24
+ Store = "store",
24
25
  App = "app",
25
26
  Vercel = "vercel"
26
27
  }
@@ -50,6 +51,8 @@ type BucketCommandArgs = {
50
51
  type: Command.Bucket;
51
52
  bucketCreate: boolean;
52
53
  bucketName: string;
54
+ bucketSubdomain?: string;
55
+ bucketDomain?: string;
53
56
  };
54
57
  type DeployCommandArgs = {
55
58
  type: Command.Deploy;
@@ -302,6 +305,56 @@ type AgentCommandArgs = {
302
305
  baseUrl?: string;
303
306
  json: boolean;
304
307
  };
308
+ type StoreSharedArgs = {
309
+ chain: string;
310
+ namespace: string;
311
+ baseUrl?: string;
312
+ indexerBaseUrl?: string;
313
+ json: boolean;
314
+ };
315
+ type StoreCommandArgs = ({
316
+ type: Command.Store;
317
+ scope: "namespace";
318
+ action: "list";
319
+ } & StoreSharedArgs) | ({
320
+ type: Command.Store;
321
+ scope: "table";
322
+ action: "list";
323
+ name: string;
324
+ page: number;
325
+ } & StoreSharedArgs) | ({
326
+ type: Command.Store;
327
+ scope: "table";
328
+ action: "get" | "exists" | "delete";
329
+ name: string;
330
+ id: string;
331
+ } & StoreSharedArgs) | ({
332
+ type: Command.Store;
333
+ scope: "table";
334
+ action: "create" | "update";
335
+ name: string;
336
+ filePath: string;
337
+ } & StoreSharedArgs) | ({
338
+ type: Command.Store;
339
+ scope: "kv";
340
+ action: "list";
341
+ name: string;
342
+ page: number;
343
+ } & StoreSharedArgs) | ({
344
+ type: Command.Store;
345
+ scope: "kv";
346
+ action: "get" | "exists" | "delete";
347
+ name: string;
348
+ key: string;
349
+ } & StoreSharedArgs) | ({
350
+ type: Command.Store;
351
+ scope: "kv";
352
+ action: "set";
353
+ name: string;
354
+ key: string;
355
+ value?: string;
356
+ filePath?: string;
357
+ } & StoreSharedArgs);
305
358
  type AppCommandArgs = {
306
359
  type: Command.App;
307
360
  action: "list";
@@ -346,7 +399,7 @@ type VercelDeploysCommandArgs = {
346
399
  lastWeek: boolean;
347
400
  };
348
401
  type VercelCommandArgs = VercelProjectsCommandArgs | VercelDeploysCommandArgs;
349
- type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | AppCommandArgs | VercelCommandArgs;
402
+ type CommandArgs = NoneCommandArgs | ListCommandArgs | LoginCommandArgs | AddDnsCommandArgs | StsCommandArgs | BucketCommandArgs | DeployCommandArgs | LogCommandArgs | InitCommandArgs | DevCommandArgs | EnvCommandArgs | PrCommandArgs | CommitCommandArgs | SummaryCommandArgs | LinearCommandArgs | NotionCommandArgs | OssCommandArgs | QrcodeCommandArgs | RandomCommandArgs | CollectCommandArgs | AgentCommandArgs | StoreCommandArgs | AppCommandArgs | VercelCommandArgs;
350
403
 
351
404
  interface ParsedArgs {
352
405
  help: boolean;