houdini-svelte 1.0.0-next.0 → 1.0.0-next.1
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.
|
@@ -185552,7 +185552,7 @@ type BeforeLoadReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase(
|
|
|
185552
185552
|
function append_onError(onError, type, hasLoadInput) {
|
|
185553
185553
|
return onError ? `
|
|
185554
185554
|
type OnErrorReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase()}').${houdini_on_error_fn}>>;
|
|
185555
|
-
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error:
|
|
185555
|
+
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error: Kit.HttpError };
|
|
185556
185556
|
` : "";
|
|
185557
185557
|
}
|
|
185558
185558
|
function internal_append_TypeDataExtra(beforeLoad, afterLoad, onError) {
|
|
@@ -185644,7 +185644,7 @@ export class ${storeName} extends ${store_class} {
|
|
|
185644
185644
|
const _optimistic = `${artifactName}$optimistic`;
|
|
185645
185645
|
const typeDefs = `import type { ${_input}, ${_data}, ${_optimistic}, ${store_class} } from '$houdini'
|
|
185646
185646
|
|
|
185647
|
-
export declare class ${storeName} extends ${store_class}<${_data}
|
|
185647
|
+
export declare class ${storeName} extends ${store_class}<${_data}, ${_input}, ${_optimistic}>{
|
|
185648
185648
|
constructor() {
|
|
185649
185649
|
// @ts-ignore
|
|
185650
185650
|
super({})
|
|
@@ -185547,7 +185547,7 @@ type BeforeLoadReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase(
|
|
|
185547
185547
|
function append_onError(onError, type, hasLoadInput) {
|
|
185548
185548
|
return onError ? `
|
|
185549
185549
|
type OnErrorReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase()}').${houdini_on_error_fn}>>;
|
|
185550
|
-
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error:
|
|
185550
|
+
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error: Kit.HttpError };
|
|
185551
185551
|
` : "";
|
|
185552
185552
|
}
|
|
185553
185553
|
function internal_append_TypeDataExtra(beforeLoad, afterLoad, onError) {
|
|
@@ -185639,7 +185639,7 @@ export class ${storeName} extends ${store_class} {
|
|
|
185639
185639
|
const _optimistic = `${artifactName}$optimistic`;
|
|
185640
185640
|
const typeDefs = `import type { ${_input}, ${_data}, ${_optimistic}, ${store_class} } from '$houdini'
|
|
185641
185641
|
|
|
185642
|
-
export declare class ${storeName} extends ${store_class}<${_data}
|
|
185642
|
+
export declare class ${storeName} extends ${store_class}<${_data}, ${_input}, ${_optimistic}>{
|
|
185643
185643
|
constructor() {
|
|
185644
185644
|
// @ts-ignore
|
|
185645
185645
|
super({})
|
package/build/test-cjs/index.js
CHANGED
|
@@ -302093,7 +302093,7 @@ type BeforeLoadReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase(
|
|
|
302093
302093
|
function append_onError(onError, type, hasLoadInput) {
|
|
302094
302094
|
return onError ? `
|
|
302095
302095
|
type OnErrorReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase()}').${houdini_on_error_fn}>>;
|
|
302096
|
-
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error:
|
|
302096
|
+
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error: Kit.HttpError };
|
|
302097
302097
|
` : "";
|
|
302098
302098
|
}
|
|
302099
302099
|
function internal_append_TypeDataExtra(beforeLoad, afterLoad, onError) {
|
|
@@ -302185,7 +302185,7 @@ export class ${storeName} extends ${store_class} {
|
|
|
302185
302185
|
const _optimistic = `${artifactName}$optimistic`;
|
|
302186
302186
|
const typeDefs = `import type { ${_input}, ${_data}, ${_optimistic}, ${store_class} } from '$houdini'
|
|
302187
302187
|
|
|
302188
|
-
export declare class ${storeName} extends ${store_class}<${_data}
|
|
302188
|
+
export declare class ${storeName} extends ${store_class}<${_data}, ${_input}, ${_optimistic}>{
|
|
302189
302189
|
constructor() {
|
|
302190
302190
|
// @ts-ignore
|
|
302191
302191
|
super({})
|
package/build/test-esm/index.js
CHANGED
|
@@ -302082,7 +302082,7 @@ type BeforeLoadReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase(
|
|
|
302082
302082
|
function append_onError(onError, type, hasLoadInput) {
|
|
302083
302083
|
return onError ? `
|
|
302084
302084
|
type OnErrorReturn = Awaited<ReturnType<typeof import('./+${type.toLowerCase()}').${houdini_on_error_fn}>>;
|
|
302085
|
-
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error:
|
|
302085
|
+
export type OnErrorEvent = { event: Kit.LoadEvent, input: ${hasLoadInput ? "LoadInput" : "{}"}, error: Kit.HttpError };
|
|
302086
302086
|
` : "";
|
|
302087
302087
|
}
|
|
302088
302088
|
function internal_append_TypeDataExtra(beforeLoad, afterLoad, onError) {
|
|
@@ -302174,7 +302174,7 @@ export class ${storeName} extends ${store_class} {
|
|
|
302174
302174
|
const _optimistic = `${artifactName}$optimistic`;
|
|
302175
302175
|
const typeDefs = `import type { ${_input}, ${_data}, ${_optimistic}, ${store_class} } from '$houdini'
|
|
302176
302176
|
|
|
302177
|
-
export declare class ${storeName} extends ${store_class}<${_data}
|
|
302177
|
+
export declare class ${storeName} extends ${store_class}<${_data}, ${_input}, ${_optimistic}>{
|
|
302178
302178
|
constructor() {
|
|
302179
302179
|
// @ts-ignore
|
|
302180
302180
|
super({})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini-svelte",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.1",
|
|
4
4
|
"description": "The svelte plugin for houdini",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"recast": "^0.23.1",
|
|
32
32
|
"svelte": "^3.55.0",
|
|
33
33
|
"vite": "^4.0.1",
|
|
34
|
-
"houdini": "^1.0.0-next.
|
|
34
|
+
"houdini": "^1.0.0-next.1"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"graphql": "^14.0.0 || ^15.0.0"
|