@bestapps/education.events.module 1.0.2 → 1.0.7

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/1.0.2 ADDED
File without changes
package/1.0.3 ADDED
File without changes
package/1.0.4 ADDED
File without changes
@@ -1,10 +1,10 @@
1
1
  import ICategory from './ICategory';
2
+ import IOrganization from './IOrganization';
2
3
  import IPerson from './IPerson';
3
4
  export default interface IGlobalPersonEventPayload {
4
- organizationUid: string;
5
- organizationName: string;
6
5
  propertyType: string;
7
6
  person: IPerson;
8
7
  category: ICategory | null;
8
+ organizations: IOrganization[];
9
9
  }
10
10
  //# sourceMappingURL=IGlobalPersonEventPayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IGlobalPersonEventPayload.d.ts","sourceRoot":"","sources":["../../src/interfaces/IGlobalPersonEventPayload.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,WAAW,yBAAyB;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;CAC9B"}
1
+ {"version":3,"file":"IGlobalPersonEventPayload.d.ts","sourceRoot":"","sources":["../../src/interfaces/IGlobalPersonEventPayload.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,WAAW,yBAAyB;IAC9C,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,aAAa,EAAE,CAAC;CAClC"}
@@ -0,0 +1,7 @@
1
+ import { OrganizationRelation } from './OrganizationRelation';
2
+ export default interface IOrganization {
3
+ uid: string;
4
+ name: string;
5
+ relation: OrganizationRelation;
6
+ }
7
+ //# sourceMappingURL=IOrganization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IOrganization.d.ts","sourceRoot":"","sources":["../../src/interfaces/IOrganization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,OAAO,WAAW,aAAa;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,oBAAoB,CAAC;CAClC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IOrganization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IOrganization.js","sourceRoot":"","sources":["../../src/interfaces/IOrganization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export type OrganizationRelation = 'worker' | 'controller' | 'other';
2
+ //# sourceMappingURL=OrganizationRelation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationRelation.d.ts","sourceRoot":"","sources":["../../src/interfaces/OrganizationRelation.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,YAAY,GAAG,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OrganizationRelation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationRelation.js","sourceRoot":"","sources":["../../src/interfaces/OrganizationRelation.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/bestapps-ua/education.events.module/issues"
11
11
  },
12
- "version": "1.0.2",
12
+ "version": "1.0.7",
13
13
  "main": "dist/index.js",
14
14
  "typings": "dist/index.d.ts",
15
15
  "scripts": {
package/push.sh CHANGED
@@ -14,6 +14,9 @@ VERSION=$(cat package.json \
14
14
  | awk -F: '{ print $2 }' \
15
15
  | sed 's/[",]//g')
16
16
 
17
+ # Check npm auth, login if needed
18
+ npm whoami 2>/dev/null || npm login
19
+
17
20
  npm run build
18
21
  git add dist/*
19
22
  git commit -m "$VERSION" package.json package-lock.json dist/ src/ push.sh;
@@ -1,10 +1,10 @@
1
1
  import ICategory from './ICategory';
2
+ import IOrganization from './IOrganization';
2
3
  import IPerson from './IPerson';
3
4
 
4
5
  export default interface IGlobalPersonEventPayload {
5
- organizationUid: string;
6
- organizationName: string;
7
6
  propertyType: string;
8
7
  person: IPerson;
9
8
  category: ICategory | null;
9
+ organizations: IOrganization[];
10
10
  }
@@ -0,0 +1,7 @@
1
+ import { OrganizationRelation } from './OrganizationRelation';
2
+
3
+ export default interface IOrganization {
4
+ uid: string;
5
+ name: string;
6
+ relation: OrganizationRelation;
7
+ }
@@ -0,0 +1 @@
1
+ export type OrganizationRelation = 'worker' | 'controller' | 'other';
package/tsc ADDED
File without changes