namirasoft-container-registry 1.4.1 → 1.4.3

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.
@@ -22,7 +22,7 @@ const NamirasoftContainerRegistryServerSonatypeNexus_1 = require("./NamirasoftCo
22
22
  const NamirasoftContainerRegistryServerValue_1 = require("./NamirasoftContainerRegistryServerValue");
23
23
  class NamirasoftContainerRegistryServer extends namirasoft_account_1.NSABaseServer {
24
24
  constructor(base_url, manager, onError) {
25
- super(base_url, `1.4.1`, manager, onError);
25
+ super(base_url, `1.4.3`, manager, onError);
26
26
  this.healthz = new NamirasoftContainerRegistryServerHealthz_1.NamirasoftContainerRegistryServerHealthz(this);
27
27
  this.metrics = new NamirasoftContainerRegistryServerMetrics_1.NamirasoftContainerRegistryServerMetrics(this);
28
28
  this.value = new NamirasoftContainerRegistryServerValue_1.NamirasoftContainerRegistryServerValue(this);
@@ -40,6 +40,14 @@ class GoogleContainerRegistryCreateCommand extends namirasoft_node_cli_1.BaseFin
40
40
  optional: true,
41
41
  args: ["description"],
42
42
  defaults: [""]
43
+ },
44
+ {
45
+ name: "gcp_credential_id",
46
+ short: "",
47
+ description: "Provides the value of 'gcp_credential_id' in body",
48
+ optional: false,
49
+ args: ["gcp_credential_id"],
50
+ defaults: [""]
43
51
  }
44
52
  ]);
45
53
  }
@@ -56,7 +64,8 @@ class GoogleContainerRegistryCreateCommand extends namirasoft_node_cli_1.BaseFin
56
64
  let ans = yield server.google_container_registry.Create({
57
65
  name: this.option_values.name,
58
66
  type: this.option_values.type,
59
- description: this.option_values.description
67
+ description: this.option_values.description,
68
+ gcp_credential_id: this.option_values.gcp_credential_id
60
69
  });
61
70
  this.app.logger.success(JSON.stringify(ans));
62
71
  });
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleContainerRegistryCreateCommand.js","sourceRoot":"","sources":["../../src/command/GoogleContainerRegistryCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAu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IAAI,qEAAiC,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACxG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC;gBACpD,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;aAC9C,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAhDD,oFAgDC;AAAA,CAAC"}
1
+ {"version":3,"file":"GoogleContainerRegistryCreateCommand.js","sourceRoot":"","sources":["../../src/command/GoogleContainerRegistryCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4FAAyF;AACzF,2DAAkD;AAElD,MAAa,oCAAqC,SAAQ,sCAAgB;IAEtE,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,aAAa;gBACnB,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AC,WAAW;gBAC3C,iBAAiB,EAAE,IAAI,CAAC,aAAa,CAAC,iBAAiB;aAC1D,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAzDD,oFAyDC;AAAA,CAAC"}
@@ -40,6 +40,14 @@ class GoogleContainerRegistryUpdateCommand extends namirasoft_node_cli_1.BaseFin
40
40
  optional: true,
41
41
  args: ["description"],
42
42
  defaults: [""]
43
+ },
44
+ {
45
+ name: "gcp_credential_id",
46
+ short: "",
47
+ description: "Provides the value of 'gcp_credential_id' in body",
48
+ optional: false,
49
+ args: ["gcp_credential_id"],
50
+ defaults: [""]
43
51
  }
44
52
  ]);
45
53
  }
@@ -56,7 +64,8 @@ class GoogleContainerRegistryUpdateCommand extends namirasoft_node_cli_1.BaseFin
56
64
  let ans = yield server.google_container_registry.Update(this.arg_values[0], {
57
65
  name: this.option_values.name,
58
66
  type: this.option_values.type,
59
- description: this.option_values.description
67
+ description: this.option_values.description,
68
+ gcp_credential_id: this.option_values.gcp_credential_id
60
69
  });
61
70
  this.app.logger.success(JSON.stringify(ans));
62
71
  });
