@buildery/ts-api-kit 3.6.4 → 4.0.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/configs/auth/config/AuthApi.d.ts +3 -1
- package/dist/configs/auth/config/AuthApi.js +19 -5
- package/dist/configs/auth/config/AuthApi.js.map +1 -1
- package/dist/configs/module/config/ModuleApi.d.ts +4 -4
- package/dist/configs/module/config/ModuleApi.js +10 -10
- package/dist/configs/module/config/ModuleApi.js.map +1 -1
- package/dist/configs/schema/config/FieldApi.d.ts +4 -4
- package/dist/configs/schema/config/FieldApi.js +10 -10
- package/dist/configs/schema/config/FieldApi.js.map +1 -1
- package/dist/configs/schema/config/ObjectApi.d.ts +4 -4
- package/dist/configs/schema/config/ObjectApi.js +4 -4
- package/dist/configs/schema/config/ObjectApi.js.map +1 -1
- package/dist/configs/security/config/PermissionApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionApi.js +8 -8
- package/dist/configs/security/config/PermissionApi.js.map +1 -1
- package/dist/configs/security/config/PermissionAssignmentApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionAssignmentApi.js +4 -4
- package/dist/configs/security/config/PermissionAssignmentApi.js.map +1 -1
- package/dist/configs/security/config/PermissionCategoryApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionCategoryApi.js +6 -6
- package/dist/configs/security/config/PermissionCategoryApi.js.map +1 -1
- package/dist/configs/security/config/PermissionDefinitionApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionDefinitionApi.js +4 -4
- package/dist/configs/security/config/PermissionDefinitionApi.js.map +1 -1
- package/dist/configs/security/config/PermissionGroupApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionGroupApi.js +4 -4
- package/dist/configs/security/config/PermissionGroupApi.js.map +1 -1
- package/dist/configs/security/config/PermissionSetApi.d.ts +4 -4
- package/dist/configs/security/config/PermissionSetApi.js +4 -4
- package/dist/configs/security/config/PermissionSetApi.js.map +1 -1
- package/dist/configs/user/config/UserApi.d.ts +4 -4
- package/dist/configs/user/config/UserApi.js +4 -4
- package/dist/configs/user/config/UserApi.js.map +1 -1
- package/dist/core/ApiConfigs.d.ts +6 -0
- package/dist/core/ApiConfigs.js +7 -0
- package/dist/core/ApiConfigs.js.map +1 -0
- package/dist/core/BaseRequest.d.ts +5 -0
- package/dist/core/BaseRequest.js +13 -0
- package/dist/core/BaseRequest.js.map +1 -0
- package/dist/core/{CRUDRequest.d.ts → SObjectRequest.d.ts} +2 -4
- package/dist/core/{CRUDRequest.js → SObjectRequest.js} +37 -43
- package/dist/core/SObjectRequest.js.map +1 -0
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.js +3 -2
- package/dist/core/index.js.map +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +4 -0
- package/dist/main.js.map +1 -1
- package/dist/services/auth.service.js +2 -2
- package/dist/services/auth.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/api/auth/AuthApi.d.ts +0 -6
- package/dist/api/auth/AuthApi.js +0 -19
- package/dist/api/auth/AuthApi.js.map +0 -1
- package/dist/api/index.d.ts +0 -4
- package/dist/api/index.js +0 -21
- package/dist/api/index.js.map +0 -1
- package/dist/api/module/config/ModuleApi.d.ts +0 -10
- package/dist/api/module/config/ModuleApi.js +0 -49
- package/dist/api/module/config/ModuleApi.js.map +0 -1
- package/dist/api/module/config/index.d.ts +0 -1
- package/dist/api/module/config/index.js +0 -18
- package/dist/api/module/config/index.js.map +0 -1
- package/dist/api/module/index.d.ts +0 -2
- package/dist/api/module/index.js +0 -19
- package/dist/api/module/index.js.map +0 -1
- package/dist/api/module/types/IModule.d.ts +0 -12
- package/dist/api/module/types/IModule.js +0 -3
- package/dist/api/module/types/IModule.js.map +0 -1
- package/dist/api/module/types/ModuleObjectNames.d.ts +0 -3
- package/dist/api/module/types/ModuleObjectNames.js +0 -7
- package/dist/api/module/types/ModuleObjectNames.js.map +0 -1
- package/dist/api/module/types/index.d.ts +0 -2
- package/dist/api/module/types/index.js +0 -19
- package/dist/api/module/types/index.js.map +0 -1
- package/dist/api/schema/config/FieldApi.d.ts +0 -10
- package/dist/api/schema/config/FieldApi.js +0 -47
- package/dist/api/schema/config/FieldApi.js.map +0 -1
- package/dist/api/schema/config/ObjectApi.d.ts +0 -6
- package/dist/api/schema/config/ObjectApi.js +0 -25
- package/dist/api/schema/config/ObjectApi.js.map +0 -1
- package/dist/api/schema/config/index.d.ts +0 -2
- package/dist/api/schema/config/index.js +0 -19
- package/dist/api/schema/config/index.js.map +0 -1
- package/dist/api/schema/index.d.ts +0 -2
- package/dist/api/schema/index.js +0 -19
- package/dist/api/schema/index.js.map +0 -1
- package/dist/api/schema/types/FieldType.d.ts +0 -9
- package/dist/api/schema/types/FieldType.js +0 -14
- package/dist/api/schema/types/FieldType.js.map +0 -1
- package/dist/api/schema/types/PicklistValue.d.ts +0 -4
- package/dist/api/schema/types/PicklistValue.js +0 -3
- package/dist/api/schema/types/PicklistValue.js.map +0 -1
- package/dist/api/schema/types/SObject.d.ts +0 -7
- package/dist/api/schema/types/SObject.js +0 -3
- package/dist/api/schema/types/SObject.js.map +0 -1
- package/dist/api/schema/types/SObjectField.d.ts +0 -32
- package/dist/api/schema/types/SObjectField.js +0 -3
- package/dist/api/schema/types/SObjectField.js.map +0 -1
- package/dist/api/schema/types/SchemaObjectNames.d.ts +0 -4
- package/dist/api/schema/types/SchemaObjectNames.js +0 -8
- package/dist/api/schema/types/SchemaObjectNames.js.map +0 -1
- package/dist/api/schema/types/index.d.ts +0 -5
- package/dist/api/schema/types/index.js +0 -22
- package/dist/api/schema/types/index.js.map +0 -1
- package/dist/api/security/config/PermissionApi.d.ts +0 -9
- package/dist/api/security/config/PermissionApi.js +0 -57
- package/dist/api/security/config/PermissionApi.js.map +0 -1
- package/dist/api/security/config/PermissionAssignmentApi.d.ts +0 -6
- package/dist/api/security/config/PermissionAssignmentApi.js +0 -26
- package/dist/api/security/config/PermissionAssignmentApi.js.map +0 -1
- package/dist/api/security/config/PermissionCategoryApi.d.ts +0 -8
- package/dist/api/security/config/PermissionCategoryApi.js +0 -43
- package/dist/api/security/config/PermissionCategoryApi.js.map +0 -1
- package/dist/api/security/config/PermissionDefinitionApi.d.ts +0 -6
- package/dist/api/security/config/PermissionDefinitionApi.js +0 -26
- package/dist/api/security/config/PermissionDefinitionApi.js.map +0 -1
- package/dist/api/security/config/PermissionGroupApi.d.ts +0 -6
- package/dist/api/security/config/PermissionGroupApi.js +0 -26
- package/dist/api/security/config/PermissionGroupApi.js.map +0 -1
- package/dist/api/security/config/PermissionSetApi.d.ts +0 -6
- package/dist/api/security/config/PermissionSetApi.js +0 -26
- package/dist/api/security/config/PermissionSetApi.js.map +0 -1
- package/dist/api/security/config/index.d.ts +0 -6
- package/dist/api/security/config/index.js +0 -23
- package/dist/api/security/config/index.js.map +0 -1
- package/dist/api/security/index.d.ts +0 -2
- package/dist/api/security/index.js +0 -19
- package/dist/api/security/index.js.map +0 -1
- package/dist/api/security/types/IPermission.d.ts +0 -10
- package/dist/api/security/types/IPermission.js +0 -3
- package/dist/api/security/types/IPermission.js.map +0 -1
- package/dist/api/security/types/IPermissionAssignment.d.ts +0 -6
- package/dist/api/security/types/IPermissionAssignment.js +0 -3
- package/dist/api/security/types/IPermissionAssignment.js.map +0 -1
- package/dist/api/security/types/IPermissionCategory.d.ts +0 -5
- package/dist/api/security/types/IPermissionCategory.js +0 -3
- package/dist/api/security/types/IPermissionCategory.js.map +0 -1
- package/dist/api/security/types/IPermissionDefinition.d.ts +0 -6
- package/dist/api/security/types/IPermissionDefinition.js +0 -3
- package/dist/api/security/types/IPermissionDefinition.js.map +0 -1
- package/dist/api/security/types/IPermissionGroup.d.ts +0 -4
- package/dist/api/security/types/IPermissionGroup.js +0 -3
- package/dist/api/security/types/IPermissionGroup.js.map +0 -1
- package/dist/api/security/types/IPermissionSet.d.ts +0 -6
- package/dist/api/security/types/IPermissionSet.js +0 -3
- package/dist/api/security/types/IPermissionSet.js.map +0 -1
- package/dist/api/security/types/SecurityObjectNames.d.ts +0 -8
- package/dist/api/security/types/SecurityObjectNames.js +0 -12
- package/dist/api/security/types/SecurityObjectNames.js.map +0 -1
- package/dist/api/security/types/index.d.ts +0 -7
- package/dist/api/security/types/index.js +0 -24
- package/dist/api/security/types/index.js.map +0 -1
- package/dist/api/user/config/UserApi.d.ts +0 -6
- package/dist/api/user/config/UserApi.js +0 -25
- package/dist/api/user/config/UserApi.js.map +0 -1
- package/dist/api/user/config/index.d.ts +0 -1
- package/dist/api/user/config/index.js +0 -18
- package/dist/api/user/config/index.js.map +0 -1
- package/dist/api/user/index.d.ts +0 -2
- package/dist/api/user/index.js +0 -19
- package/dist/api/user/index.js.map +0 -1
- package/dist/api/user/types/IUser.d.ts +0 -8
- package/dist/api/user/types/IUser.js +0 -3
- package/dist/api/user/types/IUser.js.map +0 -1
- package/dist/api/user/types/UserObjectNames.d.ts +0 -3
- package/dist/api/user/types/UserObjectNames.js +0 -7
- package/dist/api/user/types/UserObjectNames.js.map +0 -1
- package/dist/api/user/types/index.d.ts +0 -2
- package/dist/api/user/types/index.js +0 -19
- package/dist/api/user/types/index.js.map +0 -1
- package/dist/configs/auth/AuthApi.d.ts +0 -5
- package/dist/configs/auth/AuthApi.js +0 -23
- package/dist/configs/auth/AuthApi.js.map +0 -1
- package/dist/core/CRUDConfigs.d.ts +0 -5
- package/dist/core/CRUDConfigs.js +0 -7
- package/dist/core/CRUDConfigs.js.map +0 -1
- package/dist/core/CRUDRequest.js.map +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.ModuleApi = void 0;
|
|
10
|
-
const core_1 = require("../../../core");
|
|
11
|
-
const core_2 = require("../../../core");
|
|
12
|
-
const decorators_1 = require("../../../core/decorators");
|
|
13
|
-
const types_1 = require("../types");
|
|
14
|
-
let ModuleApi = class ModuleApi extends core_1.CRUDRequest {
|
|
15
|
-
getApiName() {
|
|
16
|
-
return types_1.ModuleObjectNames.module;
|
|
17
|
-
}
|
|
18
|
-
getBaseUrl() {
|
|
19
|
-
return core_2.CRUDConfigs.workspaceURL;
|
|
20
|
-
}
|
|
21
|
-
createAction(moduleId, action) {
|
|
22
|
-
return {
|
|
23
|
-
baseURL: this.getBaseUrl(),
|
|
24
|
-
url: `/${this.getApiName()}/${moduleId}/action`,
|
|
25
|
-
method: 'POST',
|
|
26
|
-
data: action
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
updateAction(moduleId, actionName, action) {
|
|
30
|
-
return {
|
|
31
|
-
baseURL: this.getBaseUrl(),
|
|
32
|
-
url: `/${this.getApiName()}/${moduleId}/action/${actionName}`,
|
|
33
|
-
method: 'PATCH',
|
|
34
|
-
data: action
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
deleteAction(moduleId, actionName) {
|
|
38
|
-
return {
|
|
39
|
-
baseURL: this.getBaseUrl(),
|
|
40
|
-
url: `/${this.getApiName()}/${moduleId}/action/${actionName}`,
|
|
41
|
-
method: 'DELETE',
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.ModuleApi = ModuleApi;
|
|
46
|
-
exports.ModuleApi = ModuleApi = __decorate([
|
|
47
|
-
(0, decorators_1.Calloutable)()
|
|
48
|
-
], ModuleApi);
|
|
49
|
-
//# sourceMappingURL=ModuleApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleApi.js","sourceRoot":"","sources":["../../../../src/api/module/config/ModuleApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wCAA0C;AAC1C,wCAA0C;AAC1C,yDAAqD;AAErD,oCAAmE;AAG5D,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,kBAAoB;IACjC,UAAU;QACxB,OAAO,yBAAiB,CAAC,MAAM,CAAC;IAClC,CAAC;IAEe,UAAU;QACxB,OAAO,kBAAW,CAAC,YAAY,CAAC;IAClC,CAAC;IAEM,YAAY,CAAC,QAAgB,EAAE,MAAqB;QACzD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,IAAI,IAAI,CAAC,UAAU,EAAE,IAAI,QAAQ,SAAS;YAC/C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,MAAM;SACS,CAAA;IACzB,CAAC;IAEM,YAAY,CAAC,QAAgB,EAAE,UAAkB,EAAE,MAAqB;QAC7E,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,IAAI,IAAI,CAAC,UAAU,EAAE,IAAI,QAAQ,WAAW,UAAU,EAAE;YAC7D,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,MAAM;SACS,CAAA;IACzB,CAAC;IAEM,YAAY,CAAC,QAAgB,EAAE,UAAkB;QACtD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,IAAI,IAAI,CAAC,UAAU,EAAE,IAAI,QAAQ,WAAW,UAAU,EAAE;YAC7D,MAAM,EAAE,QAAQ;SACK,CAAA;IACzB,CAAC;CACF,CAAA;AAlCY,8BAAS;oBAAT,SAAS;IADrB,IAAA,wBAAW,GAAE;GACD,SAAS,CAkCrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './ModuleApi';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ModuleApi"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/module/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
package/dist/api/module/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./config"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/module/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IModule.js","sourceRoot":"","sources":["../../../../src/api/module/types/IModule.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ModuleObjectNames.js","sourceRoot":"","sources":["../../../../src/api/module/types/ModuleObjectNames.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,MAAM,EAAE,QAAQ;CACjB,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ModuleObjectNames"), exports);
|
|
18
|
-
__exportStar(require("./IModule"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/module/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4CAA0B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CRUDRequest } from "../../../core";
|
|
2
|
-
import { SObjectField } from "../types";
|
|
3
|
-
import { AxiosRequestConfig } from "axios";
|
|
4
|
-
export declare class FieldApi extends CRUDRequest<SObjectField> {
|
|
5
|
-
getApiName(): string;
|
|
6
|
-
getBaseUrl(): string;
|
|
7
|
-
create(field: SObjectField): AxiosRequestConfig;
|
|
8
|
-
getAllByObjectId(objectId: string): AxiosRequestConfig<any>;
|
|
9
|
-
deleteAllByObjectId(objectId: string): AxiosRequestConfig<any>;
|
|
10
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.FieldApi = void 0;
|
|
10
|
-
const core_1 = require("../../../core");
|
|
11
|
-
const decorators_1 = require("../../../core/decorators");
|
|
12
|
-
const types_1 = require("../types");
|
|
13
|
-
let FieldApi = class FieldApi extends core_1.CRUDRequest {
|
|
14
|
-
getApiName() {
|
|
15
|
-
return types_1.SchemaObjectNames.field;
|
|
16
|
-
}
|
|
17
|
-
getBaseUrl() {
|
|
18
|
-
return `${core_1.CRUDConfigs.crudURL}/metadata`;
|
|
19
|
-
}
|
|
20
|
-
create(field) {
|
|
21
|
-
return {
|
|
22
|
-
baseURL: this.getBaseUrl(),
|
|
23
|
-
url: `${this.getApiName()}/${field.objectId}`,
|
|
24
|
-
method: 'POST',
|
|
25
|
-
data: field
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
getAllByObjectId(objectId) {
|
|
29
|
-
return {
|
|
30
|
-
baseURL: this.getBaseUrl(),
|
|
31
|
-
url: `${this.getApiName()}/object/${objectId}`,
|
|
32
|
-
method: 'GET'
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
deleteAllByObjectId(objectId) {
|
|
36
|
-
return {
|
|
37
|
-
baseURL: this.getBaseUrl(),
|
|
38
|
-
url: `${this.getApiName()}/object/${objectId}/all`,
|
|
39
|
-
method: 'DELETE'
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
exports.FieldApi = FieldApi;
|
|
44
|
-
exports.FieldApi = FieldApi = __decorate([
|
|
45
|
-
(0, decorators_1.Calloutable)()
|
|
46
|
-
], FieldApi);
|
|
47
|
-
//# sourceMappingURL=FieldApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldApi.js","sourceRoot":"","sources":["../../../../src/api/schema/config/FieldApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wCAAuD;AACvD,yDAAqD;AACrD,oCAAyD;AAIlD,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,kBAAyB;IAErC,UAAU;QACxB,OAAO,yBAAiB,CAAC,KAAK,CAAC;IACjC,CAAC;IAEe,UAAU;QACxB,OAAO,GAAG,kBAAW,CAAC,OAAO,WAAW,CAAC;IAC3C,CAAC;IAEe,MAAM,CAAC,KAAmB;QACxC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,KAAK,CAAC,QAAQ,EAAE;YAC7C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,KAAK;SACU,CAAA;IACzB,CAAC;IAEM,gBAAgB,CAAC,QAAgB;QACtC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,QAAQ,EAAE;YAC9C,MAAM,EAAE,KAAK;SACQ,CAAA;IACzB,CAAC;IAEM,mBAAmB,CAAC,QAAgB;QACzC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,QAAQ,MAAM;YAClD,MAAM,EAAE,QAAQ;SACK,CAAA;IACzB,CAAC;CAEF,CAAA;AAnCY,4BAAQ;mBAAR,QAAQ;IADpB,IAAA,wBAAW,GAAE;GACD,QAAQ,CAmCpB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.ObjectApi = void 0;
|
|
10
|
-
const core_1 = require("../../../core");
|
|
11
|
-
const SchemaObjectNames_1 = require("../types/SchemaObjectNames");
|
|
12
|
-
const decorators_1 = require("../../../core/decorators");
|
|
13
|
-
let ObjectApi = class ObjectApi extends core_1.CRUDRequest {
|
|
14
|
-
getApiName() {
|
|
15
|
-
return SchemaObjectNames_1.SchemaObjectNames.object;
|
|
16
|
-
}
|
|
17
|
-
getBaseUrl() {
|
|
18
|
-
return `${core_1.CRUDConfigs.crudURL}/metadata`;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.ObjectApi = ObjectApi;
|
|
22
|
-
exports.ObjectApi = ObjectApi = __decorate([
|
|
23
|
-
(0, decorators_1.Calloutable)()
|
|
24
|
-
], ObjectApi);
|
|
25
|
-
//# sourceMappingURL=ObjectApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectApi.js","sourceRoot":"","sources":["../../../../src/api/schema/config/ObjectApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wCAAuD;AAEvD,kEAA6D;AAC7D,yDAAqD;AAG9C,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,kBAAoB;IAEjC,UAAU;QACxB,OAAO,qCAAiB,CAAC,MAAM,CAAC;IAClC,CAAC;IAEe,UAAU;QACxB,OAAO,GAAG,kBAAW,CAAC,OAAO,WAAW,CAAA;IAC1C,CAAC;CAEF,CAAA;AAVY,8BAAS;oBAAT,SAAS;IADrB,IAAA,wBAAW,GAAE;GACD,SAAS,CAUrB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ObjectApi"), exports);
|
|
18
|
-
__exportStar(require("./FieldApi"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/schema/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B"}
|
package/dist/api/schema/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./config"), exports);
|
|
18
|
-
__exportStar(require("./types"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/schema/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FieldType = void 0;
|
|
4
|
-
var FieldType;
|
|
5
|
-
(function (FieldType) {
|
|
6
|
-
FieldType["String"] = "String";
|
|
7
|
-
FieldType["Number"] = "Number";
|
|
8
|
-
FieldType["Boolean"] = "Boolean";
|
|
9
|
-
FieldType["Relation"] = "Relation";
|
|
10
|
-
FieldType["Datetime"] = "Datetime";
|
|
11
|
-
FieldType["Picklist"] = "Picklist";
|
|
12
|
-
FieldType["Multipicklist"] = "Multipicklist";
|
|
13
|
-
})(FieldType || (exports.FieldType = FieldType = {}));
|
|
14
|
-
//# sourceMappingURL=FieldType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldType.js","sourceRoot":"","sources":["../../../../src/api/schema/types/FieldType.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,4CAA+B,CAAA;AACjC,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PicklistValue.js","sourceRoot":"","sources":["../../../../src/api/schema/types/PicklistValue.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SObject.js","sourceRoot":"","sources":["../../../../src/api/schema/types/SObject.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FieldType } from "./FieldType";
|
|
2
|
-
import { PicklistValue } from "./PicklistValue";
|
|
3
|
-
export type SObjectField = {
|
|
4
|
-
_id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
apiName: string;
|
|
7
|
-
type: FieldType;
|
|
8
|
-
namespace: string;
|
|
9
|
-
objectId?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
example?: string;
|
|
12
|
-
default?: any;
|
|
13
|
-
number?: {
|
|
14
|
-
decimalPlaces?: number;
|
|
15
|
-
};
|
|
16
|
-
relation?: {
|
|
17
|
-
namespace: string;
|
|
18
|
-
objectName: string;
|
|
19
|
-
keyField?: string;
|
|
20
|
-
objectId: string;
|
|
21
|
-
};
|
|
22
|
-
picklist?: {
|
|
23
|
-
values: Array<PicklistValue>;
|
|
24
|
-
isStrict?: boolean;
|
|
25
|
-
globalSet?: string;
|
|
26
|
-
};
|
|
27
|
-
multipicklist?: {
|
|
28
|
-
values: Array<PicklistValue>;
|
|
29
|
-
isStrict?: boolean;
|
|
30
|
-
globalSet?: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SObjectField.js","sourceRoot":"","sources":["../../../../src/api/schema/types/SObjectField.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaObjectNames.js","sourceRoot":"","sources":["../../../../src/api/schema/types/SchemaObjectNames.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG;IAC/B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACf,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./SObjectField"), exports);
|
|
18
|
-
__exportStar(require("./FieldType"), exports);
|
|
19
|
-
__exportStar(require("./SchemaObjectNames"), exports);
|
|
20
|
-
__exportStar(require("./SObject"), exports);
|
|
21
|
-
__exportStar(require("./PicklistValue"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/schema/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8CAA4B;AAC5B,sDAAoC;AACpC,4CAA0B;AAC1B,kDAA+B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CRUDRequest } from "../../../core";
|
|
2
|
-
import { AxiosRequestConfig } from "axios";
|
|
3
|
-
import { IPermission } from "../types";
|
|
4
|
-
export declare class PermissionApi extends CRUDRequest<IPermission> {
|
|
5
|
-
getApiName(): string;
|
|
6
|
-
getBaseUrl(): string;
|
|
7
|
-
getByCategoryId(categoryId: string): AxiosRequestConfig;
|
|
8
|
-
getByCategoryIds(categoryIds: Array<string>): AxiosRequestConfig;
|
|
9
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.PermissionApi = void 0;
|
|
13
|
-
const core_1 = require("../../../core");
|
|
14
|
-
const core_2 = require("../../../core");
|
|
15
|
-
const decorators_1 = require("../../../core/decorators");
|
|
16
|
-
const web_cache_1 = require("@buildery/web-cache");
|
|
17
|
-
const types_1 = require("../types");
|
|
18
|
-
let PermissionApi = class PermissionApi extends core_1.CRUDRequest {
|
|
19
|
-
getApiName() {
|
|
20
|
-
return types_1.SecurityObjectNames.permission;
|
|
21
|
-
}
|
|
22
|
-
getBaseUrl() {
|
|
23
|
-
return core_2.CRUDConfigs.workspaceURL;
|
|
24
|
-
}
|
|
25
|
-
getByCategoryId(categoryId) {
|
|
26
|
-
return {
|
|
27
|
-
baseURL: this.getBaseUrl(),
|
|
28
|
-
url: `${this.getApiName()}/category/${categoryId}`,
|
|
29
|
-
method: "GET"
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
getByCategoryIds(categoryIds) {
|
|
33
|
-
return {
|
|
34
|
-
baseURL: this.getBaseUrl(),
|
|
35
|
-
url: `${this.getApiName()}/categories/${categoryIds === null || categoryIds === void 0 ? void 0 : categoryIds.join(',')}`,
|
|
36
|
-
method: "GET"
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
;
|
|
40
|
-
};
|
|
41
|
-
exports.PermissionApi = PermissionApi;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, web_cache_1.CacheRecord)({ operation: "query" }),
|
|
44
|
-
__metadata("design:type", Function),
|
|
45
|
-
__metadata("design:paramtypes", [String]),
|
|
46
|
-
__metadata("design:returntype", Object)
|
|
47
|
-
], PermissionApi.prototype, "getByCategoryId", null);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, web_cache_1.CacheRecord)({ operation: "query" }),
|
|
50
|
-
__metadata("design:type", Function),
|
|
51
|
-
__metadata("design:paramtypes", [Array]),
|
|
52
|
-
__metadata("design:returntype", Object)
|
|
53
|
-
], PermissionApi.prototype, "getByCategoryIds", null);
|
|
54
|
-
exports.PermissionApi = PermissionApi = __decorate([
|
|
55
|
-
(0, decorators_1.Calloutable)()
|
|
56
|
-
], PermissionApi);
|
|
57
|
-
//# sourceMappingURL=PermissionApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionApi.js","sourceRoot":"","sources":["../../../../src/api/security/config/PermissionApi.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAA0C;AAE1C,wCAA0C;AAC1C,yDAAqD;AACrD,mDAAgD;AAChD,oCAA0D;AAGnD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,kBAAwB;IACzC,UAAU;QACxB,OAAO,2BAAmB,CAAC,UAAU,CAAC;IACxC,CAAC;IAEe,UAAU;QACxB,OAAO,kBAAW,CAAC,YAAY,CAAC;IAClC,CAAC;IAGM,eAAe,CAAC,UAAkB;QACvC,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,aAAa,UAAU,EAAE;YAClD,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAGM,gBAAgB,CAAC,WAA0B;QAChD,OAAO;YACL,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE;YAC1B,GAAG,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,eAAe,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,CAAC,GAAG,CAAC,EAAE;YAChE,MAAM,EAAE,KAAK;SACd,CAAA;IACH,CAAC;IAAA,CAAC;CACH,CAAA;AA1BY,sCAAa;AAUjB;IADN,IAAA,uBAAW,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;;;;oDAOnC;AAGM;IADN,IAAA,uBAAW,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;;qCACC,KAAK;;qDAMzC;wBAzBU,aAAa;IADzB,IAAA,wBAAW,GAAE;GACD,aAAa,CA0BzB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.PermissionAssignmentApi = void 0;
|
|
10
|
-
const core_1 = require("../../../core");
|
|
11
|
-
const core_2 = require("../../../core");
|
|
12
|
-
const decorators_1 = require("../../../core/decorators");
|
|
13
|
-
const types_1 = require("../types");
|
|
14
|
-
let PermissionAssignmentApi = class PermissionAssignmentApi extends core_1.CRUDRequest {
|
|
15
|
-
getApiName() {
|
|
16
|
-
return types_1.SecurityObjectNames.permissionAssignment;
|
|
17
|
-
}
|
|
18
|
-
getBaseUrl() {
|
|
19
|
-
return core_2.CRUDConfigs.workspaceURL;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
exports.PermissionAssignmentApi = PermissionAssignmentApi;
|
|
23
|
-
exports.PermissionAssignmentApi = PermissionAssignmentApi = __decorate([
|
|
24
|
-
(0, decorators_1.Calloutable)()
|
|
25
|
-
], PermissionAssignmentApi);
|
|
26
|
-
//# sourceMappingURL=PermissionAssignmentApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PermissionAssignmentApi.js","sourceRoot":"","sources":["../../../../src/api/security/config/PermissionAssignmentApi.ts"],"names":[],"mappings":";;;;;;;;;AAAA,wCAA0C;AAC1C,wCAA0C;AAC1C,yDAAqD;AACrD,oCAAoE;AAG7D,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,kBAAkC;IAC7D,UAAU;QACxB,OAAO,2BAAmB,CAAC,oBAAoB,CAAC;IAClD,CAAC;IAEe,UAAU;QACxB,OAAO,kBAAW,CAAC,YAAY,CAAC;IAClC,CAAC;CACF,CAAA;AARY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,wBAAW,GAAE;GACD,uBAAuB,CAQnC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CRUDRequest } from "../../../core";
|
|
2
|
-
import { AxiosRequestConfig } from "axios";
|
|
3
|
-
import { IPermissionCategory } from "../types";
|
|
4
|
-
export declare class PermissionCategoryApi extends CRUDRequest<IPermissionCategory> {
|
|
5
|
-
getApiName(): string;
|
|
6
|
-
getBaseUrl(): string;
|
|
7
|
-
getByGroupId(groupId: string): AxiosRequestConfig;
|
|
8
|
-
}
|