@confect/server 9.0.0-next.0 → 9.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +299 -4
- package/dist/ActionCtx.d.ts +4 -11
- package/dist/ActionCtx.d.ts.map +1 -1
- package/dist/ActionCtx.js +1 -1
- package/dist/ActionCtx.js.map +1 -1
- package/dist/ActionRunner.d.ts +8 -13
- package/dist/ActionRunner.d.ts.map +1 -1
- package/dist/ActionRunner.js +4 -3
- package/dist/ActionRunner.js.map +1 -1
- package/dist/Auth.d.ts +17 -23
- package/dist/Auth.d.ts.map +1 -1
- package/dist/Auth.js +5 -1
- package/dist/Auth.js.map +1 -1
- package/dist/BlobNotFoundError.d.ts +6 -12
- package/dist/BlobNotFoundError.d.ts.map +1 -1
- package/dist/BlobNotFoundError.js +1 -1
- package/dist/BlobNotFoundError.js.map +1 -1
- package/dist/ConvexConfigProvider.d.ts +2 -9
- package/dist/ConvexConfigProvider.d.ts.map +1 -1
- package/dist/ConvexConfigProvider.js +6 -1
- package/dist/ConvexConfigProvider.js.map +1 -1
- package/dist/CronJob.d.ts +12 -19
- package/dist/CronJob.d.ts.map +1 -1
- package/dist/CronJob.js +1 -1
- package/dist/CronJob.js.map +1 -1
- package/dist/CronJobs.d.ts +11 -18
- package/dist/CronJobs.d.ts.map +1 -1
- package/dist/CronJobs.js +11 -4
- package/dist/CronJobs.js.map +1 -1
- package/dist/DataModel.d.ts +24 -29
- package/dist/DataModel.d.ts.map +1 -1
- package/dist/DatabaseReader.d.ts +4323 -64
- package/dist/DatabaseReader.d.ts.map +1 -1
- package/dist/DatabaseReader.js +6 -6
- package/dist/DatabaseReader.js.map +1 -1
- package/dist/DatabaseSchema.d.ts +38 -130
- package/dist/DatabaseSchema.d.ts.map +1 -1
- package/dist/DatabaseSchema.js +20 -30
- package/dist/DatabaseSchema.js.map +1 -1
- package/dist/DatabaseWriter.d.ts +38 -42
- package/dist/DatabaseWriter.d.ts.map +1 -1
- package/dist/DatabaseWriter.js +8 -5
- package/dist/DatabaseWriter.js.map +1 -1
- package/dist/Document.d.ts +28 -37
- package/dist/Document.d.ts.map +1 -1
- package/dist/Document.js +5 -1
- package/dist/Document.js.map +1 -1
- package/dist/FunctionImpl.d.ts +30 -29
- package/dist/FunctionImpl.d.ts.map +1 -1
- package/dist/FunctionImpl.js +25 -14
- package/dist/FunctionImpl.js.map +1 -1
- package/dist/GroupImpl.d.ts +45 -41
- package/dist/GroupImpl.d.ts.map +1 -1
- package/dist/GroupImpl.js +42 -35
- package/dist/GroupImpl.js.map +1 -1
- package/dist/Handler.d.ts +34 -40
- package/dist/Handler.d.ts.map +1 -1
- package/dist/HttpApi.d.ts +21 -25
- package/dist/HttpApi.d.ts.map +1 -1
- package/dist/HttpApi.js +11 -6
- package/dist/HttpApi.js.map +1 -1
- package/dist/MutationCtx.d.ts +4 -11
- package/dist/MutationCtx.d.ts.map +1 -1
- package/dist/MutationCtx.js +1 -1
- package/dist/MutationCtx.js.map +1 -1
- package/dist/MutationRunner.d.ts +8 -13
- package/dist/MutationRunner.d.ts.map +1 -1
- package/dist/MutationRunner.js +4 -3
- package/dist/MutationRunner.js.map +1 -1
- package/dist/OrderedQuery.d.ts +16 -21
- package/dist/OrderedQuery.d.ts.map +1 -1
- package/dist/OrderedQuery.js +4 -1
- package/dist/OrderedQuery.js.map +1 -1
- package/dist/QueryCtx.d.ts +4 -11
- package/dist/QueryCtx.d.ts.map +1 -1
- package/dist/QueryCtx.js +1 -1
- package/dist/QueryCtx.js.map +1 -1
- package/dist/QueryInitializer.d.ts +34 -39
- package/dist/QueryInitializer.d.ts.map +1 -1
- package/dist/QueryInitializer.js +5 -1
- package/dist/QueryInitializer.js.map +1 -1
- package/dist/QueryRunner.d.ts +8 -13
- package/dist/QueryRunner.d.ts.map +1 -1
- package/dist/QueryRunner.js +4 -3
- package/dist/QueryRunner.js.map +1 -1
- package/dist/RegisteredConvexFunction.d.ts +1107 -60
- package/dist/RegisteredConvexFunction.d.ts.map +1 -1
- package/dist/RegisteredConvexFunction.js +14 -9
- package/dist/RegisteredConvexFunction.js.map +1 -1
- package/dist/RegisteredFunction.d.ts +48 -64
- package/dist/RegisteredFunction.d.ts.map +1 -1
- package/dist/RegisteredFunction.js +9 -5
- package/dist/RegisteredFunction.js.map +1 -1
- package/dist/RegisteredFunctions.d.ts +48 -26
- package/dist/RegisteredFunctions.d.ts.map +1 -1
- package/dist/RegisteredFunctions.js +22 -9
- package/dist/RegisteredFunctions.js.map +1 -1
- package/dist/RegisteredNodeFunction.d.ts +4 -14
- package/dist/RegisteredNodeFunction.d.ts.map +1 -1
- package/dist/RegisteredNodeFunction.js +5 -4
- package/dist/RegisteredNodeFunction.js.map +1 -1
- package/dist/RegistryItem.d.ts +17 -27
- package/dist/RegistryItem.d.ts.map +1 -1
- package/dist/RegistryItem.js +1 -1
- package/dist/RegistryItem.js.map +1 -1
- package/dist/Scheduler.d.ts +16 -20
- package/dist/Scheduler.d.ts.map +1 -1
- package/dist/Scheduler.js +10 -6
- package/dist/Scheduler.js.map +1 -1
- package/dist/SchemaToValidator.d.ts +71 -64
- package/dist/SchemaToValidator.d.ts.map +1 -1
- package/dist/SchemaToValidator.js +15 -3
- package/dist/SchemaToValidator.js.map +1 -1
- package/dist/StorageActionWriter.d.ts +21 -28
- package/dist/StorageActionWriter.d.ts.map +1 -1
- package/dist/StorageActionWriter.js +4 -1
- package/dist/StorageActionWriter.js.map +1 -1
- package/dist/StorageReader.d.ts +14 -21
- package/dist/StorageReader.d.ts.map +1 -1
- package/dist/StorageReader.js +5 -1
- package/dist/StorageReader.js.map +1 -1
- package/dist/StorageWriter.d.ts +16 -23
- package/dist/StorageWriter.d.ts.map +1 -1
- package/dist/StorageWriter.js +4 -1
- package/dist/StorageWriter.js.map +1 -1
- package/dist/Table.d.ts +204 -197
- package/dist/Table.d.ts.map +1 -1
- package/dist/Table.js +72 -62
- package/dist/Table.js.map +1 -1
- package/dist/TableInfo.d.ts +35 -41
- package/dist/TableInfo.d.ts.map +1 -1
- package/dist/VectorSearch.d.ts +30 -35
- package/dist/VectorSearch.d.ts.map +1 -1
- package/dist/VectorSearch.js +3 -1
- package/dist/VectorSearch.js.map +1 -1
- package/dist/index.d.ts +35 -36
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -5
- package/dist/internal/utils.d.ts +9 -11
- package/dist/internal/utils.d.ts.map +1 -1
- package/dist/internal/utils.js +3 -1
- package/dist/internal/utils.js.map +1 -1
- package/dist/node.d.ts +2 -2
- package/dist/node.d.ts.map +1 -0
- package/dist/tsconfig.src.tsbuildinfo +1 -0
- package/package.json +50 -59
- package/src/ActionCtx.ts +1 -1
- package/src/ActionRunner.ts +2 -1
- package/src/Auth.ts +5 -1
- package/src/BlobNotFoundError.ts +1 -1
- package/src/ConvexConfigProvider.ts +6 -8
- package/src/CronJob.ts +1 -1
- package/src/CronJobs.ts +8 -10
- package/src/DatabaseReader.ts +18 -21
- package/src/DatabaseSchema.ts +38 -98
- package/src/DatabaseWriter.ts +13 -6
- package/src/Document.ts +5 -1
- package/src/FunctionImpl.ts +36 -44
- package/src/GroupImpl.ts +54 -81
- package/src/HttpApi.ts +8 -9
- package/src/MutationCtx.ts +1 -1
- package/src/MutationRunner.ts +2 -1
- package/src/OrderedQuery.ts +5 -1
- package/src/QueryCtx.ts +1 -1
- package/src/QueryInitializer.ts +15 -3
- package/src/QueryRunner.ts +2 -1
- package/src/RegisteredConvexFunction.ts +11 -7
- package/src/RegisteredFunction.ts +5 -1
- package/src/RegisteredFunctions.ts +69 -93
- package/src/RegisteredNodeFunction.ts +7 -6
- package/src/RegistryItem.ts +1 -1
- package/src/Scheduler.ts +5 -1
- package/src/SchemaToValidator.ts +14 -16
- package/src/StorageActionWriter.ts +4 -1
- package/src/StorageReader.ts +5 -1
- package/src/StorageWriter.ts +4 -1
- package/src/Table.ts +253 -132
- package/src/VectorSearch.ts +3 -1
- package/src/index.ts +0 -1
- package/src/internal/utils.ts +3 -1
- package/dist/Api.d.ts +0 -30
- package/dist/Api.d.ts.map +0 -1
- package/dist/Api.js +0 -26
- package/dist/Api.js.map +0 -1
- package/dist/GroupPath.d.ts +0 -8
- package/dist/GroupPath.d.ts.map +0 -1
- package/dist/GroupPath.js +0 -10
- package/dist/GroupPath.js.map +0 -1
- package/src/Api.ts +0 -75
- package/src/GroupPath.ts +0 -43
package/dist/Table.d.ts
CHANGED
|
@@ -1,247 +1,254 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare
|
|
10
|
-
|
|
1
|
+
import * as SystemFields from "@confect/core/SystemFields";
|
|
2
|
+
import { type SystemFields as ConvexSystemFields, type Expand, type GenericTableIndexes, type GenericTableSearchIndexes, type GenericTableVectorIndexes, type IndexTiebreakerField, type SearchIndexConfig, type TableDefinition, type VectorIndexConfig } from "convex/server";
|
|
3
|
+
import type { GenericValidator, Validator } from "convex/values";
|
|
4
|
+
import * as Schema from "effect/Schema";
|
|
5
|
+
import { type TableSchemaToTableValidator } from "./SchemaToValidator";
|
|
6
|
+
export declare const TypeId = "@confect/server/Table";
|
|
7
|
+
export type TypeId = typeof TypeId;
|
|
8
|
+
export declare const isTable: (u: unknown) => u is Any;
|
|
9
|
+
export declare const isUnnamedTable: (u: unknown) => u is UnnamedAny;
|
|
10
|
+
export interface Table<Name_ extends string, TableSchema_ extends Schema.Schema.AnyNoContext, TableValidator_ extends GenericValidator = TableSchemaToTableValidator<TableSchema_>, Indexes_ extends GenericTableIndexes = {}, SearchIndexes_ extends GenericTableSearchIndexes = {}, VectorIndexes_ extends GenericTableVectorIndexes = {}> {
|
|
11
|
+
readonly [TypeId]: TypeId;
|
|
12
|
+
readonly tableName: Name_;
|
|
13
|
+
readonly tableDefinition: TableDefinition<TableValidator_, Indexes_, SearchIndexes_, VectorIndexes_>;
|
|
14
|
+
readonly Fields: TableSchema_;
|
|
15
|
+
readonly Doc: SystemFields.ExtendWithSystemFields<Name_, TableSchema_>;
|
|
16
|
+
readonly indexes: Indexes_;
|
|
11
17
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
interface Table<Name_ extends string, TableSchema_ extends Schema.Schema.AnyNoContext, TableValidator_ extends GenericValidator = TableSchemaToTableValidator<TableSchema_>, Indexes_ extends GenericTableIndexes = {}, SearchIndexes_ extends GenericTableSearchIndexes = {}, VectorIndexes_ extends GenericTableVectorIndexes = {}> {
|
|
16
|
-
readonly [TypeId]: TypeId;
|
|
17
|
-
readonly tableDefinition: TableDefinition<TableValidator_, Indexes_, SearchIndexes_, VectorIndexes_>;
|
|
18
|
-
readonly name: Name_;
|
|
19
|
-
readonly Fields: TableSchema_;
|
|
20
|
-
readonly Doc: SystemFields$1.ExtendWithSystemFields<Name_, TableSchema_>;
|
|
21
|
-
readonly indexes: Indexes_;
|
|
22
|
-
index<IndexName extends string, FirstFieldPath extends ExtractFieldPaths<TableValidator_>, RestFieldPaths extends ExtractFieldPaths<TableValidator_>[]>(name: IndexName, fields: [FirstFieldPath, ...RestFieldPaths]): Table<Name_, TableSchema_, TableValidator_, Expand<Indexes_ & Record<IndexName, [FirstFieldPath, ...RestFieldPaths, IndexTiebreakerField]>>, SearchIndexes_, VectorIndexes_>;
|
|
23
|
-
searchIndex<IndexName extends string, SearchField extends ExtractFieldPaths<TableValidator_>, FilterFields extends ExtractFieldPaths<TableValidator_> = never>(name: IndexName, indexConfig: Expand<SearchIndexConfig<SearchField, FilterFields>>): Table<Name_, TableSchema_, TableValidator_, Indexes_, Expand<SearchIndexes_ & Record<IndexName, {
|
|
24
|
-
searchField: SearchField;
|
|
25
|
-
filterFields: FilterFields;
|
|
26
|
-
}>>, VectorIndexes_>;
|
|
27
|
-
vectorIndex<IndexName extends string, VectorField extends ExtractFieldPaths<TableValidator_>, FilterFields extends ExtractFieldPaths<TableValidator_> = never>(name: IndexName, indexConfig: Expand<VectorIndexConfig<VectorField, FilterFields>>): Table<Name_, TableSchema_, TableValidator_, Indexes_, SearchIndexes_, Expand<VectorIndexes_ & Record<IndexName, {
|
|
28
|
-
vectorField: VectorField;
|
|
29
|
-
dimensions: number;
|
|
30
|
-
filterFields: FilterFields;
|
|
31
|
-
}>>>;
|
|
18
|
+
export interface Any {
|
|
19
|
+
readonly [TypeId]: TypeId;
|
|
20
|
+
readonly tableName: string;
|
|
32
21
|
}
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
export type AnyWithProps = Table<any, Schema.Schema.AnyNoContext, GenericValidator, GenericTableIndexes, GenericTableSearchIndexes, GenericTableVectorIndexes>;
|
|
23
|
+
export interface UnnamedTable<TableSchema_ extends Schema.Schema.AnyNoContext, TableValidator_ extends GenericValidator = TableSchemaToTableValidator<TableSchema_>, Indexes_ extends GenericTableIndexes = {}, SearchIndexes_ extends GenericTableSearchIndexes = {}, VectorIndexes_ extends GenericTableVectorIndexes = {}> {
|
|
24
|
+
<const Name_ extends string>(tableName: Name_): Table<Name_, TableSchema_, TableValidator_, Indexes_, SearchIndexes_, VectorIndexes_>;
|
|
25
|
+
readonly [TypeId]: TypeId;
|
|
26
|
+
readonly indexes: Indexes_;
|
|
27
|
+
index<IndexName extends string, FirstFieldPath extends ExtractFieldPaths<TableValidator_>, RestFieldPaths extends ExtractFieldPaths<TableValidator_>[]>(name: IndexName, fields: [FirstFieldPath, ...RestFieldPaths]): UnnamedTable<TableSchema_, TableValidator_, Expand<Indexes_ & Record<IndexName, [
|
|
28
|
+
FirstFieldPath,
|
|
29
|
+
...RestFieldPaths,
|
|
30
|
+
IndexTiebreakerField
|
|
31
|
+
]>>, SearchIndexes_, VectorIndexes_>;
|
|
32
|
+
searchIndex<IndexName extends string, SearchField extends ExtractFieldPaths<TableValidator_>, FilterFields extends ExtractFieldPaths<TableValidator_> = never>(name: IndexName, indexConfig: Expand<SearchIndexConfig<SearchField, FilterFields>>): UnnamedTable<TableSchema_, TableValidator_, Indexes_, Expand<SearchIndexes_ & Record<IndexName, {
|
|
33
|
+
searchField: SearchField;
|
|
34
|
+
filterFields: FilterFields;
|
|
35
|
+
}>>, VectorIndexes_>;
|
|
36
|
+
vectorIndex<IndexName extends string, VectorField extends ExtractFieldPaths<TableValidator_>, FilterFields extends ExtractFieldPaths<TableValidator_> = never>(name: IndexName, indexConfig: Expand<VectorIndexConfig<VectorField, FilterFields>>): UnnamedTable<TableSchema_, TableValidator_, Indexes_, SearchIndexes_, Expand<VectorIndexes_ & Record<IndexName, {
|
|
37
|
+
vectorField: VectorField;
|
|
38
|
+
dimensions: number;
|
|
39
|
+
filterFields: FilterFields;
|
|
40
|
+
}>>>;
|
|
35
41
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
type
|
|
40
|
-
type
|
|
41
|
-
type
|
|
42
|
-
type
|
|
43
|
-
type
|
|
44
|
-
type
|
|
45
|
-
type
|
|
46
|
-
|
|
42
|
+
export interface UnnamedAny {
|
|
43
|
+
readonly [TypeId]: TypeId;
|
|
44
|
+
}
|
|
45
|
+
export type UnnamedAnyWithProps = UnnamedTable<Schema.Schema.AnyNoContext, GenericValidator, GenericTableIndexes, GenericTableSearchIndexes, GenericTableVectorIndexes>;
|
|
46
|
+
export type Name<TableDef extends AnyWithProps> = TableDef extends Table<infer TableName, infer _TableSchema, infer _TableValidator, infer _Indexes, infer _SearchIndexes, infer _VectorIndexes> ? TableName & string : never;
|
|
47
|
+
export type TableSchema<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer TableSchema_, infer _TableValidator, infer _Indexes, infer _SearchIndexes, infer _VectorIndexes> ? TableSchema_ : never;
|
|
48
|
+
export type TableValidator<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer _TableSchema, infer TableValidator_, infer _Indexes, infer _SearchIndexes, infer _VectorIndexes> ? TableValidator_ : never;
|
|
49
|
+
export type Indexes<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer _TableSchema, infer _TableValidator, infer Indexes_, infer _SearchIndexes, infer _VectorIndexes> ? Indexes_ : never;
|
|
50
|
+
export type SearchIndexes<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer _TableSchema, infer _TableValidator, infer _Indexes, infer SearchIndexes_, infer _VectorIndexes> ? SearchIndexes_ : never;
|
|
51
|
+
export type VectorIndexes<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer _TableSchema, infer _TableValidator, infer _Indexes, infer _SearchIndexes, infer VectorIndexes_> ? VectorIndexes_ : never;
|
|
52
|
+
export type Doc<TableDef extends AnyWithProps> = TableDef extends Table<infer TableName, infer TableSchema_, infer _TableValidator, infer _Indexes, infer _SearchIndexes, infer _VectorIndexes> ? SystemFields.ExtendWithSystemFields<TableName, TableSchema_> : never;
|
|
53
|
+
export type Fields<TableDef extends AnyWithProps> = TableDef extends Table<infer _TableName, infer TableSchema_, infer _TableValidator, infer _Indexes, infer _SearchIndexes, infer _VectorIndexes> ? TableSchema_ : never;
|
|
54
|
+
export type WithName<TableDef extends AnyWithProps, Name_ extends string> = TableDef extends {
|
|
55
|
+
readonly tableName: Name_;
|
|
47
56
|
} ? TableDef : never;
|
|
48
|
-
type TablesRecord<Tables extends AnyWithProps> = {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
declare const
|
|
53
|
-
declare const scheduledFunctionsTable: Table<"_scheduled_functions", Schema.Struct<{
|
|
54
|
-
name: typeof Schema.String;
|
|
55
|
-
args: Schema.Array$<typeof Schema.Any>;
|
|
56
|
-
scheduledTime: typeof Schema.Number;
|
|
57
|
-
completedTime: Schema.optionalWith<typeof Schema.Number, {
|
|
58
|
-
exact: true;
|
|
59
|
-
}>;
|
|
60
|
-
state: Schema.Union<[Schema.Struct<{
|
|
61
|
-
kind: Schema.Literal<["pending"]>;
|
|
62
|
-
}>, Schema.Struct<{
|
|
63
|
-
kind: Schema.Literal<["inProgress"]>;
|
|
64
|
-
}>, Schema.Struct<{
|
|
65
|
-
kind: Schema.Literal<["success"]>;
|
|
66
|
-
}>, Schema.Struct<{
|
|
67
|
-
kind: Schema.Literal<["failed"]>;
|
|
68
|
-
error: typeof Schema.String;
|
|
69
|
-
}>, Schema.Struct<{
|
|
70
|
-
kind: Schema.Literal<["canceled"]>;
|
|
71
|
-
}>]>;
|
|
72
|
-
}>, convex_values0.VObject<{
|
|
73
|
-
name: string;
|
|
74
|
-
args: any[];
|
|
75
|
-
scheduledTime: number;
|
|
76
|
-
state: {
|
|
77
|
-
kind: "pending";
|
|
78
|
-
} | {
|
|
79
|
-
kind: "inProgress";
|
|
80
|
-
} | {
|
|
81
|
-
kind: "success";
|
|
82
|
-
} | {
|
|
83
|
-
kind: "failed";
|
|
84
|
-
error: string;
|
|
85
|
-
} | {
|
|
86
|
-
kind: "canceled";
|
|
87
|
-
};
|
|
88
|
-
completedTime?: number;
|
|
89
|
-
}, {
|
|
90
|
-
name: convex_values0.VString<string, "required">;
|
|
91
|
-
args: convex_values0.VArray<any[], convex_values0.VAny<any, "required", string>, "required">;
|
|
92
|
-
scheduledTime: convex_values0.VFloat64<number, "required">;
|
|
93
|
-
state: convex_values0.VUnion<{
|
|
94
|
-
kind: "pending";
|
|
95
|
-
} | {
|
|
96
|
-
kind: "inProgress";
|
|
97
|
-
} | {
|
|
98
|
-
kind: "success";
|
|
99
|
-
} | {
|
|
100
|
-
kind: "failed";
|
|
101
|
-
error: string;
|
|
102
|
-
} | {
|
|
103
|
-
kind: "canceled";
|
|
104
|
-
}, [convex_values0.VObject<{
|
|
105
|
-
kind: "pending";
|
|
106
|
-
}, {
|
|
107
|
-
kind: convex_values0.VLiteral<"pending", "required">;
|
|
108
|
-
}, "required", "kind">, convex_values0.VObject<{
|
|
109
|
-
kind: "inProgress";
|
|
110
|
-
}, {
|
|
111
|
-
kind: convex_values0.VLiteral<"inProgress", "required">;
|
|
112
|
-
}, "required", "kind">, convex_values0.VObject<{
|
|
113
|
-
kind: "success";
|
|
114
|
-
}, {
|
|
115
|
-
kind: convex_values0.VLiteral<"success", "required">;
|
|
116
|
-
}, "required", "kind">, convex_values0.VObject<{
|
|
117
|
-
kind: "failed";
|
|
118
|
-
error: string;
|
|
119
|
-
}, {
|
|
120
|
-
kind: convex_values0.VLiteral<"failed", "required">;
|
|
121
|
-
error: convex_values0.VString<string, "required">;
|
|
122
|
-
}, "required", "kind" | "error">, convex_values0.VObject<{
|
|
123
|
-
kind: "canceled";
|
|
124
|
-
}, {
|
|
125
|
-
kind: convex_values0.VLiteral<"canceled", "required">;
|
|
126
|
-
}, "required", "kind">], "required", "kind" | "error">;
|
|
127
|
-
completedTime: convex_values0.VFloat64<number | undefined, "optional">;
|
|
128
|
-
}, "required", "name" | "args" | "scheduledTime" | "completedTime" | "state" | "state.kind" | "state.error">, {}, {}, {}>;
|
|
129
|
-
declare const storageTable: Table<"_storage", Schema.Struct<{
|
|
130
|
-
sha256: typeof Schema.String;
|
|
131
|
-
size: typeof Schema.Number;
|
|
132
|
-
contentType: Schema.optionalWith<typeof Schema.String, {
|
|
133
|
-
exact: true;
|
|
134
|
-
}>;
|
|
135
|
-
}>, convex_values0.VObject<{
|
|
136
|
-
sha256: string;
|
|
137
|
-
size: number;
|
|
138
|
-
contentType?: string;
|
|
139
|
-
}, {
|
|
140
|
-
sha256: convex_values0.VString<string, "required">;
|
|
141
|
-
size: convex_values0.VFloat64<number, "required">;
|
|
142
|
-
contentType: convex_values0.VString<string | undefined, "optional">;
|
|
143
|
-
}, "required", "sha256" | "size" | "contentType">, {}, {}, {}>;
|
|
144
|
-
declare const systemTables: {
|
|
145
|
-
readonly _scheduled_functions: Table<"_scheduled_functions", Schema.Struct<{
|
|
57
|
+
export type TablesRecord<Tables extends AnyWithProps> = {
|
|
58
|
+
readonly [TableName_ in Name<Tables>]: WithName<Tables, TableName_>;
|
|
59
|
+
};
|
|
60
|
+
export declare const make: <const TableSchema_ extends Schema.Schema.AnyNoContext>(lazyFields: () => TableSchema_) => UnnamedTable<TableSchema_, TableSchemaToTableValidator<TableSchema_>>;
|
|
61
|
+
export declare const scheduledFunctionsTable: Table<"_scheduled_functions", Schema.Struct<{
|
|
146
62
|
name: typeof Schema.String;
|
|
147
63
|
args: Schema.Array$<typeof Schema.Any>;
|
|
148
64
|
scheduledTime: typeof Schema.Number;
|
|
149
65
|
completedTime: Schema.optionalWith<typeof Schema.Number, {
|
|
150
|
-
|
|
66
|
+
exact: true;
|
|
151
67
|
}>;
|
|
152
68
|
state: Schema.Union<[Schema.Struct<{
|
|
153
|
-
|
|
69
|
+
kind: Schema.Literal<["pending"]>;
|
|
154
70
|
}>, Schema.Struct<{
|
|
155
|
-
|
|
71
|
+
kind: Schema.Literal<["inProgress"]>;
|
|
156
72
|
}>, Schema.Struct<{
|
|
157
|
-
|
|
73
|
+
kind: Schema.Literal<["success"]>;
|
|
158
74
|
}>, Schema.Struct<{
|
|
159
|
-
|
|
160
|
-
|
|
75
|
+
kind: Schema.Literal<["failed"]>;
|
|
76
|
+
error: typeof Schema.String;
|
|
161
77
|
}>, Schema.Struct<{
|
|
162
|
-
|
|
78
|
+
kind: Schema.Literal<["canceled"]>;
|
|
163
79
|
}>]>;
|
|
164
|
-
|
|
80
|
+
}>, import("convex/values").VObject<{
|
|
165
81
|
name: string;
|
|
166
82
|
args: any[];
|
|
167
83
|
scheduledTime: number;
|
|
168
84
|
state: {
|
|
169
|
-
|
|
85
|
+
kind: "pending";
|
|
170
86
|
} | {
|
|
171
|
-
|
|
87
|
+
kind: "inProgress";
|
|
172
88
|
} | {
|
|
173
|
-
|
|
89
|
+
kind: "success";
|
|
174
90
|
} | {
|
|
175
|
-
|
|
176
|
-
|
|
91
|
+
kind: "failed";
|
|
92
|
+
error: string;
|
|
177
93
|
} | {
|
|
178
|
-
|
|
94
|
+
kind: "canceled";
|
|
179
95
|
};
|
|
180
96
|
completedTime?: number;
|
|
181
|
-
|
|
182
|
-
name:
|
|
183
|
-
args:
|
|
184
|
-
scheduledTime:
|
|
185
|
-
state:
|
|
186
|
-
|
|
97
|
+
}, {
|
|
98
|
+
name: import("convex/values").VString<string, "required">;
|
|
99
|
+
args: import("convex/values").VArray<any[], import("convex/values").VAny<any, "required", string>, "required">;
|
|
100
|
+
scheduledTime: import("convex/values").VFloat64<number, "required">;
|
|
101
|
+
state: import("convex/values").VUnion<{
|
|
102
|
+
kind: "pending";
|
|
187
103
|
} | {
|
|
188
|
-
|
|
104
|
+
kind: "inProgress";
|
|
189
105
|
} | {
|
|
190
|
-
|
|
106
|
+
kind: "success";
|
|
191
107
|
} | {
|
|
192
|
-
|
|
193
|
-
|
|
108
|
+
kind: "failed";
|
|
109
|
+
error: string;
|
|
194
110
|
} | {
|
|
195
|
-
|
|
196
|
-
}, [
|
|
197
|
-
|
|
111
|
+
kind: "canceled";
|
|
112
|
+
}, [import("convex/values").VObject<{
|
|
113
|
+
kind: "pending";
|
|
198
114
|
}, {
|
|
199
|
-
|
|
200
|
-
}, "required", "kind">,
|
|
201
|
-
|
|
115
|
+
kind: import("convex/values").VLiteral<"pending", "required">;
|
|
116
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
117
|
+
kind: "inProgress";
|
|
202
118
|
}, {
|
|
203
|
-
|
|
204
|
-
}, "required", "kind">,
|
|
205
|
-
|
|
119
|
+
kind: import("convex/values").VLiteral<"inProgress", "required">;
|
|
120
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
121
|
+
kind: "success";
|
|
206
122
|
}, {
|
|
207
|
-
|
|
208
|
-
}, "required", "kind">,
|
|
209
|
-
|
|
210
|
-
|
|
123
|
+
kind: import("convex/values").VLiteral<"success", "required">;
|
|
124
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
125
|
+
kind: "failed";
|
|
126
|
+
error: string;
|
|
211
127
|
}, {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
}, "required", "kind" | "error">,
|
|
215
|
-
|
|
128
|
+
kind: import("convex/values").VLiteral<"failed", "required">;
|
|
129
|
+
error: import("convex/values").VString<string, "required">;
|
|
130
|
+
}, "required", "kind" | "error">, import("convex/values").VObject<{
|
|
131
|
+
kind: "canceled";
|
|
216
132
|
}, {
|
|
217
|
-
|
|
133
|
+
kind: import("convex/values").VLiteral<"canceled", "required">;
|
|
218
134
|
}, "required", "kind">], "required", "kind" | "error">;
|
|
219
|
-
completedTime:
|
|
220
|
-
|
|
221
|
-
|
|
135
|
+
completedTime: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
136
|
+
}, "required", "name" | "args" | "scheduledTime" | "completedTime" | "state" | "state.kind" | "state.error">, {}, {}, {}>;
|
|
137
|
+
export declare const storageTable: Table<"_storage", Schema.Struct<{
|
|
222
138
|
sha256: typeof Schema.String;
|
|
223
139
|
size: typeof Schema.Number;
|
|
224
140
|
contentType: Schema.optionalWith<typeof Schema.String, {
|
|
225
|
-
|
|
141
|
+
exact: true;
|
|
226
142
|
}>;
|
|
227
|
-
|
|
143
|
+
}>, import("convex/values").VObject<{
|
|
228
144
|
sha256: string;
|
|
229
145
|
size: number;
|
|
230
146
|
contentType?: string;
|
|
231
|
-
|
|
232
|
-
sha256:
|
|
233
|
-
size:
|
|
234
|
-
contentType:
|
|
235
|
-
|
|
147
|
+
}, {
|
|
148
|
+
sha256: import("convex/values").VString<string, "required">;
|
|
149
|
+
size: import("convex/values").VFloat64<number, "required">;
|
|
150
|
+
contentType: import("convex/values").VString<string | undefined, "optional">;
|
|
151
|
+
}, "required", "sha256" | "size" | "contentType">, {}, {}, {}>;
|
|
152
|
+
export declare const systemTables: {
|
|
153
|
+
readonly _scheduled_functions: Table<"_scheduled_functions", Schema.Struct<{
|
|
154
|
+
name: typeof Schema.String;
|
|
155
|
+
args: Schema.Array$<typeof Schema.Any>;
|
|
156
|
+
scheduledTime: typeof Schema.Number;
|
|
157
|
+
completedTime: Schema.optionalWith<typeof Schema.Number, {
|
|
158
|
+
exact: true;
|
|
159
|
+
}>;
|
|
160
|
+
state: Schema.Union<[Schema.Struct<{
|
|
161
|
+
kind: Schema.Literal<["pending"]>;
|
|
162
|
+
}>, Schema.Struct<{
|
|
163
|
+
kind: Schema.Literal<["inProgress"]>;
|
|
164
|
+
}>, Schema.Struct<{
|
|
165
|
+
kind: Schema.Literal<["success"]>;
|
|
166
|
+
}>, Schema.Struct<{
|
|
167
|
+
kind: Schema.Literal<["failed"]>;
|
|
168
|
+
error: typeof Schema.String;
|
|
169
|
+
}>, Schema.Struct<{
|
|
170
|
+
kind: Schema.Literal<["canceled"]>;
|
|
171
|
+
}>]>;
|
|
172
|
+
}>, import("convex/values").VObject<{
|
|
173
|
+
name: string;
|
|
174
|
+
args: any[];
|
|
175
|
+
scheduledTime: number;
|
|
176
|
+
state: {
|
|
177
|
+
kind: "pending";
|
|
178
|
+
} | {
|
|
179
|
+
kind: "inProgress";
|
|
180
|
+
} | {
|
|
181
|
+
kind: "success";
|
|
182
|
+
} | {
|
|
183
|
+
kind: "failed";
|
|
184
|
+
error: string;
|
|
185
|
+
} | {
|
|
186
|
+
kind: "canceled";
|
|
187
|
+
};
|
|
188
|
+
completedTime?: number;
|
|
189
|
+
}, {
|
|
190
|
+
name: import("convex/values").VString<string, "required">;
|
|
191
|
+
args: import("convex/values").VArray<any[], import("convex/values").VAny<any, "required", string>, "required">;
|
|
192
|
+
scheduledTime: import("convex/values").VFloat64<number, "required">;
|
|
193
|
+
state: import("convex/values").VUnion<{
|
|
194
|
+
kind: "pending";
|
|
195
|
+
} | {
|
|
196
|
+
kind: "inProgress";
|
|
197
|
+
} | {
|
|
198
|
+
kind: "success";
|
|
199
|
+
} | {
|
|
200
|
+
kind: "failed";
|
|
201
|
+
error: string;
|
|
202
|
+
} | {
|
|
203
|
+
kind: "canceled";
|
|
204
|
+
}, [import("convex/values").VObject<{
|
|
205
|
+
kind: "pending";
|
|
206
|
+
}, {
|
|
207
|
+
kind: import("convex/values").VLiteral<"pending", "required">;
|
|
208
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
209
|
+
kind: "inProgress";
|
|
210
|
+
}, {
|
|
211
|
+
kind: import("convex/values").VLiteral<"inProgress", "required">;
|
|
212
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
213
|
+
kind: "success";
|
|
214
|
+
}, {
|
|
215
|
+
kind: import("convex/values").VLiteral<"success", "required">;
|
|
216
|
+
}, "required", "kind">, import("convex/values").VObject<{
|
|
217
|
+
kind: "failed";
|
|
218
|
+
error: string;
|
|
219
|
+
}, {
|
|
220
|
+
kind: import("convex/values").VLiteral<"failed", "required">;
|
|
221
|
+
error: import("convex/values").VString<string, "required">;
|
|
222
|
+
}, "required", "kind" | "error">, import("convex/values").VObject<{
|
|
223
|
+
kind: "canceled";
|
|
224
|
+
}, {
|
|
225
|
+
kind: import("convex/values").VLiteral<"canceled", "required">;
|
|
226
|
+
}, "required", "kind">], "required", "kind" | "error">;
|
|
227
|
+
completedTime: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
228
|
+
}, "required", "name" | "args" | "scheduledTime" | "completedTime" | "state" | "state.kind" | "state.error">, {}, {}, {}>;
|
|
229
|
+
readonly _storage: Table<"_storage", Schema.Struct<{
|
|
230
|
+
sha256: typeof Schema.String;
|
|
231
|
+
size: typeof Schema.Number;
|
|
232
|
+
contentType: Schema.optionalWith<typeof Schema.String, {
|
|
233
|
+
exact: true;
|
|
234
|
+
}>;
|
|
235
|
+
}>, import("convex/values").VObject<{
|
|
236
|
+
sha256: string;
|
|
237
|
+
size: number;
|
|
238
|
+
contentType?: string;
|
|
239
|
+
}, {
|
|
240
|
+
sha256: import("convex/values").VString<string, "required">;
|
|
241
|
+
size: import("convex/values").VFloat64<number, "required">;
|
|
242
|
+
contentType: import("convex/values").VString<string | undefined, "optional">;
|
|
243
|
+
}, "required", "sha256" | "size" | "contentType">, {}, {}, {}>;
|
|
236
244
|
};
|
|
237
|
-
type SystemTables = typeof scheduledFunctionsTable | typeof storageTable;
|
|
245
|
+
export type SystemTables = typeof scheduledFunctionsTable | typeof storageTable;
|
|
238
246
|
/**
|
|
239
247
|
* Extract all of the index field paths within a {@link Validator}.
|
|
240
248
|
*
|
|
241
249
|
* This is used within {@link defineTable}.
|
|
242
250
|
* @public
|
|
243
251
|
*/
|
|
244
|
-
type ExtractFieldPaths<T extends Validator<any, any, any>> = T["fieldPaths"] | keyof
|
|
245
|
-
|
|
246
|
-
export { Any, AnyWithProps, Doc, Fields, Indexes, Name, SearchIndexes, SystemTables, Table, TableSchema, TableValidator, Table_d_exports, TablesRecord, TypeId, VectorIndexes, WithName, isTable, make, scheduledFunctionsTable, storageTable, systemTables };
|
|
252
|
+
type ExtractFieldPaths<T extends Validator<any, any, any>> = T["fieldPaths"] | keyof ConvexSystemFields;
|
|
253
|
+
export {};
|
|
247
254
|
//# sourceMappingURL=Table.d.ts.map
|
package/dist/Table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../src/Table.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,YAAY,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAEL,KAAK,YAAY,IAAI,kBAAkB,EACvC,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACvB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC;AAanC,eAAO,MAAM,OAAO,GAAI,GAAG,OAAO,KAAG,CAAC,IAAI,GACiC,CAAC;AAE5E,eAAO,MAA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