@venturialstd/organization 0.0.5 → 0.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.
@@ -4,11 +4,11 @@ import { GitlabOAuthService } from '@venturialstd/gitlab';
4
4
  import { RepositoryAuthDto } from '../dtos/repository-auth.dto';
5
5
  import { OrganizationSettingsService } from '../services/organization-settings.service';
6
6
  export declare class OrganizationRepositoryController {
7
- private readonly gitlabOAuthService;
7
+ private readonly organizationSettingsService;
8
8
  private readonly bitbucketOAuthService;
9
+ private readonly gitlabOAuthService;
9
10
  private readonly githubOAuthService;
10
- private readonly organizationSettingsService;
11
- constructor(gitlabOAuthService: GitlabOAuthService, bitbucketOAuthService: BitbucketOAuthService, githubOAuthService: GithubOAuthService, organizationSettingsService: OrganizationSettingsService);
11
+ constructor(organizationSettingsService: OrganizationSettingsService, bitbucketOAuthService: BitbucketOAuthService, gitlabOAuthService: GitlabOAuthService, githubOAuthService: GithubOAuthService);
12
12
  authenticateRepository(organizationId: string, body: RepositoryAuthDto): Promise<{
13
13
  success: boolean;
14
14
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"organization-repository.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/organization-repository.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAExF,qBACa,gCAAgC;IAEzC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,2BAA2B;gBAH3B,kBAAkB,EAAE,kBAAkB,EACtC,qBAAqB,EAAE,qBAAqB,EAC5C,kBAAkB,EAAE,kBAAkB,EACtC,2BAA2B,EAAE,2BAA2B;IAKrE,sBAAsB,CACb,cAAc,EAAE,MAAM,EAC3B,IAAI,EAAE,iBAAiB,GAC9B,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;CA6CjC"}
1
+ {"version":3,"file":"organization-repository.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/organization-repository.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAExF,qBACa,gCAAgC;IAEzC,OAAO,CAAC,QAAQ,CAAC,2BAA2B;IAC5C,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IACnC,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAHlB,2BAA2B,EAAE,2BAA2B,EACxD,qBAAqB,EAAE,qBAAqB,EAC5C,kBAAkB,EAAE,kBAAkB,EACtC,kBAAkB,EAAE,kBAAkB;IAKnD,sBAAsB,CACb,cAAc,EAAE,MAAM,EAC3B,IAAI,EAAE,iBAAiB,GAC9B,OAAO,CAAC;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;CA6CjC"}
@@ -21,15 +21,15 @@ const repository_provider_constant_1 = require("../constants/repository-provider
21
21
  const repository_auth_dto_1 = require("../dtos/repository-auth.dto");
22
22
  const organization_settings_service_1 = require("../services/organization-settings.service");
23
23
  let OrganizationRepositoryController = class OrganizationRepositoryController {
24
- gitlabOAuthService;
24
+ organizationSettingsService;
25
25
  bitbucketOAuthService;
26
+ gitlabOAuthService;
26
27
  githubOAuthService;
27
- organizationSettingsService;
28
- constructor(gitlabOAuthService, bitbucketOAuthService, githubOAuthService, organizationSettingsService) {
29
- this.gitlabOAuthService = gitlabOAuthService;
28
+ constructor(organizationSettingsService, bitbucketOAuthService, gitlabOAuthService, githubOAuthService) {
29
+ this.organizationSettingsService = organizationSettingsService;
30
30
  this.bitbucketOAuthService = bitbucketOAuthService;
31
+ this.gitlabOAuthService = gitlabOAuthService;
31
32
  this.githubOAuthService = githubOAuthService;
32
- this.organizationSettingsService = organizationSettingsService;
33
33
  }
34
34
  async authenticateRepository(organizationId, body) {
35
35
  try {
@@ -76,9 +76,9 @@ __decorate([
76
76
  ], OrganizationRepositoryController.prototype, "authenticateRepository", null);
77
77
  exports.OrganizationRepositoryController = OrganizationRepositoryController = __decorate([
78
78
  (0, common_1.Controller)('organization'),
79
- __metadata("design:paramtypes", [gitlab_1.GitlabOAuthService,
79
+ __metadata("design:paramtypes", [organization_settings_service_1.OrganizationSettingsService,
80
80
  bitbucket_1.BitbucketOAuthService,
81
- github_1.GithubOAuthService,
82
- organization_settings_service_1.OrganizationSettingsService])
81
+ gitlab_1.GitlabOAuthService,
82
+ github_1.GithubOAuthService])
83
83
  ], OrganizationRepositoryController);
84
84
  //# sourceMappingURL=organization-repository.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"organization-repository.controller.js","sourceRoot":"","sources":["../../src/controllers/organization-repository.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAqF;AACrF,uDAAgE;AAChE,iDAA0D;AAC1D,iDAA0D;AAE1D,4FAAiF;AACjF,qEAAgE;AAChE,6FAAwF;AAGjF,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAExB;IACA;IACA;IACA;IAJnB,YACmB,kBAAsC,EACtC,qBAA4C,EAC5C,kBAAsC,EACtC,2BAAwD;QAHxD,uBAAkB,GAAlB,kB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,CAAC;QAC5B,CAAC;IACH,CAAC;CACF,CAAA;AA1DY,4EAAgC;AAUrC;IAFL,IAAA,aAAI,EAAC,qBAAqB,CAAC;IAC3B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;IACX,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,uCAAiB;;8EA6ChC;2CAzDU,gCAAgC;IAD5C,IAAA,mBAAU,EAAC,cAAc,CAAC;qCAGc,2BAAkB;QACf,iCAAqB;QACxB,2BAAkB;QACT,2DAA2B;GALhE,gCAAgC,CA0D5C"}
1
+ {"version":3,"file":"organization-repository.controller.js","sourceRoot":"","sources":["../../src/controllers/organization-repository.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAqF;AACrF,uDAAgE;AAChE,iDAA0D;AAC1D,iDAA0D;AAE1D,4FAAiF;AACjF,qEAAgE;AAChE,6FAAwF;AAGjF,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAExB;IACA;IACA;IACA;IAJnB,YACmB,2BAAwD,EACxD,qBAA4C,EAC5C,kBAAsC,EACtC,kBAAsC;QAHtC,gCAA2B,GAA3B,2BAA2B,CAA6B;QACxD,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,uBAAkB,GAAlB,kBAAkB,CAAoB;IACtD,CAAC;IAIE,AAAN,KAAK,CAAC,sBAAsB,CACb,cAAsB,EAC3B,IAAuB;QAE/B,IAAI,CAAC;YACH,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;YAEhC,IAAI,aAMS,CAAC;YAEd,QAAQ,QAAQ,EAAE,CAAC;gBACjB,KAAK,mDAAoB,CAAC,MAAM;oBAC9B,aAAa,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;oBACjE,MAAM;gBAER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ant';
2
2
  export * from './constants/organization.settings.constant';
3
+ export * from './constants/repository-provider.constant';
3
4
  export * from './constants/settings-type.constant';
4
5
  export * from './decorators/organization.decorator';
5
6
  export * from './decorators/roles.decorator';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC"}
package/dist/index.js CHANGED
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./constants/organization.constant"), exports);
18
18
  __exportStar(require("./constants/organization.settings.constant"), exports);
19
+ __exportStar(require("./constants/repository-provider.constant"), exports);
19
20
  __exportStar(require("./constants/settings-type.constant"), exports);
20
21
  __exportStar(require("./decorators/organization.decorator"), exports);
21
22
  __exportStar(require("./decorators/roles.decorator"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,6EAA2D;AAC3D,qEAAmD;AACnD,sEAAoD;AACpD,+DAA6C;AAC7C,iEAA+C;AAC/C,0EAAwD;AACxD,sEAAoD;AACpD,8DAA4C;AAC5C,wDAAsC;AACtC,kEAAgD;AAChD,2EAAyD;AACzD,uEAAqD;AACrD,mEAAiD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,6EAA2D;AAC3D,2EAAyD;AACzD,qEAAmD;AACnD,sEAAoD;AACpD,+DAA6C;AAC7C,iEAA+C;AAC/C,0EAAwD;AACxD,sEAAoD;AACpD,8DAA4C;AAC5C,wDAAsC;AACtC,kEAAgD;AAChD,2EAAyD;AACzD,uEAAqD;AACrD,mEAAiD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/organization",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Organization Management Module for Venturial",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",