@abyss-project/main 43.0.0 → 43.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.
Files changed (166) hide show
  1. package/dist/api/index.d.ts +3 -0
  2. package/dist/api/index.js +3 -0
  3. package/dist/api/index.js.map +1 -1
  4. package/dist/api/oauth-application.admin.api.d.ts +2 -0
  5. package/dist/api/oauth-application.admin.api.js +9 -0
  6. package/dist/api/oauth-application.admin.api.js.map +1 -0
  7. package/dist/api/oauth-application.api.d.ts +9 -0
  8. package/dist/api/oauth-application.api.js +36 -0
  9. package/dist/api/oauth-application.api.js.map +1 -0
  10. package/dist/api/oauth-authorization-request.api.d.ts +6 -2
  11. package/dist/api/oauth-authorization-request.api.js +9 -1
  12. package/dist/api/oauth-authorization-request.api.js.map +1 -1
  13. package/dist/api/oauth-grant.api.d.ts +7 -0
  14. package/dist/api/oauth-grant.api.js +27 -0
  15. package/dist/api/oauth-grant.api.js.map +1 -0
  16. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +2 -2
  17. package/dist/billing-metric-label/billing-metric-label.labels.js +2 -2
  18. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  19. package/dist/constants/billing-catalog.constants.js +9 -3
  20. package/dist/constants/billing-catalog.constants.js.map +1 -1
  21. package/dist/constants/catalog-plan-quotas.constants.js +8 -11
  22. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  23. package/dist/constants/enforcement-registry.constants.js +6 -6
  24. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  25. package/dist/constants/index.d.ts +2 -0
  26. package/dist/constants/index.js +2 -0
  27. package/dist/constants/index.js.map +1 -1
  28. package/dist/constants/module-catalog.constants.d.ts +1 -0
  29. package/dist/constants/module-catalog.constants.js +10 -0
  30. package/dist/constants/module-catalog.constants.js.map +1 -1
  31. package/dist/constants/oauth-app.constants.d.ts +27 -0
  32. package/dist/constants/oauth-app.constants.js +47 -0
  33. package/dist/constants/oauth-app.constants.js.map +1 -0
  34. package/dist/constants/oauth-scope-catalogue.d.ts +216 -0
  35. package/dist/constants/oauth-scope-catalogue.js +3166 -0
  36. package/dist/constants/oauth-scope-catalogue.js.map +1 -0
  37. package/dist/constants/overage-base-rates.constants.js +0 -1
  38. package/dist/constants/overage-base-rates.constants.js.map +1 -1
  39. package/dist/constants/pack-catalog.constants.js +1 -0
  40. package/dist/constants/pack-catalog.constants.js.map +1 -1
  41. package/dist/constants/public-plans.constants.js +56 -104
  42. package/dist/constants/public-plans.constants.js.map +1 -1
  43. package/dist/constants/quota-metric-kind.constants.js +1 -2
  44. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  45. package/dist/constants/shared-allowance.constants.js +0 -1
  46. package/dist/constants/shared-allowance.constants.js.map +1 -1
  47. package/dist/constants/tests/billing-catalog.constants.spec.js +0 -47
  48. package/dist/constants/tests/billing-catalog.constants.spec.js.map +1 -1
  49. package/dist/constants/tests/module-catalog.constants.spec.js +1 -1
  50. package/dist/constants/tests/module-catalog.constants.spec.js.map +1 -1
  51. package/dist/constants/tests/oauth-app.constants.spec.d.ts +1 -0
  52. package/dist/constants/tests/oauth-app.constants.spec.js +89 -0
  53. package/dist/constants/tests/oauth-app.constants.spec.js.map +1 -0
  54. package/dist/constants/tests/oauth-scope-catalogue.spec.d.ts +1 -0
  55. package/dist/constants/tests/oauth-scope-catalogue.spec.js +210 -0
  56. package/dist/constants/tests/oauth-scope-catalogue.spec.js.map +1 -0
  57. package/dist/constants/tests/oauth-scope-positions.snapshot.d.ts +39 -0
  58. package/dist/constants/tests/oauth-scope-positions.snapshot.js +225 -0
  59. package/dist/constants/tests/oauth-scope-positions.snapshot.js.map +1 -0
  60. package/dist/constants/tests/pack-catalog.constants.spec.js +1 -1
  61. package/dist/constants/tests/pack-catalog.constants.spec.js.map +1 -1
  62. package/dist/index.d.ts +24 -0
  63. package/dist/index.js +24 -0
  64. package/dist/index.js.map +1 -1
  65. package/dist/permissions/ability.d.ts +1 -1
  66. package/dist/permissions/ability.js +2 -0
  67. package/dist/permissions/ability.js.map +1 -1
  68. package/dist/permissions/tests/ability.spec.js +17 -0
  69. package/dist/permissions/tests/ability.spec.js.map +1 -1
  70. package/dist/server/api-cors.util.d.ts +8 -0
  71. package/dist/server/api-cors.util.js +83 -1
  72. package/dist/server/api-cors.util.js.map +1 -1
  73. package/dist/server/index.d.ts +6 -0
  74. package/dist/server/index.js +6 -0
  75. package/dist/server/index.js.map +1 -1
  76. package/dist/server/oauth-access-token.util.d.ts +30 -0
  77. package/dist/server/oauth-access-token.util.js +116 -0
  78. package/dist/server/oauth-access-token.util.js.map +1 -0
  79. package/dist/server/oauth-claim-format.error.d.ts +4 -0
  80. package/dist/server/oauth-claim-format.error.js +19 -0
  81. package/dist/server/oauth-claim-format.error.js.map +1 -0
  82. package/dist/server/oauth-perimeter-claim.util.d.ts +14 -0
  83. package/dist/server/oauth-perimeter-claim.util.js +109 -0
  84. package/dist/server/oauth-perimeter-claim.util.js.map +1 -0
  85. package/dist/server/oauth-perimeter.util.d.ts +33 -0
  86. package/dist/server/oauth-perimeter.util.js +106 -0
  87. package/dist/server/oauth-perimeter.util.js.map +1 -0
  88. package/dist/server/oauth-route-access.util.d.ts +56 -0
  89. package/dist/server/oauth-route-access.util.js +65 -0
  90. package/dist/server/oauth-route-access.util.js.map +1 -0
  91. package/dist/server/oauth-scope-bits.util.d.ts +9 -0
  92. package/dist/server/oauth-scope-bits.util.js +82 -0
  93. package/dist/server/oauth-scope-bits.util.js.map +1 -0
  94. package/dist/server/tests/api-cors-dynamic.util.spec.d.ts +1 -0
  95. package/dist/server/tests/api-cors-dynamic.util.spec.js +220 -0
  96. package/dist/server/tests/api-cors-dynamic.util.spec.js.map +1 -0
  97. package/dist/server/tests/oauth-access-token.util.spec.d.ts +1 -0
  98. package/dist/server/tests/oauth-access-token.util.spec.js +166 -0
  99. package/dist/server/tests/oauth-access-token.util.spec.js.map +1 -0
  100. package/dist/server/tests/oauth-perimeter-claim.util.spec.d.ts +1 -0
  101. package/dist/server/tests/oauth-perimeter-claim.util.spec.js +148 -0
  102. package/dist/server/tests/oauth-perimeter-claim.util.spec.js.map +1 -0
  103. package/dist/server/tests/oauth-perimeter.util.spec.d.ts +1 -0
  104. package/dist/server/tests/oauth-perimeter.util.spec.js +327 -0
  105. package/dist/server/tests/oauth-perimeter.util.spec.js.map +1 -0
  106. package/dist/server/tests/oauth-route-access.util.spec.d.ts +1 -0
  107. package/dist/server/tests/oauth-route-access.util.spec.js +115 -0
  108. package/dist/server/tests/oauth-route-access.util.spec.js.map +1 -0
  109. package/dist/server/tests/oauth-scope-bits.util.spec.d.ts +1 -0
  110. package/dist/server/tests/oauth-scope-bits.util.spec.js +72 -0
  111. package/dist/server/tests/oauth-scope-bits.util.spec.js.map +1 -0
  112. package/dist/types/enum/api-error.enum.d.ts +4 -0
  113. package/dist/types/enum/api-error.enum.js +4 -0
  114. package/dist/types/enum/api-error.enum.js.map +1 -1
  115. package/dist/types/enum/index.d.ts +2 -0
  116. package/dist/types/enum/index.js +2 -0
  117. package/dist/types/enum/index.js.map +1 -1
  118. package/dist/types/enum/oauth-app.enum.d.ts +39 -0
  119. package/dist/types/enum/oauth-app.enum.js +48 -0
  120. package/dist/types/enum/oauth-app.enum.js.map +1 -0
  121. package/dist/types/enum/oauth-scope.enum.d.ts +74 -0
  122. package/dist/types/enum/oauth-scope.enum.js +86 -0
  123. package/dist/types/enum/oauth-scope.enum.js.map +1 -0
  124. package/dist/types/enum/organization-billing.enum.d.ts +1 -1
  125. package/dist/types/enum/organization-billing.enum.js +1 -1
  126. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  127. package/dist/types/enum/project-access-permission.enum.d.ts +2 -1
  128. package/dist/types/enum/project-access-permission.enum.js +1 -0
  129. package/dist/types/enum/project-access-permission.enum.js.map +1 -1
  130. package/dist/types/interface/api/index.d.ts +7 -0
  131. package/dist/types/interface/api/index.js +7 -0
  132. package/dist/types/interface/api/index.js.map +1 -1
  133. package/dist/types/interface/api/requests/index.d.ts +3 -0
  134. package/dist/types/interface/api/requests/index.js +3 -0
  135. package/dist/types/interface/api/requests/index.js.map +1 -1
  136. package/dist/types/interface/api/requests/oauth-application.request.d.ts +40 -0
  137. package/dist/types/interface/api/requests/oauth-application.request.js +3 -0
  138. package/dist/types/interface/api/requests/oauth-application.request.js.map +1 -0
  139. package/dist/types/interface/api/requests/oauth-authorization-request.request.d.ts +7 -0
  140. package/dist/types/interface/api/requests/oauth-grant.request.d.ts +14 -0
  141. package/dist/types/interface/api/requests/oauth-grant.request.js +3 -0
  142. package/dist/types/interface/api/requests/oauth-grant.request.js.map +1 -0
  143. package/dist/types/interface/api/requests/oauth-perimeter.request.d.ts +31 -0
  144. package/dist/types/interface/api/requests/oauth-perimeter.request.js +5 -0
  145. package/dist/types/interface/api/requests/oauth-perimeter.request.js.map +1 -0
  146. package/dist/types/interface/api/responses/index.d.ts +4 -0
  147. package/dist/types/interface/api/responses/index.js +4 -0
  148. package/dist/types/interface/api/responses/index.js.map +1 -1
  149. package/dist/types/interface/api/responses/oauth-application.response.d.ts +54 -0
  150. package/dist/types/interface/api/responses/oauth-application.response.js +3 -0
  151. package/dist/types/interface/api/responses/oauth-application.response.js.map +1 -0
  152. package/dist/types/interface/api/responses/oauth-authorization-request.response.d.ts +28 -2
  153. package/dist/types/interface/api/responses/oauth-grant.response.d.ts +40 -0
  154. package/dist/types/interface/api/responses/oauth-grant.response.js +3 -0
  155. package/dist/types/interface/api/responses/oauth-grant.response.js.map +1 -0
  156. package/dist/types/interface/api/responses/oauth-perimeter.response.d.ts +23 -0
  157. package/dist/types/interface/api/responses/oauth-perimeter.response.js +3 -0
  158. package/dist/types/interface/api/responses/oauth-perimeter.response.js.map +1 -0
  159. package/dist/types/interface/api/responses/oauth-userinfo.response.d.ts +8 -0
  160. package/dist/types/interface/api/responses/oauth-userinfo.response.js +3 -0
  161. package/dist/types/interface/api/responses/oauth-userinfo.response.js.map +1 -0
  162. package/dist/types/interface/api/responses/organization-billing.response.d.ts +1 -0
  163. package/dist/types/interface/api/responses/user-billing.response.d.ts +1 -0
  164. package/dist/types/interface/mcp/mcp-oauth.d.ts +2 -0
  165. package/dist/utils/abyss.utils.d.ts +1 -1
  166. package/package.json +17 -10
