29 lines
506 B
JavaScript
29 lines
506 B
JavaScript
/// <references types="houdini-svelte">
|
|
|
|
/** @type {import('houdini').ConfigFile} */
|
|
const config = {
|
|
watchSchema: {
|
|
url: 'http://127.0.0.1:8080/graphql',
|
|
interval: null
|
|
},
|
|
runtimeDir: '.houdini',
|
|
plugins: {
|
|
'houdini-svelte': {}
|
|
},
|
|
// Correct for rust chrono types
|
|
scalars: {
|
|
NaiveDateTime: {
|
|
type: 'string',
|
|
marshal: (val) => val,
|
|
unmarshal: (val) => val
|
|
},
|
|
NaiveDate: {
|
|
type: 'string',
|
|
marshal: (val) => val,
|
|
unmarshal: (val) => val
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|