namirasoft-container-registry 1.4.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/NamirasoftContainerRegistryServer.d.ts +19 -0
- package/dist/NamirasoftContainerRegistryServer.js +26 -0
- package/dist/NamirasoftContainerRegistryServer.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerBase.d.ts +5 -0
- package/dist/NamirasoftContainerRegistryServerBase.js +11 -0
- package/dist/NamirasoftContainerRegistryServerBase.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistry.d.ts +18 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistry.js +64 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistry.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryCategory.d.ts +17 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryCategory.js +56 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryCategory.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryField.d.ts +18 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryField.js +64 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryField.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryTag.d.ts +18 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryTag.js +64 -0
- package/dist/NamirasoftContainerRegistryServerContainerRegistryTag.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerHealthz.d.ts +7 -0
- package/dist/NamirasoftContainerRegistryServerHealthz.js +28 -0
- package/dist/NamirasoftContainerRegistryServerHealthz.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerMetrics.d.ts +7 -0
- package/dist/NamirasoftContainerRegistryServerMetrics.js +28 -0
- package/dist/NamirasoftContainerRegistryServerMetrics.js.map +1 -0
- package/dist/NamirasoftContainerRegistryServerValue.d.ts +7 -0
- package/dist/NamirasoftContainerRegistryServerValue.js +29 -0
- package/dist/NamirasoftContainerRegistryServerValue.js.map +1 -0
- package/dist/command/ContainerRegistryCategoryCommand.d.ts +4 -0
- package/dist/command/ContainerRegistryCategoryCommand.js +21 -0
- package/dist/command/ContainerRegistryCategoryCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCategoryCreateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryCategoryCreateCommand.js +49 -0
- package/dist/command/ContainerRegistryCategoryCreateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCategoryDeleteCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryCategoryDeleteCommand.js +38 -0
- package/dist/command/ContainerRegistryCategoryDeleteCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCategoryGetCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryCategoryGetCommand.js +38 -0
- package/dist/command/ContainerRegistryCategoryGetCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCategoryListCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryCategoryListCommand.js +38 -0
- package/dist/command/ContainerRegistryCategoryListCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCommand.d.ts +4 -0
- package/dist/command/ContainerRegistryCommand.js +23 -0
- package/dist/command/ContainerRegistryCommand.js.map +1 -0
- package/dist/command/ContainerRegistryCreateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryCreateCommand.js +76 -0
- package/dist/command/ContainerRegistryCreateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryDeleteCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryDeleteCommand.js +38 -0
- package/dist/command/ContainerRegistryDeleteCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldCommand.d.ts +4 -0
- package/dist/command/ContainerRegistryFieldCommand.js +23 -0
- package/dist/command/ContainerRegistryFieldCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldCreateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryFieldCreateCommand.js +58 -0
- package/dist/command/ContainerRegistryFieldCreateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldDeleteCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryFieldDeleteCommand.js +38 -0
- package/dist/command/ContainerRegistryFieldDeleteCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldGetCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryFieldGetCommand.js +38 -0
- package/dist/command/ContainerRegistryFieldGetCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldListCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryFieldListCommand.js +38 -0
- package/dist/command/ContainerRegistryFieldListCommand.js.map +1 -0
- package/dist/command/ContainerRegistryFieldUpdateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryFieldUpdateCommand.js +58 -0
- package/dist/command/ContainerRegistryFieldUpdateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryGetCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryGetCommand.js +38 -0
- package/dist/command/ContainerRegistryGetCommand.js.map +1 -0
- package/dist/command/ContainerRegistryListCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryListCommand.js +38 -0
- package/dist/command/ContainerRegistryListCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagCommand.d.ts +4 -0
- package/dist/command/ContainerRegistryTagCommand.js +23 -0
- package/dist/command/ContainerRegistryTagCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagCreateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryTagCreateCommand.js +58 -0
- package/dist/command/ContainerRegistryTagCreateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagDeleteCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryTagDeleteCommand.js +38 -0
- package/dist/command/ContainerRegistryTagDeleteCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagGetCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryTagGetCommand.js +38 -0
- package/dist/command/ContainerRegistryTagGetCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagListCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryTagListCommand.js +38 -0
- package/dist/command/ContainerRegistryTagListCommand.js.map +1 -0
- package/dist/command/ContainerRegistryTagUpdateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryTagUpdateCommand.js +58 -0
- package/dist/command/ContainerRegistryTagUpdateCommand.js.map +1 -0
- package/dist/command/ContainerRegistryUpdateCommand.d.ts +5 -0
- package/dist/command/ContainerRegistryUpdateCommand.js +76 -0
- package/dist/command/ContainerRegistryUpdateCommand.js.map +1 -0
- package/dist/command/HealthzCommand.d.ts +4 -0
- package/dist/command/HealthzCommand.js +15 -0
- package/dist/command/HealthzCommand.js.map +1 -0
- package/dist/command/HealthzGetCommand.d.ts +5 -0
- package/dist/command/HealthzGetCommand.js +38 -0
- package/dist/command/HealthzGetCommand.js.map +1 -0
- package/dist/command/MetricsCommand.d.ts +4 -0
- package/dist/command/MetricsCommand.js +15 -0
- package/dist/command/MetricsCommand.js.map +1 -0
- package/dist/command/MetricsGetCommand.d.ts +5 -0
- package/dist/command/MetricsGetCommand.js +38 -0
- package/dist/command/MetricsGetCommand.js.map +1 -0
- package/dist/command/ValueCommand.d.ts +4 -0
- package/dist/command/ValueCommand.js +15 -0
- package/dist/command/ValueCommand.js.map +1 -0
- package/dist/command/ValueListCommand.d.ts +5 -0
- package/dist/command/ValueListCommand.js +38 -0
- package/dist/command/ValueListCommand.js.map +1 -0
- package/dist/command/cli.d.ts +2 -0
- package/dist/command/cli.js +26 -0
- package/dist/command/cli.js.map +1 -0
- package/dist/enum/ContainerRegistryType.d.ts +13 -0
- package/dist/enum/ContainerRegistryType.js +18 -0
- package/dist/enum/ContainerRegistryType.js.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -0
- package/dist/meta/ContainerRegistryMetaTable.d.ts +18 -0
- package/dist/meta/ContainerRegistryMetaTable.js +41 -0
- package/dist/meta/ContainerRegistryMetaTable.js.map +1 -0
- package/dist/meta/NamirasoftContainerRegistryMetaDatabase.d.ts +13 -0
- package/dist/meta/NamirasoftContainerRegistryMetaDatabase.js +27 -0
- package/dist/meta/NamirasoftContainerRegistryMetaDatabase.js.map +1 -0
- package/dist/row/ContainerRegistryCategoryRow.d.ts +8 -0
- package/dist/row/ContainerRegistryCategoryRow.js +3 -0
- package/dist/row/ContainerRegistryCategoryRow.js.map +1 -0
- package/dist/row/ContainerRegistryFieldRow.d.ts +9 -0
- package/dist/row/ContainerRegistryFieldRow.js +3 -0
- package/dist/row/ContainerRegistryFieldRow.js.map +1 -0
- package/dist/row/ContainerRegistryInputRow.d.ts +7 -0
- package/dist/row/ContainerRegistryInputRow.js +3 -0
- package/dist/row/ContainerRegistryInputRow.js.map +1 -0
- package/dist/row/ContainerRegistryRow.d.ts +12 -0
- package/dist/row/ContainerRegistryRow.js +3 -0
- package/dist/row/ContainerRegistryRow.js.map +1 -0
- package/dist/row/ContainerRegistryTagRow.d.ts +9 -0
- package/dist/row/ContainerRegistryTagRow.js +3 -0
- package/dist/row/ContainerRegistryTagRow.js.map +1 -0
- package/dist/row/EntityCategoryInputRow.d.ts +3 -0
- package/dist/row/EntityCategoryInputRow.js +3 -0
- package/dist/row/EntityCategoryInputRow.js.map +1 -0
- package/dist/row/EntityFieldInputRow.d.ts +4 -0
- package/dist/row/EntityFieldInputRow.js +3 -0
- package/dist/row/EntityFieldInputRow.js.map +1 -0
- package/dist/row/EntityTagInputRow.d.ts +4 -0
- package/dist/row/EntityTagInputRow.js +3 -0
- package/dist/row/EntityTagInputRow.js.map +1 -0
- package/logo.png +0 -0
- package/package.json +28 -0
- package/src/NamirasoftContainerRegistryServer.ts +51 -0
- package/src/NamirasoftContainerRegistryServerBase.ts +30 -0
- package/src/NamirasoftContainerRegistryServerContainerRegistry.ts +71 -0
- package/src/NamirasoftContainerRegistryServerContainerRegistryCategory.ts +64 -0
- package/src/NamirasoftContainerRegistryServerContainerRegistryField.ts +71 -0
- package/src/NamirasoftContainerRegistryServerContainerRegistryTag.ts +71 -0
- package/src/NamirasoftContainerRegistryServerHealthz.ts +37 -0
- package/src/NamirasoftContainerRegistryServerMetrics.ts +37 -0
- package/src/NamirasoftContainerRegistryServerValue.ts +38 -0
- package/src/command/ContainerRegistryCategoryCommand.ts +38 -0
- package/src/command/ContainerRegistryCategoryCreateCommand.ts +56 -0
- package/src/command/ContainerRegistryCategoryDeleteCommand.ts +45 -0
- package/src/command/ContainerRegistryCategoryGetCommand.ts +45 -0
- package/src/command/ContainerRegistryCategoryListCommand.ts +45 -0
- package/src/command/ContainerRegistryCommand.ts +40 -0
- package/src/command/ContainerRegistryCreateCommand.ts +83 -0
- package/src/command/ContainerRegistryDeleteCommand.ts +45 -0
- package/src/command/ContainerRegistryFieldCommand.ts +40 -0
- package/src/command/ContainerRegistryFieldCreateCommand.ts +65 -0
- package/src/command/ContainerRegistryFieldDeleteCommand.ts +45 -0
- package/src/command/ContainerRegistryFieldGetCommand.ts +45 -0
- package/src/command/ContainerRegistryFieldListCommand.ts +45 -0
- package/src/command/ContainerRegistryFieldUpdateCommand.ts +65 -0
- package/src/command/ContainerRegistryGetCommand.ts +45 -0
- package/src/command/ContainerRegistryListCommand.ts +45 -0
- package/src/command/ContainerRegistryTagCommand.ts +40 -0
- package/src/command/ContainerRegistryTagCreateCommand.ts +65 -0
- package/src/command/ContainerRegistryTagDeleteCommand.ts +45 -0
- package/src/command/ContainerRegistryTagGetCommand.ts +45 -0
- package/src/command/ContainerRegistryTagListCommand.ts +45 -0
- package/src/command/ContainerRegistryTagUpdateCommand.ts +65 -0
- package/src/command/ContainerRegistryUpdateCommand.ts +83 -0
- package/src/command/HealthzCommand.ts +32 -0
- package/src/command/HealthzGetCommand.ts +45 -0
- package/src/command/MetricsCommand.ts +32 -0
- package/src/command/MetricsGetCommand.ts +45 -0
- package/src/command/ValueCommand.ts +32 -0
- package/src/command/ValueListCommand.ts +45 -0
- package/src/command/cli.ts +45 -0
- package/src/enum/ContainerRegistryType.ts +34 -0
- package/src/index.ts +69 -0
- package/src/meta/ContainerRegistryMetaTable.ts +64 -0
- package/src/meta/NamirasoftContainerRegistryMetaDatabase.ts +51 -0
- package/src/row/ContainerRegistryCategoryRow.ts +29 -0
- package/src/row/ContainerRegistryFieldRow.ts +30 -0
- package/src/row/ContainerRegistryInputRow.ts +29 -0
- package/src/row/ContainerRegistryRow.ts +34 -0
- package/src/row/ContainerRegistryTagRow.ts +30 -0
- package/src/row/EntityCategoryInputRow.ts +24 -0
- package/src/row/EntityFieldInputRow.ts +25 -0
- package/src/row/EntityTagInputRow.ts +25 -0
- package/tsconfig.json +42 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NSABaseServer } from "namirasoft-account";
|
|
2
|
+
import { NamirasoftContainerRegistryServerContainerRegistry } from "./NamirasoftContainerRegistryServerContainerRegistry";
|
|
3
|
+
import { NamirasoftContainerRegistryServerContainerRegistryCategory } from "./NamirasoftContainerRegistryServerContainerRegistryCategory";
|
|
4
|
+
import { NamirasoftContainerRegistryServerContainerRegistryField } from "./NamirasoftContainerRegistryServerContainerRegistryField";
|
|
5
|
+
import { NamirasoftContainerRegistryServerContainerRegistryTag } from "./NamirasoftContainerRegistryServerContainerRegistryTag";
|
|
6
|
+
import { NamirasoftContainerRegistryServerHealthz } from "./NamirasoftContainerRegistryServerHealthz";
|
|
7
|
+
import { NamirasoftContainerRegistryServerMetrics } from "./NamirasoftContainerRegistryServerMetrics";
|
|
8
|
+
import { NamirasoftContainerRegistryServerValue } from "./NamirasoftContainerRegistryServerValue";
|
|
9
|
+
import { TokenManager } from "namirasoft-account";
|
|
10
|
+
export declare class NamirasoftContainerRegistryServer extends NSABaseServer {
|
|
11
|
+
healthz: NamirasoftContainerRegistryServerHealthz;
|
|
12
|
+
metrics: NamirasoftContainerRegistryServerMetrics;
|
|
13
|
+
value: NamirasoftContainerRegistryServerValue;
|
|
14
|
+
container_registry_category: NamirasoftContainerRegistryServerContainerRegistryCategory;
|
|
15
|
+
container_registry_field: NamirasoftContainerRegistryServerContainerRegistryField;
|
|
16
|
+
container_registry_tag: NamirasoftContainerRegistryServerContainerRegistryTag;
|
|
17
|
+
container_registry: NamirasoftContainerRegistryServerContainerRegistry;
|
|
18
|
+
constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void);
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamirasoftContainerRegistryServer = void 0;
|
|
4
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
5
|
+
const NamirasoftContainerRegistryServerContainerRegistry_1 = require("./NamirasoftContainerRegistryServerContainerRegistry");
|
|
6
|
+
const NamirasoftContainerRegistryServerContainerRegistryCategory_1 = require("./NamirasoftContainerRegistryServerContainerRegistryCategory");
|
|
7
|
+
const NamirasoftContainerRegistryServerContainerRegistryField_1 = require("./NamirasoftContainerRegistryServerContainerRegistryField");
|
|
8
|
+
const NamirasoftContainerRegistryServerContainerRegistryTag_1 = require("./NamirasoftContainerRegistryServerContainerRegistryTag");
|
|
9
|
+
const NamirasoftContainerRegistryServerHealthz_1 = require("./NamirasoftContainerRegistryServerHealthz");
|
|
10
|
+
const NamirasoftContainerRegistryServerMetrics_1 = require("./NamirasoftContainerRegistryServerMetrics");
|
|
11
|
+
const NamirasoftContainerRegistryServerValue_1 = require("./NamirasoftContainerRegistryServerValue");
|
|
12
|
+
class NamirasoftContainerRegistryServer extends namirasoft_account_1.NSABaseServer {
|
|
13
|
+
constructor(base_url, manager, onError) {
|
|
14
|
+
super(base_url, `1.4.0`, manager, onError);
|
|
15
|
+
this.healthz = new NamirasoftContainerRegistryServerHealthz_1.NamirasoftContainerRegistryServerHealthz(this);
|
|
16
|
+
this.metrics = new NamirasoftContainerRegistryServerMetrics_1.NamirasoftContainerRegistryServerMetrics(this);
|
|
17
|
+
this.value = new NamirasoftContainerRegistryServerValue_1.NamirasoftContainerRegistryServerValue(this);
|
|
18
|
+
this.container_registry_category = new NamirasoftContainerRegistryServerContainerRegistryCategory_1.NamirasoftContainerRegistryServerContainerRegistryCategory(this);
|
|
19
|
+
this.container_registry_field = new NamirasoftContainerRegistryServerContainerRegistryField_1.NamirasoftContainerRegistryServerContainerRegistryField(this);
|
|
20
|
+
this.container_registry_tag = new NamirasoftContainerRegistryServerContainerRegistryTag_1.NamirasoftContainerRegistryServerContainerRegistryTag(this);
|
|
21
|
+
this.container_registry = new NamirasoftContainerRegistryServerContainerRegistry_1.NamirasoftContainerRegistryServerContainerRegistry(this);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.NamirasoftContainerRegistryServer = NamirasoftContainerRegistryServer;
|
|
25
|
+
;
|
|
26
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServer.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,6HAA0H;AAC1H,6IAA0I;AAC1I,uIAAoI;AACpI,mIAAgI;AAChI,yGAAsG;AACtG,yGAAsG;AACtG,qGAAkG;AAGlG,MAAa,iCAAkC,SAAQ,kCAAa;IAShE,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,mFAAwC,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,CAAC,OAAO,GAAG,IAAI,mFAAwC,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,CAAC,KAAK,GAAG,IAAI,+EAAsC,CAAC,IAAI,CAAC,CAAC;QAC9D,IAAI,CAAC,2BAA2B,GAAG,IAAI,uHAA0D,CAAC,IAAI,CAAC,CAAC;QACxG,IAAI,CAAC,wBAAwB,GAAG,IAAI,iHAAuD,CAAC,IAAI,CAAC,CAAC;QAClG,IAAI,CAAC,sBAAsB,GAAG,IAAI,6GAAqD,CAAC,IAAI,CAAC,CAAC;QAC9F,IAAI,CAAC,kBAAkB,GAAG,IAAI,uGAAkD,CAAC,IAAI,CAAC,CAAC;IAC3F,CAAC;CACJ;AApBD,8EAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamirasoftContainerRegistryServerBase = void 0;
|
|
4
|
+
class NamirasoftContainerRegistryServerBase {
|
|
5
|
+
constructor(server) {
|
|
6
|
+
this.server = server;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.NamirasoftContainerRegistryServerBase = NamirasoftContainerRegistryServerBase;
|
|
10
|
+
;
|
|
11
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerBase.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerBase.ts"],"names":[],"mappings":";;;AAsBA,MAAa,qCAAqC;IAG9C,YAAY,MAAyC;QAEjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CACJ;AAPD,sFAOC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { ContainerRegistryInputRow } from "./row/ContainerRegistryInputRow";
|
|
3
|
+
import { ContainerRegistryRow } from "./row/ContainerRegistryRow";
|
|
4
|
+
import { FilterItem } from "namirasoft-core";
|
|
5
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
6
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftContainerRegistryServerContainerRegistry extends NamirasoftContainerRegistryServerBase {
|
|
9
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: ContainerRegistryRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: string, config?: BaseServerConfig<any>): Promise<ContainerRegistryRow>;
|
|
15
|
+
Create(body: ContainerRegistryInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryRow>;
|
|
16
|
+
Update(id: string, body: ContainerRegistryInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryRow>;
|
|
17
|
+
Delete(id: string, config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerContainerRegistry = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftContainerRegistryServerContainerRegistry extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `/container/registry/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `/container/registry/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `/container/registry`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `/container/registry/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `/container/registry/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftContainerRegistryServerContainerRegistry = NamirasoftContainerRegistryServerContainerRegistry;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerContainerRegistry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerContainerRegistry.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerContainerRegistry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,qDAA6C;AAE7C,mGAAgG;AAChG,qDAA2C;AAE3C,MAAa,kDAAmD,SAAQ,6EAAqC;IAEzG,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,0BAA0B,CAAC;YACtC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAkD,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,MAAM,CAAC,CAAC;YAC/K,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAU,EAAE,MAA8B;;YAEhD,IAAI,IAAI,GAAG,uBAAuB,EAAE,EAAE,CAAC;YACvC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAuB,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAC9E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,IAA+B,EAAE,MAA8B;;YAExE,IAAI,IAAI,GAAG,qBAAqB,CAAC;YACjC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAuB,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACrF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAU,EAAE,IAA+B,EAAE,MAA8B;;YAEpF,IAAI,IAAI,GAAG,uBAAuB,EAAE,EAAE,CAAC;YACvC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAuB,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACpF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,EAAU,EAAE,MAA8B;;YAEnD,IAAI,IAAI,GAAG,uBAAuB,EAAE,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,gHA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { ContainerRegistryCategoryRow } from "./row/ContainerRegistryCategoryRow";
|
|
3
|
+
import { EntityCategoryInputRow } from "./row/EntityCategoryInputRow";
|
|
4
|
+
import { FilterItem } from "namirasoft-core";
|
|
5
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
6
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftContainerRegistryServerContainerRegistryCategory extends NamirasoftContainerRegistryServerBase {
|
|
9
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: ContainerRegistryCategoryRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: string, config?: BaseServerConfig<any>): Promise<ContainerRegistryCategoryRow>;
|
|
15
|
+
Create(entity_id: string, body: EntityCategoryInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryCategoryRow>;
|
|
16
|
+
Delete(entity_id: string, id: number, config?: BaseServerConfig<any>): Promise<void>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryCategory = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftContainerRegistryServerContainerRegistryCategory extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Delete = this.Delete.bind(this);
|
|
23
|
+
}
|
|
24
|
+
List(filters, page, size, sorts, config) {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
27
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
28
|
+
let path = `container/registry/category/list`;
|
|
29
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
30
|
+
return data;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
Get(id, config) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
let path = `container/registry/category/${id}`;
|
|
36
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
37
|
+
return data;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
Create(entity_id, body, config) {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
let path = `container/registry/category/${entity_id}`;
|
|
43
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
44
|
+
return data;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
Delete(entity_id, id, config) {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
let path = `container/registry/category/${entity_id}/${id}`;
|
|
50
|
+
yield this.server._delete(path, {}, config);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryCategory = NamirasoftContainerRegistryServerContainerRegistryCategory;
|
|
55
|
+
;
|
|
56
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerContainerRegistryCategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerContainerRegistryCategory.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerContainerRegistryCategory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,qDAA6C;AAE7C,mGAAgG;AAChG,qDAA2C;AAE3C,MAAa,0DAA2D,SAAQ,6EAAqC;IAEjH,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,kCAAkC,CAAC;YAC9C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA0D,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,MAAM,CAAC,CAAC;YACvL,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAU,EAAE,MAA8B;;YAEhD,IAAI,IAAI,GAAG,+BAA+B,EAAE,EAAE,CAAC;YAC/C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA+B,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YACtF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,IAA4B,EAAE,MAA8B;;YAExF,IAAI,IAAI,GAAG,+BAA+B,SAAS,EAAE,CAAC;YACtD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAA+B,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7F,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,MAA8B;;YAEtE,IAAI,IAAI,GAAG,+BAA+B,SAAS,IAAI,EAAE,EAAE,CAAC;YAC5D,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AAnCD,gIAmCC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { ContainerRegistryFieldRow } from "./row/ContainerRegistryFieldRow";
|
|
3
|
+
import { EntityFieldInputRow } from "./row/EntityFieldInputRow";
|
|
4
|
+
import { FilterItem } from "namirasoft-core";
|
|
5
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
6
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftContainerRegistryServerContainerRegistryField extends NamirasoftContainerRegistryServerBase {
|
|
9
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: ContainerRegistryFieldRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: string, config?: BaseServerConfig<any>): Promise<ContainerRegistryFieldRow>;
|
|
15
|
+
Create(entity_id: string, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryFieldRow>;
|
|
16
|
+
Update(entity_id: string, id: number, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryFieldRow>;
|
|
17
|
+
Delete(entity_id: string, id: number, config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryField = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftContainerRegistryServerContainerRegistryField extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `container/registry/field/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `container/registry/field/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(entity_id, body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `container/registry/field/${entity_id}`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(entity_id, id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `container/registry/field/${entity_id}/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(entity_id, id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `container/registry/field/${entity_id}/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryField = NamirasoftContainerRegistryServerContainerRegistryField;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerContainerRegistryField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerContainerRegistryField.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerContainerRegistryField.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,qDAA6C;AAE7C,mGAAgG;AAChG,qDAA2C;AAE3C,MAAa,uDAAwD,SAAQ,6EAAqC;IAE9G,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,+BAA+B,CAAC;YAC3C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAuD,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,MAAM,CAAC,CAAC;YACpL,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAU,EAAE,MAA8B;;YAEhD,IAAI,IAAI,GAAG,4BAA4B,EAAE,EAAE,CAAC;YAC5C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA4B,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YACnF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,IAAyB,EAAE,MAA8B;;YAErF,IAAI,IAAI,GAAG,4BAA4B,SAAS,EAAE,CAAC;YACnD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAA4B,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1F,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,IAAyB,EAAE,MAA8B;;YAEjG,IAAI,IAAI,GAAG,4BAA4B,SAAS,IAAI,EAAE,EAAE,CAAC;YACzD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA4B,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACzF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,MAA8B;;YAEtE,IAAI,IAAI,GAAG,4BAA4B,SAAS,IAAI,EAAE,EAAE,CAAC;YACzD,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,0HA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { ContainerRegistryTagRow } from "./row/ContainerRegistryTagRow";
|
|
3
|
+
import { EntityTagInputRow } from "./row/EntityTagInputRow";
|
|
4
|
+
import { FilterItem } from "namirasoft-core";
|
|
5
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
6
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
7
|
+
import { SortItem } from "namirasoft-core";
|
|
8
|
+
export declare class NamirasoftContainerRegistryServerContainerRegistryTag extends NamirasoftContainerRegistryServerBase {
|
|
9
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
10
|
+
List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{
|
|
11
|
+
rows: ContainerRegistryTagRow[];
|
|
12
|
+
count: number;
|
|
13
|
+
}>;
|
|
14
|
+
Get(id: string, config?: BaseServerConfig<any>): Promise<ContainerRegistryTagRow>;
|
|
15
|
+
Create(entity_id: string, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryTagRow>;
|
|
16
|
+
Update(entity_id: string, id: number, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<ContainerRegistryTagRow>;
|
|
17
|
+
Delete(entity_id: string, id: number, config?: BaseServerConfig<any>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryTag = void 0;
|
|
13
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
14
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
15
|
+
const namirasoft_core_2 = require("namirasoft-core");
|
|
16
|
+
class NamirasoftContainerRegistryServerContainerRegistryTag extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
17
|
+
constructor(server) {
|
|
18
|
+
super(server);
|
|
19
|
+
this.List = this.List.bind(this);
|
|
20
|
+
this.Get = this.Get.bind(this);
|
|
21
|
+
this.Create = this.Create.bind(this);
|
|
22
|
+
this.Update = this.Update.bind(this);
|
|
23
|
+
this.Delete = this.Delete.bind(this);
|
|
24
|
+
}
|
|
25
|
+
List(filters, page, size, sorts, config) {
|
|
26
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27
|
+
let filters_string_value = namirasoft_core_1.FilterItem.stringify(filters);
|
|
28
|
+
let sorts_string_value = namirasoft_core_2.SortItem.stringify(sorts);
|
|
29
|
+
let path = `container/registry/tag/list`;
|
|
30
|
+
let { data } = yield this.server._get(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
Get(id, config) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
let path = `container/registry/tag/${id}`;
|
|
37
|
+
let { data } = yield this.server._get(path, {}, config);
|
|
38
|
+
return data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
Create(entity_id, body, config) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
let path = `container/registry/tag/${entity_id}`;
|
|
44
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
45
|
+
return data;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
Update(entity_id, id, body, config) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
let path = `container/registry/tag/${entity_id}/${id}`;
|
|
51
|
+
let { data } = yield this.server._put(path, {}, body, config);
|
|
52
|
+
return data;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
Delete(entity_id, id, config) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
let path = `container/registry/tag/${entity_id}/${id}`;
|
|
58
|
+
yield this.server._delete(path, {}, config);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NamirasoftContainerRegistryServerContainerRegistryTag = NamirasoftContainerRegistryServerContainerRegistryTag;
|
|
63
|
+
;
|
|
64
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerContainerRegistryTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerContainerRegistryTag.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerContainerRegistryTag.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,qDAA6C;AAE7C,mGAAgG;AAChG,qDAA2C;AAE3C,MAAa,qDAAsD,SAAQ,6EAAqC;IAE5G,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjC,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACK,IAAI,CAAC,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,MAA8B;;YAEpI,IAAI,oBAAoB,GAAW,4BAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;YACjE,IAAI,kBAAkB,GAAW,0BAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC3D,IAAI,IAAI,GAAG,6BAA6B,CAAC;YACzC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAqD,IAAI,EAAE,EAAE,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,MAAM,CAAC,CAAC;YAClL,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,GAAG,CAAC,EAAU,EAAE,MAA8B;;YAEhD,IAAI,IAAI,GAAG,0BAA0B,EAAE,EAAE,CAAC;YAC1C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA0B,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YACjF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,IAAuB,EAAE,MAA8B;;YAEnF,IAAI,IAAI,GAAG,0BAA0B,SAAS,EAAE,CAAC;YACjD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAA0B,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACxF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,IAAuB,EAAE,MAA8B;;YAE/F,IAAI,IAAI,GAAG,0BAA0B,SAAS,IAAI,EAAE,EAAE,CAAC;YACvD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAA0B,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YACvF,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,MAAM,CAAC,SAAiB,EAAE,EAAU,EAAE,MAA8B;;YAEtE,IAAI,IAAI,GAAG,0BAA0B,SAAS,IAAI,EAAE,EAAE,CAAC;YACvD,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA1CD,sHA0CC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
3
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
4
|
+
export declare class NamirasoftContainerRegistryServerHealthz extends NamirasoftContainerRegistryServerBase {
|
|
5
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
6
|
+
Get(config?: BaseServerConfig<any>): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerHealthz = void 0;
|
|
13
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
14
|
+
class NamirasoftContainerRegistryServerHealthz extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Get = this.Get.bind(this);
|
|
18
|
+
}
|
|
19
|
+
Get(config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/healthz`;
|
|
22
|
+
yield this.server._get(path, {}, config);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.NamirasoftContainerRegistryServerHealthz = NamirasoftContainerRegistryServerHealthz;
|
|
27
|
+
;
|
|
28
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerHealthz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerHealthz.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerHealthz.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,mGAAgG;AAEhG,MAAa,wCAAyC,SAAQ,6EAAqC;IAE/F,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,GAAG,CAAC,MAA8B;;YAEpC,IAAI,IAAI,GAAG,UAAU,CAAC;YACtB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;CACJ;AAZD,4FAYC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
3
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
4
|
+
export declare class NamirasoftContainerRegistryServerMetrics extends NamirasoftContainerRegistryServerBase {
|
|
5
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
6
|
+
Get(config?: BaseServerConfig<any>): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerMetrics = void 0;
|
|
13
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
14
|
+
class NamirasoftContainerRegistryServerMetrics extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Get = this.Get.bind(this);
|
|
18
|
+
}
|
|
19
|
+
Get(config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/metrics`;
|
|
22
|
+
yield this.server._get(path, {}, config);
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.NamirasoftContainerRegistryServerMetrics = NamirasoftContainerRegistryServerMetrics;
|
|
27
|
+
;
|
|
28
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerMetrics.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerMetrics.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,mGAAgG;AAEhG,MAAa,wCAAyC,SAAQ,6EAAqC;IAE/F,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IACK,GAAG,CAAC,MAA8B;;YAEpC,IAAI,IAAI,GAAG,UAAU,CAAC;YACtB,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,IAAI,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;QACnD,CAAC;KAAA;CACJ;AAZD,4FAYC;AAAA,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { NamirasoftContainerRegistryServer } from "./NamirasoftContainerRegistryServer";
|
|
3
|
+
import { NamirasoftContainerRegistryServerBase } from "./NamirasoftContainerRegistryServerBase";
|
|
4
|
+
export declare class NamirasoftContainerRegistryServerValue extends NamirasoftContainerRegistryServerBase {
|
|
5
|
+
constructor(server: NamirasoftContainerRegistryServer);
|
|
6
|
+
List(table: string, column: string, search: (string | null), field_id: (string | null), limit: (number | null), config?: BaseServerConfig<any>): Promise<string[]>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftContainerRegistryServerValue = void 0;
|
|
13
|
+
const NamirasoftContainerRegistryServerBase_1 = require("./NamirasoftContainerRegistryServerBase");
|
|
14
|
+
class NamirasoftContainerRegistryServerValue extends NamirasoftContainerRegistryServerBase_1.NamirasoftContainerRegistryServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.List = this.List.bind(this);
|
|
18
|
+
}
|
|
19
|
+
List(table, column, search, field_id, limit, config) {
|
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
let path = `/value/list/${table}/${column}`;
|
|
22
|
+
let { data } = yield this.server._get(path, { search, field_id, limit }, config);
|
|
23
|
+
return data;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.NamirasoftContainerRegistryServerValue = NamirasoftContainerRegistryServerValue;
|
|
28
|
+
;
|
|
29
|
+
//# sourceMappingURL=NamirasoftContainerRegistryServerValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftContainerRegistryServerValue.js","sourceRoot":"","sources":["../src/NamirasoftContainerRegistryServerValue.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,mGAAgG;AAEhG,MAAa,sCAAuC,SAAQ,6EAAqC;IAE7F,YAAY,MAAyC;QAEjD,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IACK,IAAI,CAAC,KAAa,EAAE,MAAc,EAAE,MAAuB,EAAE,QAAyB,EAAE,KAAsB,EAAE,MAA8B;;YAEhJ,IAAI,IAAI,GAAG,eAAe,KAAK,IAAI,MAAM,EAAE,CAAC;YAC5C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAW,IAAI,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;YAC3F,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAbD,wFAaC;AAAA,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContainerRegistryCategoryCommand = void 0;
|
|
4
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
5
|
+
const ContainerRegistryCategoryCreateCommand_1 = require("./ContainerRegistryCategoryCreateCommand");
|
|
6
|
+
const ContainerRegistryCategoryDeleteCommand_1 = require("./ContainerRegistryCategoryDeleteCommand");
|
|
7
|
+
const ContainerRegistryCategoryGetCommand_1 = require("./ContainerRegistryCategoryGetCommand");
|
|
8
|
+
const ContainerRegistryCategoryListCommand_1 = require("./ContainerRegistryCategoryListCommand");
|
|
9
|
+
class ContainerRegistryCategoryCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
10
|
+
constructor(argv) {
|
|
11
|
+
super(argv, {
|
|
12
|
+
"list": ContainerRegistryCategoryListCommand_1.ContainerRegistryCategoryListCommand,
|
|
13
|
+
"get": ContainerRegistryCategoryGetCommand_1.ContainerRegistryCategoryGetCommand,
|
|
14
|
+
"create": ContainerRegistryCategoryCreateCommand_1.ContainerRegistryCategoryCreateCommand,
|
|
15
|
+
"delete": ContainerRegistryCategoryDeleteCommand_1.ContainerRegistryCategoryDeleteCommand,
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ContainerRegistryCategoryCommand = ContainerRegistryCategoryCommand;
|
|
20
|
+
;
|
|
21
|
+
//# sourceMappingURL=ContainerRegistryCategoryCommand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContainerRegistryCategoryCommand.js","sourceRoot":"","sources":["../../src/command/ContainerRegistryCategoryCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,qGAAkG;AAClG,qGAAkG;AAClG,+FAA4F;AAC5F,iGAA8F;AAE9F,MAAa,gCAAiC,SAAQ,0CAAoB;IAEtE,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,MAAM,EAAE,2EAAoC;YAC5C,KAAK,EAAE,yEAAmC;YAC1C,QAAQ,EAAE,+EAAsC;YAChD,QAAQ,EAAE,+EAAsC;SACnD,CAAC,CAAC;IACP,CAAC;CACJ;AAXD,4EAWC;AAAA,CAAC"}
|