|
import type { FromSchema, JSONSchema } from "json-schema-to-ts";
|
|
import * as j from "json-schema-shorthand";
|
|
|
|
import jsc from "$lib/jsc";
|
|
|
|
export const reqsSchema = j.object({
|
|
cost: "integer",
|
|
mass: "integer",
|
|
} as const);
|
|
|
|
export type Reqs = FromSchema<typeof reqsSchema>;
|