@@ -1 +1 @@
1
- {"version":3,"file":"GoogleContainerRegistryUpdateCommand.js","sourceRoot":"","sources":["../../src/command/GoogleContainerRegistryUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4FAAyF;AACzF,2DAAkD;AAElD,MAAa,oCAAqC,SAAQ,sCAAgB;IAEtE,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,E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C,IAAI;gBAC7B,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;aAC9C,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAhDD,oFAgDC;AAAA,CAAC"}
1
+ {"version":3,"file":"GoogleContainerRegistryUpdateCommand.js","sourceRoot":"","sources":["../../src/command/GoogleContainerRegistryUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4FAAyF;AACzF,2DAAkD;AAElD,MAAa,oCAAqC,SAAQ,sCAAgB;IAEtE,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,6CAA6C;gBAC1D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,aAAa,CAAC;gBACrB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,mDAAmD;gBAChE,QAAQ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J;AAzDD,oFAyDC;AAAA,CAAC"}
@@ -14,7 +14,7 @@ const namirasoft_core_1 = require("namirasoft-core");
14
14
  const namirasoft_site_1 = require("namirasoft-site");
15
15
  class ContainerRegistryMetaTable extends namirasoft_site_1.NSBaseMetaTable {
16
16
  constructor(database) {
17
- super(database, "container_registry", "Container Registry", new namirasoft_core_1.BaseUUID("sch"));
17
+ super(database, "container_registry", "Container Registry", new namirasoft_core_1.BaseUUID("cnr"));
18
18
  this.columns = {
19
19
  id: new namirasoft_core_1.BaseMetaColumn(this, "id", "ID", "String", true),
20
20
  user_id: new namirasoft_core_1.BaseMetaColumn(this, "user_id", "User ID", "String", true),
@@ -7,7 +7,7 @@ const namirasoft_site_1 = require("namirasoft-site");
7
7
  const NamirasoftContainerRegistryServer_1 = require("../NamirasoftContainerRegistryServer");
8
8
  class NamirasoftContainerRegistryMetaDatabase extends namirasoft_site_1.NSBaseMetaDatabase {
9
9
  constructor(manager, onError) {
10
- super({ id: "prd-1ebc32fd605d4f93", name: "Namirasoft Container Registry", headline: "Scalable Cloud Storage with Container Registry", description: "Namirasoft Container Registry enables you to create and manage storage across major cloud providers or fixed-size environments. Define your volume type, configure access, and provision storage quickly, all within the Namirasoft ecosystem.", logo: "https://static.namirasoft.com/image/namirasoft/container-registry/logo/base.png", link: "https://container-registry.namirasoft.com" });
10
+ super({ id: "prd-1ebc32fd605d4f93", name: "Namirasoft Container Registry", headline: "Scalable Cloud Storage with Container Registry", description: "Namirasoft Container Registry enables you to create and manage storage across major cloud providers or fixed-size environments. Define your volume type, configure access, and provision storage quickly, all within the Namirasoft ecosystem.", logo: "https://static.namirasoft.com/image/namirasoft/container-registry/logo/base.png", link: "undefined" });
11
11
  this.manager = manager;
12
12
  this.onError = onError;
13
13
  this.tables = {
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftContainerRegistryMetaDatabase.js","sourceRoot":"","sources":["../../src/meta/NamirasoftContainerRegistryMetaDatabase.ts"],"names":[],"mappings":";;;AAoBA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,KAAK,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,IAAI,EAAE,+BAA+B,EAAE,QAAQ,EAAE,gDAAgD,EAAE,WAAW,EAAE,gPAAgP,EAAE,IAAI,EAAE,iFAAiF,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC;QACpf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG;YACV,kBAAkB,EAAE,IAAI,uDAA0B,CAAC,IAAI,CAAC;SAC3D,CAAC;IACN,CAAC;IACQ,SAAS;QAEd,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO;YAC9B,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAA;QAClI,IAAI,IAAI,GAAG,oCAAkB,CAAC,gBAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,GAAG,IAAI,4BAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QACtD,OAAO,IAAI,qEAAiC,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvF,CAAC;CACJ;AAxBD,0FAwBC;AAAA,CAAC"}
@@ -3,4 +3,5 @@ export type GoogleContainerRegistryInputRow = {
3
3
  name: string;
4
4
  type: ContainerRegistryType;
5
5
  description: (string | null);
6
+ gcp_credential_id: string;
6
7
  };
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.1",
11
+ "version": "1.4.3",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "build": ""
18
18
  },
19
19
  "dependencies": {
20
- "namirasoft-core": "^1.4.104",
20
+ "namirasoft-core": "^1.4.105",
21
21
  "namirasoft-site": "^1.4.41",
22
22
  "namirasoft-node-cli": "^1.4.10",
23
23
  "namirasoft-account": "^1.4.99"
@@ -61,7 +61,7 @@ export class NamirasoftContainerRegistryServer extends NSABaseServer
61
61
  sonatype_nexus: NamirasoftContainerRegistryServerSonatypeNexus;
62
62
  constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
63
63
  {
64
- super(base_url, `1.4.1`, manager, onError);
64
+ super(base_url, `1.4.3`, manager, onError);
65
65
  this.healthz = new NamirasoftContainerRegistryServerHealthz(this);
66
66
  this.metrics = new NamirasoftContainerRegistryServerMetrics(this);
67
67
  this.value = new NamirasoftContainerRegistryServerValue(this);
@@ -51,6 +51,14 @@ export class GoogleContainerRegistryCreateCommand extends BaseFinalCommand
51
51
  optional: true,
52
52
  args: ["description"],
53
53
  defaults: [""]
54
+ },
55
+ {
56
+ name: "gcp_credential_id",
57
+ short: "",
58
+ description: "Provides the value of 'gcp_credential_id' in body",
59
+ optional: false,
60
+ args: ["gcp_credential_id"],
61
+ defaults: [""]
54
62
  }
55
63
  ]);
56
64
  }
@@ -67,7 +75,8 @@ export class GoogleContainerRegistryCreateCommand extends BaseFinalCommand
67
75
  let ans = await server.google_container_registry.Create({
68
76
  name: this.option_values.name,
69
77
  type: this.option_values.type,
70
- description: this.option_values.description
78
+ description: this.option_values.description,
79
+ gcp_credential_id: this.option_values.gcp_credential_id
71
80
  });
72
81
  this.app.logger.success(JSON.stringify(ans));
73
82
  }
@@ -51,6 +51,14 @@ export class GoogleContainerRegistryUpdateCommand extends BaseFinalCommand
51
51
  optional: true,
52
52
  args: ["description"],
53
53
  defaults: [""]
54
+ },
55
+ {
56
+ name: "gcp_credential_id",
57
+ short: "",
58
+ description: "Provides the value of 'gcp_credential_id' in body",
59
+ optional: false,
60
+ args: ["gcp_credential_id"],
61
+ defaults: [""]
54
62
  }
55
63
  ]);
56
64
  }
