@serve.zone/interfaces 4.9.0 → 4.12.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/cli.js ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ process.env.CLI_CALL = 'true';
3
+ const cliTool = await import('./dist_ts/index.js');
4
+ cliTool.runCli();
@@ -5,7 +5,7 @@ export interface IReq_GetRegistryById extends plugins.typedrequestInterfaces.imp
5
5
  method: 'getExternalRegistryById';
6
6
  request: {
7
7
  identity: userInterfaces.IIdentity;
8
- registryName: string;
8
+ id: string;
9
9
  };
10
10
  response: {
11
11
  registry: data.IExternalRegistry;
@@ -24,7 +24,6 @@ export interface IReq_CreateRegistry extends plugins.typedrequestInterfaces.impl
24
24
  method: 'createExternalRegistry';
25
25
  request: {
26
26
  identity: userInterfaces.IIdentity;
27
- registryName: string;
28
27
  registryData: data.IExternalRegistry['data'];
29
28
  };
30
29
  response: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "4.9.0",
3
+ "version": "4.12.0",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "exports": {
@@ -9,7 +9,7 @@ export interface IReq_GetRegistryById extends plugins.typedrequestInterfaces.imp
9
9
  method: 'getExternalRegistryById';
10
10
  request: {
11
11
  identity: userInterfaces.IIdentity;
12
- registryName: string;
12
+ id: string;
13
13
  };
14
14
  response: {
15
15
  registry: data.IExternalRegistry;
@@ -36,7 +36,6 @@ export interface IReq_CreateRegistry extends plugins.typedrequestInterfaces.impl
36
36
  method: 'createExternalRegistry';
37
37
  request: {
38
38
  identity: userInterfaces.IIdentity;
39
- registryName: string;
40
39
  registryData: data.IExternalRegistry['data'];
41
40
  };
42
41
  response: {