Skip to content

@grabm/abm / Variable: networkNodeSchema ​

ts
const networkNodeSchema: ZodObject<{
  extensions: ZodDefault<ZodRecord<ZodString, ZodJSONSchema>>;
  id: ZodString;
  kind: ZodEnum<{
     gateway: "gateway";
     junction: "junction";
     place: "place";
     transfer: "transfer";
  }>;
  position: ZodObject<{
     xM: ZodNumber;
     yM: ZodNumber;
     zM: ZodNumber;
  }, $strict>;
}, $strict>;

Documentation for the grABM library.