@@ -67,7 +75,8 @@ export class GoogleContainerRegistryUpdateCommand extends BaseFinalCommand
67
75
  let ans = await server.google_container_registry.Update(this.arg_values[0], {
68
76
  name: this.option_values.name,
69
77
  type: this.option_values.type,
70
- description: this.option_values.description
78
+ description: this.option_values.description,
79
+ gcp_credential_id: this.option_values.gcp_credential_id
71
80
  });
72
81
  this.app.logger.success(JSON.stringify(ans));
73
82
  }
@@ -38,7 +38,7 @@ export class ContainerRegistryMetaTable extends NSBaseMetaTable<NamirasoftContai
38
38
  }
39
39
  constructor(database: NSBaseMetaDatabase<NamirasoftContainerRegistryServer>)
40
40
  {
41
- super(database, "container_registry", "Container Registry", new BaseUUID("sch"));
41
+ super(database, "container_registry", "Container Registry", new BaseUUID("cnr"));
42
42
  this.columns = {
43
43
  id: new BaseMetaColumn(this, "id", "ID", "String", true),
44
44
  user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
@@ -33,7 +33,7 @@ export class NamirasoftContainerRegistryMetaDatabase extends NSBaseMetaDatabase<
33
33
  };
34
34
  constructor(manager?: TokenManager, onError?: (error: Error) => void)
35
35
  {
36
- super({ id: "prd-1ebc32fd605d4f93", name: "Namirasoft Container Registry", headline: "Scalable Cloud Storage with Container Registry", description: "Namirasoft Container Registry enables you to create and manage storage across major cloud providers or fixed-size environments. Define your volume type, configure access, and provision storage quickly, all within the Namirasoft ecosystem.", logo: "https://static.namirasoft.com/image/namirasoft/container-registry/logo/base.png", link: "https://container-registry.namirasoft.com" });
36
+ super({ id: "prd-1ebc32fd605d4f93", name: "Namirasoft Container Registry", headline: "Scalable Cloud Storage with Container Registry", description: "Namirasoft Container Registry enables you to create and manage storage across major cloud providers or fixed-size environments. Define your volume type, configure access, and provision storage quickly, all within the Namirasoft ecosystem.", logo: "https://static.namirasoft.com/image/namirasoft/container-registry/logo/base.png", link: "undefined" });
37
37
  this.manager = manager;
38
38
  this.onError = onError;
39
39
  this.tables = {
@@ -25,4 +25,5 @@ export type GoogleContainerRegistryInputRow =
25
25
  name: string;
26
26
  type: ContainerRegistryType;
27
27
  description: (string | null);
28
+ gcp_credential_id: string;
28
29
  }