You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
753 B
15 lines
753 B
import type { TestData } from "./testData.js";
|
|
|
|
export const pluralAnonymous: TestData = {
|
|
name: "plural anonymous",
|
|
shexc: `
|
|
PREFIX ex: <http://ex/>
|
|
ex:ConfigHolderShape { ex:configs @ex:ConfigShape* }
|
|
ex:ConfigShape { ex:key . ; ex:val . }
|
|
`,
|
|
sampleTurtle: ``,
|
|
baseNode: "http://ex/cfg1",
|
|
successfulContext: {},
|
|
successfulTypings: "",
|
|
successfulCompactTypings: `export type IRI = string;\n\nexport interface ConfigHolder {\n id?: IRI;\n /**\n * Original IRI: http://ex/configs\n */\n configs?: Record<IRI, Config>;\n}\n\nexport interface Config {\n id?: IRI;\n /**\n * Original IRI: http://ex/key\n */\n key: any;\n /**\n * Original IRI: http://ex/val\n */\n val: any;\n}\n\n`,
|
|
};
|
|
|