@@ -0,0 +1,54 @@
1
+ import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
2
+ import type { OAuthClientType } from '../../../enum/oauth-app.enum';
3
+ import type { IResponse } from '../type-message/response';
4
+ export interface IOAuthApplicationSummary {
5
+ id: string;
6
+ clientId: string;
7
+ name: string;
8
+ description: string | null;
9
+ homepageUrl: string | null;
10
+ clientType: OAuthClientType;
11
+ redirectUris: string[];
12
+ allowedOrigins: string[];
13
+ projectId: string;
14
+ connectedUserCount: number;
15
+ scopes: OAuthScopeName[];
16
+ connectedUserCountByScope: Partial<Record<OAuthScopeName, number>>;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ }
20
+ export interface ICreateOAuthApplicationData {
21
+ application: IOAuthApplicationSummary;
22
+ clientSecret: string | null;
23
+ }
24
+ export interface IListOAuthApplicationProjectData {
25
+ applications: IOAuthApplicationSummary[];
26
+ }
27
+ export type IListOAuthApplicationProjectResponse = IResponse<IListOAuthApplicationProjectData>;
28
+ export type ICreateOAuthApplicationProjectResponse = IResponse<ICreateOAuthApplicationData>;
29
+ export interface IGetOAuthApplicationData {
30
+ application: IOAuthApplicationSummary;
31
+ }
32
+ export type IGetOAuthApplicationResponse = IResponse<IGetOAuthApplicationData>;
33
+ export interface IUpdateOAuthApplicationData {
34
+ application: IOAuthApplicationSummary;
35
+ }
36
+ export type IUpdateOAuthApplicationResponse = IResponse<IUpdateOAuthApplicationData>;
37
+ export type IDeleteOAuthApplicationResponse = void;
38
+ export interface IRegenerateSecretOAuthApplicationData {
39
+ application: IOAuthApplicationSummary;
40
+ clientSecret: string;
41
+ }
42
+ export type IRegenerateSecretOAuthApplicationResponse = IResponse<IRegenerateSecretOAuthApplicationData>;
43
+ export interface IOAuthApplicationName {
44
+ clientId: string;
45
+ name: string;
46
+ }
47
+ export interface IListNamesOAuthApplicationData {
48
+ applications: IOAuthApplicationName[];
49
+ }
50
+ export type IListNamesOAuthApplicationResponse = IResponse<IListNamesOAuthApplicationData>;
51
+ export interface IListAllowedOriginsOAuthApplicationAdminData {
52
+ origins: string[];
53
+ }
54
+ export type IListAllowedOriginsOAuthApplicationAdminResponse = IResponse<IListAllowedOriginsOAuthApplicationAdminData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-application.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-application.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-application.response.ts"],"names":[],"mappings":""}
@@ -1,10 +1,36 @@
1
- import type { IMcpOAuthAuthorizationRequestView } from '../../mcp/mcp-oauth';
1
+ import type { OAuthAuthorizationPrompt, OAuthAuthorizationRequestKind, OAuthClientType } from '../../../enum/oauth-app.enum';
2
+ import type { IMcpOAuthAuthorizationRequestView, McpOAuthAuthorizationRequestStatus } from '../../mcp/mcp-oauth';
3
+ import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
4
+ import type { IOAuthGrantResource } from './oauth-grant.response';
2
5
  import type { IResponse } from '../type-message/response';
