Skip to content

Commit a0f31d8

Browse files
authored
feat: export data types for customization (#25)(@gavar)
* export data types for customization make DATA_TYPE accessible to library consumers to allow providing custom types as necessary * ci: fix GH actions/cache deprecation notice
1 parent 0b5046f commit a0f31d8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/push.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/setup-node@v2
1212
with:
1313
node-version: '18'
14-
- uses: actions/cache@v2
14+
- uses: actions/cache@v4
1515
id: yarn-cache
1616
with:
1717
path: node_modules
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/setup-node@v2
4848
with:
4949
node-version: '18'
50-
- uses: actions/cache@v2
50+
- uses: actions/cache@v4
5151
id: yarn-cache
5252
with:
5353
path: node_modules
@@ -73,7 +73,7 @@ jobs:
7373
uses: actions/setup-node@v2
7474
with:
7575
node-version: '18'
76-
- uses: actions/cache@v2
76+
- uses: actions/cache@v4
7777
id: yarn-cache
7878
with:
7979
path: node_modules

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ import { Database } from './Database.js';
7777
*/
7878
import { Resource } from './Resource.js';
7979

80+
export { DATA_TYPES } from './utils/data-types.js';
8081
export { Resource } from './Resource.js';
8182
export { Database } from './Database.js';
8283

0 commit comments

Comments
 (0)