Skip to content

Commit 2e1957f

Browse files
Merge pull request #69 from shiftcode/#65-export-types
fix(public-api): export expression types
2 parents 99bd31f + 1de7664 commit 2e1957f

File tree

5 files changed

+30
-9
lines changed

5 files changed

+30
-9
lines changed

src/dynamo/expression/index.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
export * from './logical-operator/and.function'
2-
export * from './logical-operator/or.function'
3-
export * from './logical-operator/not.function'
4-
export * from './logical-operator/attribute.function'
5-
export * from './logical-operator/update.function'
6-
export * from './type/condition-operator.type'
1+
export * from './logical-operator'
2+
export * from './type'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * from './and.function'
2+
export * from './attribute.function'
3+
export * from './not.function'
4+
export * from './or.function'
5+
export * from './update.function'

src/dynamo/expression/logical-operator/update.function.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '../type/update-expression-definition-chain'
77

88
/**
9-
* Use this method when accesing a top level attribute of a model
9+
* Use this method when accessing a top level attribute of a model
1010
*/
1111
export function update2<T, K extends keyof T>(
1212
modelConstructor: ModelConstructor<T>,
@@ -16,7 +16,7 @@ export function update2<T, K extends keyof T>(
1616
}
1717

1818
/**
19-
* Use this method when accesing a top level attribute of a model
19+
* Use this method when accessing a top level attribute of a model
2020
*/
2121
export function update<T>(attributePath: keyof T): UpdateExpressionDefinitionChain
2222

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
export * from './comparator-operator.type'
2+
export * from './condition-expression-chain'
3+
export * from './condition-expression-definition-chain'
4+
export * from './condition-expression-definition-function'
5+
export * from './condition-operator.type'
6+
export * from './condition-operator-alias.type'
7+
export * from './condition-operator-to-alias-map.const'
8+
export * from './expression.type'
9+
export * from './expression-type.type'
10+
export * from './function-operator.type'
11+
export * from './request-condition-function'
12+
export * from './sort-key-condition-function'
13+
export * from './sort-key-condition-function.type'
14+
export * from './update-action.type'
15+
export * from './update-action-def'
16+
export * from './update-action-defs.const'
17+
export * from './update-expression.type'
18+
export * from './update-expression-definition-chain'
19+
export * from './update-expression-definition-function'

src/dynamo/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
export * from './batchget'
12
export * from './expression'
23
export * from './paged'
34
export * from './request'
45
export * from './dynamo-rx'
56
export * from './dynamo-store'
7+
export * from './primary-key.type'
68
export * from './session-validity-ensurer.type'
7-
export * from './batchget'
89
export * from './table-name-resolver.type'

0 commit comments

Comments
 (0)