6
+ export interface IOAuthAppAuthorizationRequestView {
7
+ kind: OAuthAuthorizationRequestKind.APP;
8
+ id: string;
9
+ status: McpOAuthAuthorizationRequestStatus;
10
+ application: {
11
+ name: string;
12
+ ownerName: string;
13
+ organizationName: string;
14
+ homepageUrl: string | null;
15
+ clientType: OAuthClientType;
16
+ };
17
+ redirectHost: string;
18
+ redirectWarning: boolean;
19
+ scopes: string[];
20
+ missingScopes: string[];
21
+ grantedScopes: OAuthScopeName[];
22
+ perimeter: IOAuthGrantResource[];
23
+ prompt: OAuthAuthorizationPrompt | null;
24
+ }
3
25
  export interface IGetOAuthAuthorizationRequestData {
4
- request: IMcpOAuthAuthorizationRequestView;
26
+ request: IMcpOAuthAuthorizationRequestView | IOAuthAppAuthorizationRequestView;
5
27
  }
6
28
  export type IGetOAuthAuthorizationRequestResponse = IResponse<IGetOAuthAuthorizationRequestData>;
7
29
  export interface IDecideMcpOAuthAuthorizationRequestData {
8
30
  redirectTo: string;
9
31
  }
10
32
  export type IDecideMcpOAuthAuthorizationRequestResponse = IResponse<IDecideMcpOAuthAuthorizationRequestData>;
