silgi 0.14.1 → 0.14.3
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/_chunks/index.mjs
CHANGED
|
@@ -2008,8 +2008,7 @@ async function prepareSchema(silgi) {
|
|
|
2008
2008
|
Object.entries(silgi.options.runtimeConfig).filter(
|
|
2009
2009
|
([key]) => !["app", "nitro", "nuxt"].includes(key)
|
|
2010
2010
|
)
|
|
2011
|
-
)
|
|
2012
|
-
...silgi.options.storages
|
|
2011
|
+
)
|
|
2013
2012
|
}
|
|
2014
2013
|
),
|
|
2015
2014
|
{
|
|
@@ -2020,9 +2019,22 @@ async function prepareSchema(silgi) {
|
|
|
2020
2019
|
indentation: 0
|
|
2021
2020
|
}
|
|
2022
2021
|
) : "",
|
|
2023
|
-
"
|
|
2024
|
-
|
|
2025
|
-
|
|
2022
|
+
"",
|
|
2023
|
+
generateTypes(
|
|
2024
|
+
await resolveSchema(
|
|
2025
|
+
{
|
|
2026
|
+
...data.storeBase?.reduce((acc, key) => ({ ...acc, [key]: "" }), {}) || {},
|
|
2027
|
+
...silgi.options.storages?.reduce((acc, key) => ({ ...acc, [key]: "" }), {}) || {}
|
|
2028
|
+
}
|
|
2029
|
+
),
|
|
2030
|
+
{
|
|
2031
|
+
interfaceName: "SilgiStorageBaseExtends",
|
|
2032
|
+
addExport: false,
|
|
2033
|
+
addDefaults: false,
|
|
2034
|
+
allowExtraKeys: false,
|
|
2035
|
+
indentation: 0
|
|
2036
|
+
}
|
|
2037
|
+
),
|
|
2026
2038
|
"",
|
|
2027
2039
|
`type ModuleHooksExtend = ${data.hooks?.length ? data.hooks.map(({ value }) => `${value}`).join(" & ") : "{}"}`,
|
|
2028
2040
|
"",
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED