add missing id for requestShape

main
Laurin Weger 3 weeks ago
parent 4410980fbc
commit 82d26a62e9
No known key found for this signature in database
GPG Key ID: 9B372BB0B792770F
  1. 5
      src/ng-mock/wasm-land/requestShape.ts

@ -7,6 +7,7 @@ import type { Cat } from "src/shapes/ldo/catShape.typings";
import type { TestObject } from "src/shapes/ldo/testShape.typings";
export const mockTestObject = {
id: "ex:mock-id-1",
type: "TestObject",
stringValue: "string",
numValue: 42,
@ -19,10 +20,12 @@ export const mockTestObject = {
},
anotherObject: {
"id:1": {
"id": "id:1",
prop1: "prop1 value",
prop2: 100,
},
"id:2": {
id: "id:1",
prop1: "prop2 value",
prop2: 200,
},
@ -30,6 +33,7 @@ export const mockTestObject = {
} satisfies TestObject;
const mockShapeObject1 = {
id: "ex:person-1",
type: "Person",
name: "Bob",
address: {
@ -40,6 +44,7 @@ const mockShapeObject1 = {
numberOfHouses: 0,
} satisfies Person;
const mockShapeObject2 = {
id: "ex:cat-1",
type: "Cat",
name: "Niko's cat",
age: 12,

Loading…
Cancel
Save