33
+ export interface ILoginRequiredOAuthAuthorizationRequestData {
34
+ redirectTo: string;
35
+ }
36
+ export type ILoginRequiredOAuthAuthorizationRequestResponse = IResponse<ILoginRequiredOAuthAuthorizationRequestData>;
@@ -0,0 +1,40 @@
1
+ import type { OAuthScopeName } from '../../../../constants/oauth-scope-catalogue';
2
+ import type { OAuthPerimeterUnit, OAuthService } from '../../../enum/oauth-scope.enum';
3
+ import type { IResponse } from '../type-message/response';
4
+ export interface IOAuthGrantResource {
5
+ id: string;
6
+ service: OAuthService;
7
+ unit: OAuthPerimeterUnit;
8
+ resourceId: string | null;
9
+ environmentIds: string[] | null;
10
+ label: string;
11
+ }
12
+ export interface IOAuthGrantSummary {
13
+ id: string;
14
+ application: {
15
+ id: string;
16
+ name: string;
17
+ ownerName: string;
18
+ organizationName: string;
19
+ homepageUrl: string | null;
20
+ };
21
+ scopes: OAuthScopeName[];
22
+ createdAt: Date;
23
+ lastUsedAt: Date | null;
24
+ }
25
+ export interface IOAuthGrantDetail extends IOAuthGrantSummary {
26
+ resources: IOAuthGrantResource[];
27
+ }
28
+ export interface IListOAuthGrantUserData {
29
+ grants: IOAuthGrantSummary[];
30
+ }
31
+ export type IListOAuthGrantUserResponse = IResponse<IListOAuthGrantUserData>;
32
+ export interface IGetOAuthGrantData {
33
+ grant: IOAuthGrantDetail;
34
+ removedResources: IOAuthGrantResource[];
35
+ unreachableServices: OAuthService[];
36
+ }
37
+ export type IGetOAuthGrantResponse = IResponse<IGetOAuthGrantData>;
38
+ export type IRevokeOAuthGrantResponse = void;
39
+ export type IRemoveScopeOAuthGrantResponse = void;
40
+ export type IRemoveResourceOAuthGrantResponse = void;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-grant.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-grant.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-grant.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import type { IOAuthPerimeterResourceInput, OAuthPerimeterCandidateUnit } from '../requests/oauth-perimeter.request';
2
+ import type { IResponse } from '../type-message/response';
3
+ export interface IOAuthPerimeterCandidate {
4
+ id: string | null;
5
+ name: string;
6
+ unit: OAuthPerimeterCandidateUnit;
7
+ parentId: string | null;
8
+ kind?: string;
9
+ isProduction?: boolean;
10
+ }
11
+ export interface IListOAuthPerimeterCandidatesData {
12
+ candidates: IOAuthPerimeterCandidate[];
13
+ nextCursor: string | null;
14
+ }
15
+ export type IListPerimeterCandidatesOAuthAuthorizationRequestResponse = IResponse<IListOAuthPerimeterCandidatesData>;
16
+ export type IListOAuthPerimeterCandidatesAdminResponse = IResponse<IListOAuthPerimeterCandidatesData>;
17
+ export interface IOAuthPerimeterResolvedEntry extends IOAuthPerimeterResourceInput {
18
+ label: string;
19
+ }
20
+ export interface IResolveOAuthPerimeterAdminData {
21
+ entries: IOAuthPerimeterResolvedEntry[];
22
+ }
23
+ export type IResolveOAuthPerimeterAdminResponse = IResponse<IResolveOAuthPerimeterAdminData>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-perimeter.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-perimeter.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-perimeter.response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface IOAuthUserInfoResponse {
2
+ sub: string;
3
+ name?: string;
4
+ preferred_username?: string;
5
+ picture?: string;
6
+ email?: string;
7
+ email_verified?: boolean;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=oauth-userinfo.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauth-userinfo.response.js","sourceRoot":"","sources":["../../../../../src/types/interface/api/responses/oauth-userinfo.response.ts"],"names":[],"mappings":""}
@@ -80,6 +80,7 @@ export interface ICheckQuotaOrganizationData {
80
80
  effectiveLimit?: number;
81
81
  capReached?: boolean;
82
82
  overageAllowed?: boolean;
83
+ limitUpdatedAt?: string | null;
83
84
  reason?: QuotaDenialReason;
84
85
  platformCap?: IPlatformCapState;
85
86
  ceilingLimit?: number;
@@ -107,6 +107,7 @@ export interface ICheckUserQuotaData {
107
107
  effectiveLimit?: number;
108
108
  capReached?: boolean;
109
109
  overageAllowed?: boolean;
110
+ limitUpdatedAt?: string | null;
110
111
  }
111
112
  export type ICheckUserQuotaResponse = IResponse<ICheckUserQuotaData>;
112
113
  export interface IListUserEurTransactionsData {
@@ -1,11 +1,13 @@
1
1
  import type { McpFunctionalScope, McpScopeType } from '../../enum/mcp.enum';
2
2
  import type { McpOAuthClientSource } from '../../enum/mcp-oauth.enum';
3
+ import type { OAuthAuthorizationRequestKind } from '../../enum/oauth-app.enum';
3
4
  export type McpOAuthAuthorizationRequestStatus = 'OPEN' | 'EXPIRED' | 'CONSUMED';
4
5
  export interface IMcpOAuthApprovedScope {
5
6
  scopeType: McpScopeType;
6
7
  scopeId: string | null;
7
8
  }
8
9
  export interface IMcpOAuthAuthorizationRequestView {
10
+ kind: OAuthAuthorizationRequestKind.MCP;
9
11
  id: string;
10
12
  client: {
11
13
  name: string;
@@ -1,2 +1,2 @@
1
1
  import { ActivatableService } from '../types';
2
- export declare const getServiceName: (service: ActivatableService) => "Abyss" | "Cloud" | "Crypt" | "Storage" | "Monitor" | "Memories" | "Banking" | "Odyssey" | "Spotlight" | "Form" | "Training" | "Console" | "Workspace" | "Extract" | "Beam" | "Link" | "Flow" | "Reflex" | undefined;
2
+ export declare const getServiceName: (service: ActivatableService) => "Form" | "Abyss" | "Cloud" | "Crypt" | "Storage" | "Monitor" | "Memories" | "Banking" | "Odyssey" | "Spotlight" | "Training" | "Console" | "Workspace" | "Extract" | "Beam" | "Link" | "Flow" | "Reflex" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "43.0.0",
3
+ "version": "43.2.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -42,6 +42,19 @@
42
42
  ]
43
43
  }
44
44
  },
45
+ "publishConfig": {
46
+ "main": "dist/index.js",
47
+ "types": "dist/index.d.ts"
48
+ },
49
+ "scripts": {
50
+ "lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
51
+ "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
52
+ "tsc": "tsc",
53
+ "build": "tsc -p tsconfig.build.json",
54
+ "dev": "tsc --watch",
55
+ "test": "jest",
56
+ "prepublishOnly": "tsc && node ../../scripts/check-sdk-surface.cjs"
57
+ },
45
58
  "repository": {
46
59
  "type": "git",
47
60
  "url": "https://gitlab.com/abyss-group"
@@ -61,6 +74,7 @@
61
74
  "byte-size": "^8.1.0",
62
75
  "date-fns": "^2.29.3",
63
76
  "dayjs": "^1.10.7",
77
+ "jsonwebtoken": "^9.0.0",
64
78
  "lodash": "^4.17.21",
65
79
  "lz-string": "^1.5.0",
66
80
  "reflect-metadata": "^0.1.13",
@@ -72,6 +86,7 @@
72
86
  "@types/express": "^4.17.21",
73
87
  "@types/express-serve-static-core": "^4.17.28",
74
88
  "@types/jest": "^29.5.5",
89
+ "@types/jsonwebtoken": "^9.0.1",
75
90
  "@types/lodash": "^4.14.177",
76
91
  "@types/node": "^20.11.0",
77
92
  "@types/uuid": "^9.0.0",
@@ -90,13 +105,5 @@
90
105
  "sequelize-cli": "^6.2.0",
91
106
  "ts-jest": "^29.1.1",
92
107
  "typescript": "5.9.3"
93
- },
94
- "scripts": {
95
- "lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
96
- "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
97
- "tsc": "tsc",
98
- "build": "tsc -p tsconfig.build.json",
99
- "dev": "tsc --watch",
100
- "test": "jest"
101
108
  }
102
- }
109
+ }