@txstate-mws/sveltekit-utils 1.3.1 → 1.3.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.
- package/dist/api.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -152,6 +152,10 @@ export declare class APIBase {
|
|
|
152
152
|
* and it will be returned as the `data` property.
|
|
153
153
|
*/
|
|
154
154
|
mutationForDialog(resp: MutationResponseFromAPI): SubmitResponse<undefined>;
|
|
155
|
+
mutationForDialog<T extends MutationResponseFromAPI, K extends keyof T>(resp: T, { prefix, dataName }: {
|
|
156
|
+
prefix?: string;
|
|
157
|
+
dataName: K;
|
|
158
|
+
}): SubmitResponse<T[K]>;
|
|
155
159
|
mutationForDialog(resp: MutationResponseFromAPI, { prefix }: {
|
|
156
160
|
prefix?: string;
|
|
157
161
|
}): SubmitResponse<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/api.ts","../src/index.ts","../src/unifiedauth.ts"],"version":"5.
|
|
1
|
+
{"root":["../src/api.ts","../src/index.ts","../src/unifiedauth.ts"],"version":"5.9.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@txstate-mws/sveltekit-utils",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Shared library for code that is specifically tied to sveltekit in addition to svelte.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@sveltejs/kit": "^2.5.4",
|
|
16
16
|
"@txstate-mws/fastify-shared": "^1.0.4",
|
|
17
17
|
"@txstate-mws/svelte-components": "^1.6.1",
|
|
18
|
-
"@txstate-mws/svelte-forms": "^
|
|
18
|
+
"@txstate-mws/svelte-forms": "^2.0.0",
|
|
19
19
|
"jose": "^5.0.0",
|
|
20
20
|
"txstate-utils": "^1.8.15"
|
|
21
21
|
},
|