@kumori/aurora-backend-handler 1.0.0 → 1.0.1

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.
@@ -1,5 +1,5 @@
1
1
 
2
- import { Account, Notification } from "@hestekumori/aurora-interfaces";
2
+ import { Account, Notification } from "@kumori/aurora-interfaces";
3
3
  import {
4
4
  initializeGlobalWebSocketClient,
5
5
  getWebSocketStatus,
@@ -10,7 +10,7 @@ import {
10
10
  ComponentSpec as ComponentSpecDSL,
11
11
  ServiceSpec as ServiceSpecDSL,
12
12
  } from "@kumori/kumori-dsl-generator";
13
- import { MarketplaceService, Resource, Service } from "@hestekumori/aurora-interfaces";
13
+ import { MarketplaceService, Resource, Service } from "@kumori/aurora-interfaces";
14
14
 
15
15
  export type ResourceBundle =
16
16
  | { secret: { name: string; configResource: string } }
@@ -1,5 +1,5 @@
1
1
 
2
- import { Environment, Notification } from "@hestekumori/aurora-interfaces";
2
+ import { Environment, Notification } from "@kumori/aurora-interfaces";
3
3
  import { eventHelper } from "../backend-handler";
4
4
  import {
5
5
  initializeGlobalWebSocketClient,
@@ -1,4 +1,4 @@
1
- import { Link, MarketplaceItem, MarketplaceService, Notification, Service } from "@hestekumori/aurora-interfaces";
1
+ import { Link, MarketplaceItem, MarketplaceService, Notification, Service } from "@kumori/aurora-interfaces";
2
2
  import { eventHelper } from "../backend-handler";
3
3
  import { environment } from "../environment";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Environment } from "@hestekumori/aurora-interfaces";
1
+ import { Environment } from "@kumori/aurora-interfaces";
2
2
  import { makeGlobalWebSocketRequest } from "../websocket-manager";
3
3
 
4
4
  export const getReporting = async (env: Environment) => {
@@ -1,4 +1,4 @@
1
- import { Notification, Resource } from "@hestekumori/aurora-interfaces";
1
+ import { Notification, Resource } from "@kumori/aurora-interfaces";
2
2
  import { eventHelper } from "../backend-handler";
3
3
 
4
4
  import {
@@ -6,7 +6,7 @@ import {
6
6
  getWebSocketStatus,
7
7
  makeGlobalWebSocketRequest,
8
8
  } from "../websocket-manager";
9
- import { Link, Notification, Service } from "@hestekumori/aurora-interfaces";
9
+ import { Link, Notification, Service } from "@kumori/aurora-interfaces";
10
10
  let pendingLinks = new Map<string, Link[]>();
11
11
  /**
12
12
  * Function to deploy a service
@@ -1,4 +1,4 @@
1
- import { Notification, Registry, Tenant, tenantRole } from "@hestekumori/aurora-interfaces";
1
+ import { Notification, Registry, Tenant, tenantRole } from "@kumori/aurora-interfaces";
2
2
  import { eventHelper } from "../backend-handler";
3
3
  import { environment } from "../environment";
4
4
  import {
@@ -4,7 +4,7 @@ import {
4
4
  makeGlobalWebSocketRequest,
5
5
  } from "../websocket-manager.ts";
6
6
  import { environment } from "../environment.ts";
7
- import { Account, Container, Environment, Instance, MarketplaceItem, Notification, Organization, Platform, Registry, Resource, Service, Tenant, User, UserData } from "@hestekumori/aurora-interfaces";
7
+ import { Account, Container, Environment, Instance, MarketplaceItem, Notification, Organization, Platform, Registry, Resource, Service, Tenant, User, UserData } from "@kumori/aurora-interfaces";
8
8
 
9
9
  type Security = string;
10
10
 
@@ -52,7 +52,7 @@ import {
52
52
  updateResource,
53
53
  } from "./api/resources-api-service";
54
54
  import { getPlanProviders } from './api/planProvider-api-service';
55
- import { Account, Environment, Link, MarketplaceService, Notification, Organization, Resource, Service, Tenant, tenantRole, UserData } from "@hestekumori/aurora-interfaces";
55
+ import { Account, Environment, Link, MarketplaceService, Notification, Organization, Resource, Service, Tenant, tenantRole, UserData } from "@kumori/aurora-interfaces";
56
56
 
57
57
  export let eventHelper: EventHelper;
58
58
  const token =
package/event-helper.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Account, Environment, Link, MarketplaceItem, MarketplaceService, Organization, PlanProvider, Registry, Tenant, tenantRole, User, Service, Notification, Resource } from "@hestekumori/aurora-interfaces";
1
+ import { Account, Environment, Link, MarketplaceItem, MarketplaceService, Organization, PlanProvider, Registry, Tenant, tenantRole, User, Service, Notification, Resource } from "@kumori/aurora-interfaces";
2
2
  import { EventNames } from "./event-names";
3
3
  export interface RegistryUpdatePayload {
4
4
  tenant: Tenant;
@@ -1,4 +1,4 @@
1
- import { Account, Notification } from "@hestekumori/aurora-interfaces";
1
+ import { Account, Notification } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
  interface HandleAccountEventParams {
@@ -1,4 +1,4 @@
1
- import { Account, Environment, Notification } from "@hestekumori/aurora-interfaces";
1
+ import { Account, Environment, Notification } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- import { Link, Service } from "@hestekumori/aurora-interfaces";
1
+ import { Link, Service } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
  interface HandleLinkEventParams {
@@ -1,4 +1,4 @@
1
- import { Plan, UserData } from "@hestekumori/aurora-interfaces";
1
+ import { Plan, UserData } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
  interface HandlePlanInstanceEventParams {
@@ -1,5 +1,5 @@
1
1
 
2
- import { Registry, Tenant } from "@hestekumori/aurora-interfaces";
2
+ import { Registry, Tenant } from "@kumori/aurora-interfaces";
3
3
  import { decodeRegistryAuth } from "../utils/utils";
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { Resource, Tenant } from "@hestekumori/aurora-interfaces";
2
+ import { Resource, Tenant } from "@kumori/aurora-interfaces";
3
3
  import { decodeRegistryAuth } from "../utils/utils";
4
4
 
5
5
 
@@ -1,5 +1,5 @@
1
1
 
2
- import { Account, Container, Environment, Instance, Resource, Service, Usage } from "@hestekumori/aurora-interfaces";
2
+ import { Account, Container, Environment, Instance, Resource, Service, Usage } from "@kumori/aurora-interfaces";
3
3
  import { convertToGigabytes, getTimestamp } from "../utils/utils";
4
4
 
5
5
  interface Role {
@@ -1,5 +1,5 @@
1
1
 
2
- import { Channel, Service, Tenant, Usage } from "@hestekumori/aurora-interfaces";
2
+ import { Channel, Service, Tenant, Usage } from "@kumori/aurora-interfaces";
3
3
  import { getTimestamp } from "../utils/utils";
4
4
 
5
5
  interface Role {
@@ -1,5 +1,5 @@
1
1
 
2
- import { Tenant, tenantRole, User, UserData } from "@hestekumori/aurora-interfaces";
2
+ import { Tenant, tenantRole, User, UserData } from "@kumori/aurora-interfaces";
3
3
  import { parseKeyPath } from "../utils/utils";
4
4
 
5
5
  export const handleTenantEvent: (
@@ -1,4 +1,4 @@
1
- import { ClusterToken, Token, UserData } from "@hestekumori/aurora-interfaces";
1
+ import { ClusterToken, Token, UserData } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
  interface HandleTokenEventParams {
@@ -1,4 +1,4 @@
1
- import { Notification, Plan, Tenant, UserData } from "@hestekumori/aurora-interfaces";
1
+ import { Notification, Plan, Tenant, UserData } from "@kumori/aurora-interfaces";
2
2
 
3
3
 
4
4
 
package/package.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "test": "jest --config jest.config.ts"
4
4
  },
5
5
  "dependencies": {
6
- "@hestekumori/aurora-interfaces": "^1.0.17",
7
6
  "@jest/globals": "^29.7.0",
7
+ "@kumori/aurora-interfaces": "^1.0.0",
8
8
  "@kumori/kumori-dsl-generator": "^1.0.3",
9
9
  "@kumori/kumori-module-generator": "^1.1.6",
10
10
  "jest": "^29.7.0",
@@ -23,7 +23,7 @@
23
23
  "ws": "^8.18.2"
24
24
  },
25
25
  "name": "@kumori/aurora-backend-handler",
26
- "version": "1.0.0",
26
+ "version": "1.0.1",
27
27
  "description": "backend handler",
28
28
  "main": "backend-handler.ts",
29
29
  "repository": {
@@ -12,7 +12,7 @@ import {
12
12
  getMarketplaceItems,
13
13
  } from "../api/marketplace-api-service";
14
14
  import { BackendHandler } from "../backend-handler";
15
- import { Account, Tenant, UserData, Environment, Service, MarketplaceService } from "@hestekumori/aurora-interfaces";
15
+ import { Account, Tenant, UserData, Environment, Service, MarketplaceService } from "@kumori/aurora-interfaces";
16
16
 
17
17
  jest.mock("../event-helper", () => {
18
18
  return jest.fn().mockImplementation((globalEventHandler) => {
@@ -1,4 +1,4 @@
1
- import { Service } from "@hestekumori/aurora-interfaces";
1
+ import { Service } from "@kumori/aurora-interfaces";
2
2
  import {
3
3
  withDefaultValue,
4
4
  handleParametersToGenerateData,
@@ -1,6 +1,6 @@
1
1
  import { v7 as uuidv7 } from "uuid";
2
2
  import { environment } from "./environment";
3
- import { Account, Channel, ClusterToken, Environment, Instance, Link, MarketplaceService, Notification, Organization, Plan, PlanProvider, Platform, Registry, Resource, Service, Tenant, tenantRole, Token, Usage, User, UserData } from "@hestekumori/aurora-interfaces";
3
+ import { Account, Channel, ClusterToken, Environment, Instance, Link, MarketplaceService, Notification, Organization, Plan, PlanProvider, Platform, Registry, Resource, Service, Tenant, tenantRole, Token, Usage, User, UserData } from "@kumori/aurora-interfaces";
4
4
  import { loadMarketplaceItemsForTenant } from "./api/marketplace-api-service";
5
5
  import { getReporting } from "./api/reporting-api-service";
6
6
  import { parseKeyPath } from "./utils/utils";