@fungi.computer/oyster 0.50.1 → 0.50.2
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.
|
@@ -17,8 +17,17 @@ export type ModelKeyUsage = Readonly<{
|
|
|
17
17
|
lastAt: number;
|
|
18
18
|
count: number;
|
|
19
19
|
}>;
|
|
20
|
+
/**
|
|
21
|
+
* The Durable Object SQL this store needs, as a structural type, so the
|
|
22
|
+
* published declarations never name the Workers-only `SqlStorage` global.
|
|
23
|
+
*/
|
|
24
|
+
export type ModelKeyUsageSql = Readonly<{
|
|
25
|
+
exec: (statement: string, ...bindings: (string | number | null)[]) => Readonly<{
|
|
26
|
+
toArray: () => readonly unknown[];
|
|
27
|
+
}>;
|
|
28
|
+
}>;
|
|
20
29
|
export declare function createModelKeyUsage(options: {
|
|
21
|
-
sql:
|
|
30
|
+
sql: ModelKeyUsageSql;
|
|
22
31
|
now?: () => number;
|
|
23
32
|
}): {
|
|
24
33
|
record(use: ModelKeyUse): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/oyster",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.2",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Oyster by Fungi: open-source Apps for people and AI agents. Try with one command or run on your own Cloudflare account.",
|
|
6
6
|
"homepage": "https://docs.fungi.computer/oyster",
|