@absolutejs/voice 0.0.22-beta.571 → 0.0.22-beta.572
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/dist/drizzle/assistantMemory.d.ts +25 -37
- package/dist/drizzle/eval.d.ts +13 -19
- package/dist/drizzle/handoff.d.ts +13 -19
- package/dist/drizzle/incidentBundle.d.ts +13 -19
- package/dist/drizzle/index.d.ts +246 -360
- package/dist/drizzle/observabilityExport.d.ts +13 -19
- package/dist/drizzle/proofTrends.d.ts +26 -38
- package/dist/drizzle/runtimeStorage.d.ts +286 -418
- package/dist/drizzle/shared.d.ts +17 -24
- package/package.json +155 -155
package/dist/drizzle/shared.d.ts
CHANGED
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type PgDatabase, type PgQueryResultHKT } from "drizzle-orm/pg-core";
|
|
1
|
+
import { type PgAsyncDatabase } from "drizzle-orm/pg-core";
|
|
3
2
|
export declare const voiceDocumentTable: (name: string) => import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
4
3
|
name: string;
|
|
5
4
|
schema: undefined;
|
|
6
5
|
columns: {
|
|
7
|
-
id: import("drizzle-orm/pg-core").
|
|
8
|
-
name:
|
|
6
|
+
id: import("drizzle-orm/pg-core").PgBuildColumn<string, import("drizzle-orm/pg-core").SetIsPrimaryKey<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
|
|
7
|
+
name: string;
|
|
9
8
|
tableName: string;
|
|
10
9
|
dataType: "string";
|
|
11
|
-
columnType: "PgText";
|
|
12
10
|
data: string;
|
|
13
11
|
driverParam: string;
|
|
14
12
|
notNull: true;
|
|
15
13
|
hasDefault: false;
|
|
16
|
-
isPrimaryKey:
|
|
14
|
+
isPrimaryKey: false;
|
|
17
15
|
isAutoincrement: false;
|
|
18
16
|
hasRuntimeDefault: false;
|
|
19
|
-
enumValues:
|
|
20
|
-
baseColumn: never;
|
|
17
|
+
enumValues: undefined;
|
|
21
18
|
identity: undefined;
|
|
22
19
|
generated: undefined;
|
|
23
|
-
}
|
|
24
|
-
payload: import("drizzle-orm/pg-core").
|
|
25
|
-
name:
|
|
20
|
+
}>;
|
|
21
|
+
payload: import("drizzle-orm/pg-core").PgBuildColumn<string, import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgJsonbBuilder>, {
|
|
22
|
+
name: string;
|
|
26
23
|
tableName: string;
|
|
27
|
-
dataType: "json";
|
|
28
|
-
columnType: "PgJsonb";
|
|
24
|
+
dataType: "object json";
|
|
29
25
|
data: unknown;
|
|
30
26
|
driverParam: unknown;
|
|
31
27
|
notNull: true;
|
|
@@ -34,15 +30,13 @@ export declare const voiceDocumentTable: (name: string) => import("drizzle-orm/p
|
|
|
34
30
|
isAutoincrement: false;
|
|
35
31
|
hasRuntimeDefault: false;
|
|
36
32
|
enumValues: undefined;
|
|
37
|
-
baseColumn: never;
|
|
38
33
|
identity: undefined;
|
|
39
34
|
generated: undefined;
|
|
40
|
-
}
|
|
41
|
-
sortAt: import("drizzle-orm/pg-core").
|
|
42
|
-
name:
|
|
35
|
+
}>;
|
|
36
|
+
sortAt: import("drizzle-orm/pg-core").PgBuildColumn<string, import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgBigInt53Builder>, {
|
|
37
|
+
name: string;
|
|
43
38
|
tableName: string;
|
|
44
|
-
dataType: "number";
|
|
45
|
-
columnType: "PgBigInt53";
|
|
39
|
+
dataType: "number int53";
|
|
46
40
|
data: number;
|
|
47
41
|
driverParam: string | number;
|
|
48
42
|
notNull: true;
|
|
@@ -51,20 +45,19 @@ export declare const voiceDocumentTable: (name: string) => import("drizzle-orm/p
|
|
|
51
45
|
isAutoincrement: false;
|
|
52
46
|
hasRuntimeDefault: false;
|
|
53
47
|
enumValues: undefined;
|
|
54
|
-
baseColumn: never;
|
|
55
48
|
identity: undefined;
|
|
56
49
|
generated: undefined;
|
|
57
|
-
}
|
|
50
|
+
}>;
|
|
58
51
|
};
|
|
59
52
|
dialect: "pg";
|
|
60
53
|
}>;
|
|
61
54
|
export type VoiceDrizzleDocumentTable = ReturnType<typeof voiceDocumentTable>;
|
|
62
|
-
export type VoiceDrizzleDatabase =
|
|
55
|
+
export type VoiceDrizzleDatabase = PgAsyncDatabase<any, any>;
|
|
63
56
|
export type VoiceDrizzleStoreOptions = {
|
|
64
57
|
db: VoiceDrizzleDatabase;
|
|
65
58
|
};
|
|
66
|
-
export declare const createVoiceDrizzleRecordStore: <T>(input: {
|
|
67
|
-
db:
|
|
59
|
+
export declare const createVoiceDrizzleRecordStore: <T, DB extends VoiceDrizzleDatabase = VoiceDrizzleDatabase>(input: {
|
|
60
|
+
db: DB;
|
|
68
61
|
decorate: (id: string, value: T) => T;
|
|
69
62
|
getSortAt: (value: T) => number;
|
|
70
63
|
table: VoiceDrizzleDocumentTable;
|
package/package.json
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
1
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
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
2
|
+
"name": "@absolutejs/voice",
|
|
3
|
+
"version": "0.0.22-beta.572",
|
|
4
|
+
"description": "Voice primitives and Elysia plugin for AbsoluteJS",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/absolutejs/voice.git"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"license": "BSL-1.1",
|
|
16
|
+
"author": "Alex Kahn",
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "rm -rf dist && bun build ./src/index.ts ./src/client/index.ts ./src/react/index.ts ./src/vue/index.ts ./src/svelte/index.ts ./src/angular/index.ts ./src/testing/index.ts ./src/drizzle/index.ts --outdir dist --target bun --external elysia --external react --external vue --external @angular/core --external @absolutejs/absolute --external @absolutejs/ai --external @absolutejs/media --external drizzle-orm && bun build ./src/client/htmxBootstrap.ts --outdir dist/client --target browser --format esm && bun build ./src/embed/index.ts --outfile dist/embed/voice-widget.js --target browser --format iife --minify && bun build ./src/embed/index.ts --outdir dist/embed --target browser --format esm && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
19
|
+
"config": "absolute config",
|
|
20
|
+
"format": "absolute prettier --write",
|
|
21
|
+
"knip": "knip",
|
|
22
|
+
"lint": "absolute eslint",
|
|
23
|
+
"release": "bun run format && bun run build && bun publish",
|
|
24
|
+
"test": "bun test ./test/*.test.ts",
|
|
25
|
+
"test:adapters": "bun test ./test/live/*.test.ts",
|
|
26
|
+
"test:assemblyai": "bun test ./test/live/assemblyai.live.test.ts",
|
|
27
|
+
"test:deepgram": "bun test ./test/live/deepgram.live.test.ts",
|
|
28
|
+
"test:elevenlabs": "bun test ./test/live/elevenlabs.live.test.ts",
|
|
29
|
+
"test:openai": "bun test ./test/live/openai.live.test.ts",
|
|
30
|
+
"typecheck": "absolute typecheck"
|
|
31
|
+
},
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"import": "./dist/index.js",
|
|
35
|
+
"types": "./dist/index.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./client": {
|
|
38
|
+
"browser": "./dist/client/index.js",
|
|
39
|
+
"import": "./dist/client/index.js",
|
|
40
|
+
"types": "./dist/client/index.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./react": {
|
|
43
|
+
"browser": "./dist/react/index.js",
|
|
44
|
+
"import": "./dist/react/index.js",
|
|
45
|
+
"types": "./dist/react/index.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./vue": {
|
|
48
|
+
"browser": "./dist/vue/index.js",
|
|
49
|
+
"import": "./dist/vue/index.js",
|
|
50
|
+
"types": "./dist/vue/index.d.ts"
|
|
51
|
+
},
|
|
52
|
+
"./svelte": {
|
|
53
|
+
"import": "./dist/svelte/index.js",
|
|
54
|
+
"types": "./dist/svelte/index.d.ts"
|
|
55
|
+
},
|
|
56
|
+
"./angular": {
|
|
57
|
+
"import": "./dist/angular/index.js",
|
|
58
|
+
"types": "./dist/angular/index.d.ts"
|
|
59
|
+
},
|
|
60
|
+
"./drizzle": {
|
|
61
|
+
"import": "./dist/drizzle/index.js",
|
|
62
|
+
"types": "./dist/drizzle/index.d.ts",
|
|
63
|
+
"default": "./dist/drizzle/index.js"
|
|
64
|
+
},
|
|
65
|
+
"./testing": {
|
|
66
|
+
"import": "./dist/testing/index.js",
|
|
67
|
+
"types": "./dist/testing/index.d.ts"
|
|
68
|
+
},
|
|
69
|
+
"./embed": {
|
|
70
|
+
"browser": "./dist/embed/index.js",
|
|
71
|
+
"import": "./dist/embed/index.js",
|
|
72
|
+
"types": "./dist/embed/index.d.ts"
|
|
73
|
+
},
|
|
74
|
+
"./embed/voice-widget.js": "./dist/embed/voice-widget.js"
|
|
75
|
+
},
|
|
76
|
+
"typesVersions": {
|
|
77
|
+
"*": {
|
|
78
|
+
"testing": [
|
|
79
|
+
"dist/testing/index.d.ts"
|
|
80
|
+
],
|
|
81
|
+
"client": [
|
|
82
|
+
"dist/client/index.d.ts"
|
|
83
|
+
],
|
|
84
|
+
"react": [
|
|
85
|
+
"dist/react/index.d.ts"
|
|
86
|
+
],
|
|
87
|
+
"svelte": [
|
|
88
|
+
"dist/svelte/index.d.ts"
|
|
89
|
+
],
|
|
90
|
+
"vue": [
|
|
91
|
+
"dist/vue/index.d.ts"
|
|
92
|
+
],
|
|
93
|
+
"angular": [
|
|
94
|
+
"dist/angular/index.d.ts"
|
|
95
|
+
],
|
|
96
|
+
"drizzle": [
|
|
97
|
+
"dist/drizzle/index.d.ts"
|
|
98
|
+
],
|
|
99
|
+
"embed": [
|
|
100
|
+
"dist/embed/index.d.ts"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"peerDependencies": {
|
|
105
|
+
"@absolutejs/absolute": ">=0.19.0-beta.646",
|
|
106
|
+
"@absolutejs/ai": ">=0.0.5",
|
|
107
|
+
"@angular/core": ">=21.0.0",
|
|
108
|
+
"drizzle-orm": ">=1.0.0-rc.1",
|
|
109
|
+
"elysia": ">=1.4.18",
|
|
110
|
+
"react": ">=19.0.0",
|
|
111
|
+
"vue": ">=3.5.0"
|
|
112
|
+
},
|
|
113
|
+
"peerDependenciesMeta": {
|
|
114
|
+
"@absolutejs/ai": {
|
|
115
|
+
"optional": true
|
|
116
|
+
},
|
|
117
|
+
"drizzle-orm": {
|
|
118
|
+
"optional": true
|
|
119
|
+
},
|
|
120
|
+
"@angular/core": {
|
|
121
|
+
"optional": true
|
|
122
|
+
},
|
|
123
|
+
"react": {
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"vue": {
|
|
127
|
+
"optional": true
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"dependencies": {
|
|
131
|
+
"@absolutejs/media": "0.0.1-beta.19"
|
|
132
|
+
},
|
|
133
|
+
"devDependencies": {
|
|
134
|
+
"@absolutejs/absolute": "0.19.0-beta.1009",
|
|
135
|
+
"@absolutejs/ai": "0.0.5",
|
|
136
|
+
"@angular/core": "^21.0.0",
|
|
137
|
+
"@electric-sql/pglite": "^0.4.5",
|
|
138
|
+
"@eslint/js": "^10.0.1",
|
|
139
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
140
|
+
"@types/bun": "1.3.9",
|
|
141
|
+
"@types/react": "19.2.0",
|
|
142
|
+
"@typescript-eslint/parser": "^8.57.2",
|
|
143
|
+
"drizzle-orm": "1.0.0-rc.3",
|
|
144
|
+
"elysia": "1.4.18",
|
|
145
|
+
"eslint": "^10.1.0",
|
|
146
|
+
"eslint-plugin-absolute": "0.11.0-beta.3",
|
|
147
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
148
|
+
"eslint-plugin-security": "^4.0.0",
|
|
149
|
+
"globals": "^17.4.0",
|
|
150
|
+
"knip": "^6.14.1",
|
|
151
|
+
"prettier": "^3.4.0",
|
|
152
|
+
"react": "19.2.1",
|
|
153
|
+
"typescript": "^5.9.3",
|
|
154
|
+
"typescript-eslint": "^8.57.2",
|
|
155
|
+
"vue": "3.5.27"
|
|
156
|
+
}
|
|
157
157
|
}
|