Spaces:
Running
Running
browser-sqlite-playground / source /teaql-ts /examples /conformance /src /generated-search-models.ts
Download source/teaql-ts/examples/conformance/src/generated-search-models.ts from teaql/browser-sqlite-playground: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/conformance/src/generated-search-models.ts
- Command line
-
hf download hf://spaces/teaql/browser-sqlite-playground/source/teaql-ts/examples/conformance/src/generated-search-models.ts
-
curl -L -o generated-search-models.ts https://huggingface.co/spaces/teaql/browser-sqlite-playground/resolve/main/source/teaql-ts/examples/conformance/src/generated-search-models.ts
1.09 kB
| import type { GeneratedSearchModel } from "teaql-ts"; | |
| /** Generated trusted naming/type metadata. No query execution or authorization lives here. */ | |
| export const GENERATED_SEARCH_MODELS: Readonly<Record<string, GeneratedSearchModel>> = Object.freeze({ | |
| "Platform": Object.freeze({ | |
| fields: Object.freeze({ | |
| "id": "integer" as const, | |
| "name": "string" as const, | |
| "version": "integer" as const, | |
| }), | |
| queryFields: Object.freeze({ | |
| "id": "id", | |
| "name": "name", | |
| "version": "version", | |
| }), | |
| relations: Object.freeze({ | |
| "workItemList": "WorkItem", | |
| }), | |
| }), | |
| "WorkItem": Object.freeze({ | |
| fields: Object.freeze({ | |
| "id": "integer" as const, | |
| "title": "string" as const, | |
| "description": "string" as const, | |
| "platform": "integer" as const, | |
| "version": "integer" as const, | |
| }), | |
| queryFields: Object.freeze({ | |
| "id": "id", | |
| "title": "title", | |
| "description": "description", | |
| "platform": "platform", | |
| "version": "version", | |
| }), | |
| relations: Object.freeze({ | |
| "platform": "Platform", | |
| }), | |
| }), | |
| }); |