@studyportals/campaign-management-api-interface 1.1.0 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/campaign-management-api-interface",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "scripts": {
5
5
  "compile": "rm -fR bin && npx tsc",
6
6
  "test-u": "jest -c jest.config.unit.json --maxWorkers=1",
@@ -0,0 +1,7 @@
1
+ import { MinimalOrganisationDto } from "./minimal-organisations.dto";
2
+ export declare class MinimalOrganisationWithParentIDDto extends MinimalOrganisationDto {
3
+ readonly id: number;
4
+ readonly name: string;
5
+ readonly parentID: number | null;
6
+ constructor(id: number, name: string, parentID?: number | null);
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MinimalOrganisationWithParentIDDto = void 0;
4
+ const minimal_organisations_dto_1 = require("./minimal-organisations.dto");
5
+ class MinimalOrganisationWithParentIDDto extends minimal_organisations_dto_1.MinimalOrganisationDto {
6
+ constructor(id, name, parentID = null) {
7
+ super(id, name);
8
+ this.id = id;
9
+ this.name = name;
10
+ this.parentID = parentID;
11
+ }
12
+ }
13
+ exports.MinimalOrganisationWithParentIDDto = MinimalOrganisationWithParentIDDto;
14
+ //# sourceMappingURL=minimal-organisation-with-parent-id.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"minimal-organisation-with-parent-id.dto.js","sourceRoot":"","sources":["../../../../src/domain/organisations/minimal-organisation-with-parent-id.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAqE;AAErE,MAAa,kCAAmC,SAAQ,kDAAsB;IAC1E,YACoB,EAAU,EACV,IAAY,EACZ,WAA0B,IAAI;QAE9C,KAAK,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAJA,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,aAAQ,GAAR,QAAQ,CAAsB;IAGlD,CAAC;CACJ;AARD,gFAQC"}
@@ -1,6 +1,5 @@
1
1
  export declare class MinimalOrganisationDto {
2
2
  readonly id: number;
3
3
  readonly name: string;
4
- readonly parentID: number | null;
5
- constructor(id: number, name: string, parentID?: number | null);
4
+ constructor(id: number, name: string);
6
5
  }
@@ -2,10 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MinimalOrganisationDto = void 0;
4
4
  class MinimalOrganisationDto {
5
- constructor(id, name, parentID = null) {
5
+ constructor(id, name) {
6
6
  this.id = id;
7
7
  this.name = name;
8
- this.parentID = parentID;
9
8
  }
10
9
  }
11
10
  exports.MinimalOrganisationDto = MinimalOrganisationDto;
@@ -1 +1 @@
1
- {"version":3,"file":"minimal-organisations.dto.js","sourceRoot":"","sources":["../../../../src/domain/organisations/minimal-organisations.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,sBAAsB;IAC/B,YACoB,EAAU,EACV,IAAY,EACZ,WAA0B,IAAI;QAF9B,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,aAAQ,GAAR,QAAQ,CAAsB;IAC/C,CAAC;CACP;AAND,wDAMC"}
1
+ {"version":3,"file":"minimal-organisations.dto.js","sourceRoot":"","sources":["../../../../src/domain/organisations/minimal-organisations.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,sBAAsB;IAC/B,YACoB,EAAU,EACV,IAAY;QADZ,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;IAC7B,CAAC;CACP;AALD,wDAKC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-client.dto.js","sourceRoot":"","sources":["../../../../src/domain/users/create-client.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,eAAe;IACxB,YACoB,QAAgB,EAChB,KAAa,EACb,IAAY,EACZ,WAAmB,EACnB,gBAAyB,EACzB,YAAqB,EACrB,YAAqB;QANrB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,UAAK,GAAL,KAAK,CAAQ;QACb,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;QACnB,qBAAgB,GAAhB,gBAAgB,CAAS;QACzB,iBAAY,GAAZ,YAAY,CAAS;QACrB,iBAAY,GAAZ,YAAY,CAAS;IACrC,CAAC;CACR;AAVD,0CAUC"}
1
+ {"version":3,"file":"create-client.dto.js","sourceRoot":"","sources":["../../../../src/domain/users/create-client.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAe;IACxB,YACoB,QAAgB,EAChB,KAAa,EACb,IAAY,EACZ,WAAmB,EACnB,gBAAyB,EACzB,YAAqB,EACrB,YAAqB;QANrB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,UAAK,GAAL,KAAK,CAAQ;QACb,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;QACnB,qBAAgB,GAAhB,gBAAgB,CAAS;QACzB,iBAAY,GAAZ,YAAY,CAAS;QACrB,iBAAY,GAAZ,YAAY,CAAS;IACrC,CAAC;CACR;AAVD,0CAUC"}