release: WRNexusJS 0.6.0
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
/** Canonical, machine-readable WRN language capabilities. */
|
||||
export const WRN_LANGUAGE_VERSION = "1.0";
|
||||
export const WRN_LANGUAGE_VERSION = "0.6";
|
||||
|
||||
export const WRN_ROOT_KINDS = ["page", "component", "layout"] as const;
|
||||
export const WRN_ROOT_KINDS = [
|
||||
"page",
|
||||
"component",
|
||||
"layout",
|
||||
"global-store",
|
||||
"page-store",
|
||||
] as const;
|
||||
export const WRN_ROOT_MEMBERS = [
|
||||
"layout",
|
||||
"runtime",
|
||||
@@ -9,7 +15,10 @@ export const WRN_ROOT_MEMBERS = [
|
||||
"client",
|
||||
"types",
|
||||
"props",
|
||||
"outputs",
|
||||
"state",
|
||||
"shared",
|
||||
"server",
|
||||
"computed",
|
||||
"effect",
|
||||
"watch",
|
||||
@@ -24,6 +33,7 @@ export const WRN_ROOT_MEMBERS = [
|
||||
"realtime",
|
||||
"style",
|
||||
"functions",
|
||||
"persist",
|
||||
] as const;
|
||||
|
||||
export const WRN_HYDRATION_STRATEGIES = ["load", "idle", "visible", "interaction", "none"] as const;
|
||||
@@ -47,4 +57,18 @@ export const WRN_DIAGNOSTIC_CODES = {
|
||||
invalidRuntime: "WRN-RUNTIME-TARGET",
|
||||
serverInteractive: "WRN-RUNTIME-SERVER-INTERACTIVE",
|
||||
accessibility: "WRN-A11Y-001",
|
||||
import: "WRN-IMPORT-001",
|
||||
function: "WRN-FUNCTION-001",
|
||||
client: "WRN-CLIENT-001",
|
||||
server: "WRN-SERVER-001",
|
||||
output: "WRN-OUTPUT-001",
|
||||
type: "WRN-TYPE-001",
|
||||
state: "WRN-STATE-001",
|
||||
component: "WRN-COMPONENT-001",
|
||||
template: "WRN-TEMPLATE-001",
|
||||
store: "WRN-STORE-001",
|
||||
persist: "WRN-PERSIST-001",
|
||||
rpc: "WRN-RPC-001",
|
||||
hydration: "WRN-HYDRATION-001",
|
||||
migration: "WRN-MIGRATION-001",
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user