@stacksjs/cms 0.75.38 → 0.75.40
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/results.d.ts +7 -1
- package/package.json +9 -9
package/dist/results.d.ts
CHANGED
|
@@ -12,7 +12,13 @@ export declare function insertedId(result: unknown): number | undefined;
|
|
|
12
12
|
* Returns the driver's RETURNING row when there is one, otherwise re-selects
|
|
13
13
|
* the row by the id it reported.
|
|
14
14
|
*/
|
|
15
|
-
export declare function resolveWrittenRow<T extends object>(
|
|
15
|
+
export declare function resolveWrittenRow<T extends object>(db: {
|
|
16
|
+
selectFrom: (table: string) => {
|
|
17
|
+
where: (column: string, op: string, value: unknown) => {
|
|
18
|
+
selectAll: () => { executeTakeFirst: () => Promise<unknown> }
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}, table: string, result: unknown): Promise<T | undefined>;
|
|
16
22
|
/**
|
|
17
23
|
* The number of rows affected by a delete/update.
|
|
18
24
|
*
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/cms",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.40",
|
|
6
6
|
"description": "Stacks cms utilities.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"prepublishOnly": "bun run build"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@stacksjs/database": "0.75.
|
|
62
|
-
"@stacksjs/error-handling": "0.75.
|
|
63
|
-
"@stacksjs/orm": "0.75.
|
|
64
|
-
"@stacksjs/path": "0.75.
|
|
65
|
-
"@stacksjs/sites": "0.75.
|
|
66
|
-
"@stacksjs/slug": "0.75.
|
|
67
|
-
"@stacksjs/stx": "^0.2.
|
|
68
|
-
"@stacksjs/validation": "0.75.
|
|
61
|
+
"@stacksjs/database": "0.75.40",
|
|
62
|
+
"@stacksjs/error-handling": "0.75.40",
|
|
63
|
+
"@stacksjs/orm": "0.75.40",
|
|
64
|
+
"@stacksjs/path": "0.75.40",
|
|
65
|
+
"@stacksjs/sites": "0.75.40",
|
|
66
|
+
"@stacksjs/slug": "0.75.40",
|
|
67
|
+
"@stacksjs/stx": "^0.2.348",
|
|
68
|
+
"@stacksjs/validation": "0.75.40",
|
|
69
69
|
"ts-medium-editor": "^0.2.0",
|
|
70
70
|
"ts-slug": "^0.1.0",
|
|
71
71
|
"ts-spreadsheets": "^0.2.0"
|