basyx-typescript-sdk 0.0.1 → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  import type { AssetAdministrationShell, AssetInformation, Reference } from '@aas-core-works/aas-core3.0-typescript/types';
2
- import { AssetinformationThumbnailBody } from '@/generated/aas-repository/types.gen';
3
- import { GetAllAssetAdministrationShellsResponse, getAllSubmodelReferencesResponse } from '@/models/aas-repository';
2
+ import { AssetinformationThumbnailBody } from '../generated/aas-repository/types.gen';
3
+ import { GetAllAssetAdministrationShellsResponse, getAllSubmodelReferencesResponse } from '../models/aas-repository';
4
4
  export declare class AasRepositoryClient {
5
5
  /**
6
6
  * Returns all Asset Administration Shells
@@ -43,9 +43,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  };
44
44
  Object.defineProperty(exports, "__esModule", { value: true });
45
45
  exports.AasRepositoryClient = void 0;
46
- const AasRepository = __importStar(require("@/generated/aas-repository"));
47
- const convertAasTypes_1 = require("@/lib/convertAasTypes");
48
- const createAasRepoClient_1 = require("@/lib/createAasRepoClient");
46
+ const AasRepository = __importStar(require("../generated/aas-repository"));
47
+ const convertAasTypes_1 = require("../lib/convertAasTypes");
48
+ const createAasRepoClient_1 = require("../lib/createAasRepoClient");
49
49
  class AasRepositoryClient {
50
50
  /**
51
51
  * Returns all Asset Administration Shells
@@ -1,5 +1,5 @@
1
- import type { AssetAdministrationShell as ApiAssetAdministrationShell, AssetInformation as ApiAssetInformation, Reference as ApiReference } from '@/generated/aas-repository/types.gen';
2
1
  import type { AssetAdministrationShell as CoreAssetAdministrationShell, AssetInformation as CoreAssetInformation, Reference as CoreReference } from '@aas-core-works/aas-core3.0-typescript/types';
2
+ import type { AssetAdministrationShell as ApiAssetAdministrationShell, AssetInformation as ApiAssetInformation, Reference as ApiReference } from '../generated/aas-repository/types.gen';
3
3
  /**
4
4
  * Convert an API AssetAdministrationShell to a Core Works AssetAdministrationShell
5
5
  *
@@ -1,5 +1,5 @@
1
- import type { PagedResultPagingMetadata } from '@/generated/aas-repository/types.gen';
2
1
  import type { AssetAdministrationShell, Reference } from '@aas-core-works/aas-core3.0-typescript/types';
2
+ import type { PagedResultPagingMetadata } from '../generated/aas-repository/types.gen';
3
3
  export interface GetAllAssetAdministrationShellsResponse {
4
4
  pagedResult: PagedResultPagingMetadata | undefined;
5
5
  result: AssetAdministrationShell[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basyx-typescript-sdk",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "BaSyx TypeScript SDK for developing applications and components for the Asset Administration Shell (AAS)",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://github.com/eclipse-basyx/basyx-typescript-sdk.git",
@@ -3,8 +3,8 @@ import type {
3
3
  AssetInformation,
4
4
  Reference,
5
5
  } from '@aas-core-works/aas-core3.0-typescript/types';
6
- import * as AasRepository from '@/generated/aas-repository';
7
- import { AssetinformationThumbnailBody } from '@/generated/aas-repository/types.gen';
6
+ import * as AasRepository from '../generated/aas-repository';
7
+ import { AssetinformationThumbnailBody } from '../generated/aas-repository/types.gen';
8
8
  import {
9
9
  convertApiAasToCoreAas,
10
10
  convertApiAssetInformationToCoreAssetInformation,
@@ -12,9 +12,9 @@ import {
12
12
  convertCoreAasToApiAas,
13
13
  convertCoreAssetInformationToApiAssetInformation,
14
14
  convertCoreReferenceToApiReference,
15
- } from '@/lib/convertAasTypes';
16
- import { createCustomClient } from '@/lib/createAasRepoClient';
17
- import { GetAllAssetAdministrationShellsResponse, getAllSubmodelReferencesResponse } from '@/models/aas-repository';
15
+ } from '../lib/convertAasTypes';
16
+ import { createCustomClient } from '../lib/createAasRepoClient';
17
+ import { GetAllAssetAdministrationShellsResponse, getAllSubmodelReferencesResponse } from '../models/aas-repository';
18
18
 
19
19
  export class AasRepositoryClient {
20
20
  /**
@@ -1,13 +1,13 @@
1
- import type {
2
- AssetAdministrationShell as ApiAssetAdministrationShell,
3
- AssetInformation as ApiAssetInformation,
4
- Reference as ApiReference,
5
- } from '@/generated/aas-repository/types.gen';
6
1
  import type {
7
2
  AssetAdministrationShell as CoreAssetAdministrationShell,
8
3
  AssetInformation as CoreAssetInformation,
9
4
  Reference as CoreReference,
10
5
  } from '@aas-core-works/aas-core3.0-typescript/types';
6
+ import type {
7
+ AssetAdministrationShell as ApiAssetAdministrationShell,
8
+ AssetInformation as ApiAssetInformation,
9
+ Reference as ApiReference,
10
+ } from '../generated/aas-repository/types.gen';
11
11
  import { jsonization } from '@aas-core-works/aas-core3.0-typescript';
12
12
 
13
13
  /**
@@ -1,5 +1,5 @@
1
- import type { PagedResultPagingMetadata } from '@/generated/aas-repository/types.gen';
2
1
  import type { AssetAdministrationShell, Reference } from '@aas-core-works/aas-core3.0-typescript/types';
2
+ import type { PagedResultPagingMetadata } from '../generated/aas-repository/types.gen';
3
3
 
4
4
  export interface GetAllAssetAdministrationShellsResponse {
5
5
  pagedResult: PagedResultPagingMetadata | undefined;