-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathindex.ts
More file actions
64 lines (63 loc) · 1.72 KB
/
index.ts
File metadata and controls
64 lines (63 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Object.hasOwn =
Object.hasOwn ||
/* istanbul ignore next */ function hasOwn(it, key) {
return Object.prototype.hasOwnProperty.call(it, key);
};
export type {
EndpointOptions,
EndpointInstance,
EndpointInstanceInterface,
EndpointExtendOptions,
} from './endpoint.js';
export * as schema from './schema.js';
// Without this we get 'cannot be named without a reference to' for resource()....why is this?
// Clue 1) It only happens with types mentioned in return types of other types
export type { Array, Invalidate, Collection, DefaultArgs } from './schema.js';
export { default as Entity } from './schemas/Entity.js';
export { default as EntityMixin } from './schemas/EntityMixin.js';
export { default as validateRequired } from './validateRequired.js';
export type {
EndpointInterface,
ReadEndpoint,
MutateEndpoint,
Schema,
IQueryDelegate,
INormalizeDelegate,
SnapshotInterface,
ExpiryStatusInterface,
SchemaSimple,
SchemaClass,
PolymorphicInterface,
Queryable,
Mergeable,
} from './interface.js';
export type { EntityFields } from './schemas/EntityFields.js';
export type {
AbstractInstanceType,
Normalize,
NormalizeNullable,
Denormalize,
DenormalizeNullable,
SchemaArgs,
ObjectArgs,
EntityMap,
RecordClass,
NormalizedNullableObject,
NormalizeObject,
NormalizedEntity,
DenormalizeObject,
DenormalizeNullableObject,
} from './normal.js';
export type {
EndpointExtraOptions,
FetchFunction,
ResolveType,
EndpointParam,
NetworkError,
UnknownError,
ErrorTypes,
EndpointToFunction,
} from './types.js';
export type { NI } from './NoInfer.js';
export { default as Endpoint, ExtendableEndpoint } from './endpoint.js';
export type { KeyofEndpointInstance } from './endpoint.js';