nexus-4/frontend/houdini.config.js
2026-01-26 10:55:11 -05:00

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;