forked from rocicorp/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.ts
More file actions
137 lines (137 loc) · 4.16 KB
/
mod.ts
File metadata and controls
137 lines (137 loc) · 4.16 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
export type {VersionNotSupportedResponse} from '../../replicache/src/error-responses.ts';
export {getDefaultPuller} from '../../replicache/src/get-default-puller.ts';
export type {HTTPRequestInfo} from '../../replicache/src/http-request-info.ts';
export {IDBNotFoundError} from '../../replicache/src/kv/idb-store.ts';
export type {
CreateStore as CreateKVStore,
Read as KVRead,
Store as KVStore,
Write as KVWrite,
} from '../../replicache/src/kv/store.ts';
export {
dropAllDatabases,
dropDatabase,
} from '../../replicache/src/persist/collect-idb-databases.ts';
export {makeIDBName} from '../../replicache/src/replicache.ts';
export type {ClientGroupID, ClientID} from '../../replicache/src/sync/ids.ts';
export {TransactionClosedError} from '../../replicache/src/transaction-closed-error.ts';
export type {
JSONObject,
JSONValue,
ReadonlyJSONObject,
ReadonlyJSONValue,
} from '../../shared/src/json.ts';
export type {MaybePromise} from '../../shared/src/types.ts';
export type {
AST,
Bound,
ColumnReference,
CompoundKey,
Condition,
Conjunction,
CorrelatedSubquery,
CorrelatedSubqueryCondition,
CorrelatedSubqueryConditionOperator,
Disjunction,
EqualityOps,
InOps,
LikeOps,
LiteralReference,
LiteralValue,
Ordering,
OrderOps,
OrderPart,
Parameter,
SimpleCondition,
SimpleOperator,
ValuePosition,
} from '../../zero-protocol/src/ast.ts';
export {ErrorKind} from '../../zero-protocol/src/error-kind.ts';
export {relationships} from '../../zero-schema/src/builder/relationship-builder.ts';
export {
createSchema,
type Schema,
} from '../../zero-schema/src/builder/schema-builder.ts';
export {
boolean,
enumeration,
json,
number,
string,
table,
type ColumnBuilder,
type TableBuilderWithColumns,
} from '../../zero-schema/src/builder/table-builder.ts';
export type {
AssetPermissions as CompiledAssetPermissions,
PermissionsConfig as CompiledPermissionsConfig,
Policy as CompiledPermissionsPolicy,
Rule as CompiledPermissionsRule,
} from '../../zero-schema/src/compiled-permissions.ts';
export {
ANYONE_CAN,
ANYONE_CAN_DO_ANYTHING,
definePermissions,
NOBODY_CAN,
} from '../../zero-schema/src/permissions.ts';
export type {
AssetPermissions,
PermissionRule,
PermissionsConfig,
} from '../../zero-schema/src/permissions.ts';
export {type TableSchema} from '../../zero-schema/src/table-schema.ts';
export type {
EnumSchemaValue,
SchemaValue,
SchemaValueWithCustomType,
ValueType,
} from '../../zero-schema/src/table-schema.ts';
export type {Change} from '../../zql/src/ivm/change.ts';
export type {Node} from '../../zql/src/ivm/data.ts';
export type {Input, Output} from '../../zql/src/ivm/operator.ts';
export type {Stream} from '../../zql/src/ivm/stream.ts';
export {
applyChange,
type ViewChange,
} from '../../zql/src/ivm/view-apply-change.ts';
export type {Entry, Format, View, ViewFactory} from '../../zql/src/ivm/view.ts';
export type {
DeleteID,
InsertValue,
ServerTransaction,
Transaction,
UpdateValue,
UpsertValue,
} from '../../zql/src/mutate/custom.ts';
export {escapeLike} from '../../zql/src/query/escape-like.ts';
export type {
ExpressionBuilder,
ExpressionFactory,
} from '../../zql/src/query/expression.ts';
export type {
HumanReadable,
Query,
Row,
RunOptions,
} from '../../zql/src/query/query.ts';
export {DEFAULT_TTL, type TTL} from '../../zql/src/query/ttl.ts';
export type {ResultType, TypedView} from '../../zql/src/query/typed-view.ts';
export type {BatchMutator, DBMutator, TableMutator} from './client/crud.ts';
export type {
CustomMutatorDefs,
CustomMutatorImpl,
MakeCustomMutatorInterface,
MakeCustomMutatorInterfaces,
PromiseWithServerResult,
} from './client/custom.ts';
export type {
Inspector,
Client as InspectorClient,
ClientGroup as InspectorClientGroup,
Query as InspectorQuery,
} from './client/inspector/types.ts';
export {OnErrorKind} from './client/on-error-kind.ts';
export type {OnError, OnErrorParameters} from './client/on-error.ts';
export type {UpdateNeededReason, ZeroOptions} from './client/options.ts';
export {UpdateNeededReasonType} from './client/update-needed-reason-type.ts';
export {Zero, type MakeEntityQueriesFromSchema} from './client/zero.ts';