MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / createSchemaField

Function createSchemaField

test/nodeGraph/generaterows.node.test.ts:36–42  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

34import { createFlowExecutionContext } from "../../src/flowExecutionSupport";
35
36const createSchemaField = (name: string, value: string) => ({
37 name,
38 type: "StringU8",
39 fields: [{ type: "String", val: value }],
40 resolvedKeyValue: value,
41 isKey: false,
42});
43
44describe("generate rows node", () => {
45 it("falls back to current game schema when DBNameToDBVersions is missing", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected