Skip to content

Commit 46a6a02

Browse files
Merge pull request #2 from typescript-package/develop
v1.0.0 - use proper location to data
2 parents 4ca11bf + 67d8dbe commit 46a6a02

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

src/lib/core-set.abstract.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Class.
2-
import { Data } from '../../../data/src/lib/data.class';
2+
import { Data } from '@typescript-package/data';
33
import { ImmutableSet } from './immutable-set.class';
44
// Abstract.
5-
import { DataCore } from '../../../data/src/lib/data-core.abstract';
5+
import { DataCore } from '@typescript-package/data';
66
import { SetOnHook } from './set-on-hook.abstract';
77
// Interface.
8-
import { SetTypeConstructor } from '../../../data/src/interface';
8+
import { SetTypeConstructor } from '@typescript-package/data';
99
// Type.
10-
import { DataConstructorInput } from '../../../data/src/type';
10+
import { DataConstructorInput } from '@typescript-package/data';
1111
// Constant: Symbol.
12-
import { SymbolValue } from '../../../data/src/lib/value.symbol';
12+
import { SymbolValue } from '@typescript-package/data';
1313
/**
1414
* @description The abstract core class for building customizable `Set` and `DataCore` related classes.
1515
* @export

src/lib/data-set.class.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Class.
2-
import { Data } from '../../../data/src/lib/data.class';
2+
import { Data } from '@typescript-package/data';
33
// Abstract.
44
import { CoreSet } from './core-set.abstract';
5-
import { DataCore } from '../../../data/src/lib/data-core.abstract';
5+
import { DataCore } from '@typescript-package/data';
66
// Interface.
7-
import { DataConstructorInput } from '../../../data/src/type';
7+
import { DataConstructorInput } from '@typescript-package/data';
88
/**
99
* @description The `DataSet` is a concrete class that extends `CoreSet` and encapsulates its data within a `DataCore` store, providing additional data management capabilities.
1010
* @export

src/lib/set-on-hook.abstract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Abstract.
2-
import { DataCore } from "../../../data/src/lib";
2+
import { DataCore } from "@typescript-package/data";
33
/**
44
* @description
55
* @export

src/public-api.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/*
22
* Public API Surface of set
33
*/
4+
export {
5+
// Abstract.
6+
CoreSet,
7+
SetOnHook,
48

5-
export * from './lib/set.service';
6-
export * from './lib/set.component';
9+
// Class.
10+
DataSet,
11+
ImmutableSet,
12+
} from './lib';

src/test/data-set.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Data, SymbolValue } from '../../../data/src/lib';
1+
import { Data, SymbolValue } from '@typescript-package/data';
22
import { DataSet } from "../lib";
33

44
// Define a `DataCore` implementation for holding a data in `DataSet`.

0 commit comments

Comments
 (0)