grm-shared-library 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -20
- package/dist/index.js +9 -20
- package/dist/{dtos/organization → modules/organization/dtos}/create-organization.dto.d.ts +2 -2
- package/dist/{dtos/organization → modules/organization/dtos}/create-organization.dto.js +3 -3
- package/dist/{interfaces → modules/organization/interfaces}/organization.d.ts +1 -1
- package/dist/{dtos/user → modules/user/dtos}/create-user.dto.d.ts +1 -1
- package/dist/{dtos/user → modules/user/dtos}/create-user.dto.js +1 -1
- package/package.json +1 -1
- package/dist/kafka/client-ids/index.d.ts +0 -4
- package/dist/kafka/client-ids/index.js +0 -7
- package/dist/kafka/group-ids/index.d.ts +0 -4
- package/dist/kafka/group-ids/index.js +0 -7
- package/dist/kafka/service-tokens/index.d.ts +0 -4
- package/dist/kafka/service-tokens/index.js +0 -7
- package/dist/topics/index.d.ts +0 -3
- package/dist/topics/index.js +0 -6
- /package/dist/{utilities → decorators}/decorators.d.ts +0 -0
- /package/dist/{utilities → decorators}/decorators.js +0 -0
- /package/dist/{dtos/location → modules/common/dtos}/map-address.dto.d.ts +0 -0
- /package/dist/{dtos/location → modules/common/dtos}/map-address.dto.js +0 -0
- /package/dist/{dtos/location → modules/common/dtos}/map-location.dto.d.ts +0 -0
- /package/dist/{dtos/location → modules/common/dtos}/map-location.dto.js +0 -0
- /package/dist/{dtos/contact-person → modules/organization/dtos}/contact-person.dto.d.ts +0 -0
- /package/dist/{dtos/contact-person → modules/organization/dtos}/contact-person.dto.js +0 -0
- /package/dist/{dtos/organization → modules/organization/dtos}/update-organization.dto.d.ts +0 -0
- /package/dist/{dtos/organization → modules/organization/dtos}/update-organization.dto.js +0 -0
- /package/dist/{enums → modules/organization/enums}/org-status.enum.d.ts +0 -0
- /package/dist/{enums → modules/organization/enums}/org-status.enum.js +0 -0
- /package/dist/{interfaces → modules/organization/interfaces}/organization.js +0 -0
- /package/dist/{dtos/user → modules/user/dtos}/update-user.dto.d.ts +0 -0
- /package/dist/{dtos/user → modules/user/dtos}/update-user.dto.js +0 -0
- /package/dist/{enums → modules/user/enums}/user-role.enum.d.ts +0 -0
- /package/dist/{enums → modules/user/enums}/user-role.enum.js +0 -0
- /package/dist/{interfaces → modules/user/interfaces}/user.d.ts +0 -0
- /package/dist/{interfaces → modules/user/interfaces}/user.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Organization
|
|
3
3
|
*/
|
|
4
|
-
export * from './dtos/
|
|
5
|
-
export * from './dtos/
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './dtos/location/map-address.dto';
|
|
4
|
+
export * from './modules/organization/dtos/create-organization.dto';
|
|
5
|
+
export * from './modules/organization/dtos/update-organization.dto';
|
|
6
|
+
export * from './modules/organization/dtos/contact-person.dto';
|
|
7
|
+
export * from './modules/organization/interfaces/organization';
|
|
8
|
+
export * from './modules/organization/enums/org-status.enum';
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Common
|
|
12
11
|
*/
|
|
13
|
-
export * from './
|
|
14
|
-
|
|
15
|
-
* Enums
|
|
16
|
-
*/
|
|
17
|
-
export * from './enums/user-role.enum';
|
|
18
|
-
export * from './enums/org-status.enum';
|
|
12
|
+
export * from './modules/common/dtos/map-location.dto';
|
|
13
|
+
export * from './modules/common/dtos/map-address.dto';
|
|
19
14
|
/**
|
|
20
15
|
* Kafka
|
|
21
16
|
*/
|
|
22
17
|
export * from './kafka/topics';
|
|
23
|
-
export * from './kafka/group-ids';
|
|
24
|
-
export * from './kafka/client-ids';
|
|
25
|
-
/**
|
|
26
|
-
* Utilities
|
|
27
|
-
*/
|
|
28
|
-
export * from './utilities/decorators';
|
package/dist/index.js
CHANGED
|
@@ -15,30 +15,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Organization
|
|
19
19
|
*/
|
|
20
|
-
__exportStar(require("./dtos/
|
|
21
|
-
__exportStar(require("./dtos/
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./dtos/location/map-address.dto"), exports);
|
|
20
|
+
__exportStar(require("./modules/organization/dtos/create-organization.dto"), exports);
|
|
21
|
+
__exportStar(require("./modules/organization/dtos/update-organization.dto"), exports);
|
|
22
|
+
__exportStar(require("./modules/organization/dtos/contact-person.dto"), exports);
|
|
23
|
+
__exportStar(require("./modules/organization/interfaces/organization"), exports);
|
|
24
|
+
__exportStar(require("./modules/organization/enums/org-status.enum"), exports);
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
26
|
+
* Common
|
|
28
27
|
*/
|
|
29
|
-
__exportStar(require("./
|
|
30
|
-
|
|
31
|
-
* Enums
|
|
32
|
-
*/
|
|
33
|
-
__exportStar(require("./enums/user-role.enum"), exports);
|
|
34
|
-
__exportStar(require("./enums/org-status.enum"), exports);
|
|
28
|
+
__exportStar(require("./modules/common/dtos/map-location.dto"), exports);
|
|
29
|
+
__exportStar(require("./modules/common/dtos/map-address.dto"), exports);
|
|
35
30
|
/**
|
|
36
31
|
* Kafka
|
|
37
32
|
*/
|
|
38
33
|
__exportStar(require("./kafka/topics"), exports);
|
|
39
|
-
__exportStar(require("./kafka/group-ids"), exports);
|
|
40
|
-
__exportStar(require("./kafka/client-ids"), exports);
|
|
41
|
-
/**
|
|
42
|
-
* Utilities
|
|
43
|
-
*/
|
|
44
|
-
__exportStar(require("./utilities/decorators"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MapAddressDto } from "
|
|
2
|
-
import { ContactPersonDto } from "
|
|
1
|
+
import { MapAddressDto } from "../../common/dtos/map-address.dto";
|
|
2
|
+
import { ContactPersonDto } from "./contact-person.dto";
|
|
3
3
|
export declare class CreateOrganizationDto {
|
|
4
4
|
name: string;
|
|
5
5
|
phoneNumber?: string;
|
|
@@ -12,9 +12,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CreateOrganizationDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const map_address_dto_1 = require("
|
|
16
|
-
const org_status_enum_1 = require("
|
|
17
|
-
const contact_person_dto_1 = require("
|
|
15
|
+
const map_address_dto_1 = require("../../common/dtos/map-address.dto");
|
|
16
|
+
const org_status_enum_1 = require("../enums/org-status.enum");
|
|
17
|
+
const contact_person_dto_1 = require("./contact-person.dto");
|
|
18
18
|
class CreateOrganizationDto {
|
|
19
19
|
}
|
|
20
20
|
exports.CreateOrganizationDto = CreateOrganizationDto;
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateUserDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const user_role_enum_1 = require("
|
|
14
|
+
const user_role_enum_1 = require("../enums/user-role.enum");
|
|
15
15
|
class CreateUserDto {
|
|
16
16
|
constructor() {
|
|
17
17
|
this.role = user_role_enum_1.UserRole.USER;
|
package/package.json
CHANGED
package/dist/topics/index.d.ts
DELETED
package/dist/topics/index.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|