Skip to content

Allow for using queries and expressions in models #119

Allow for using queries and expressions in models

Allow for using queries and expressions in models #119

Triggered via pull request February 10, 2025 10:36
@leoleo
synchronize #42
leo/ron-1099
Status Failure
Total duration 16s
Artifacts

publish-experimental.yml

on: pull_request
publish-experimental  /  Deploy
6s
publish-experimental / Deploy
Fit to window
Zoom out
Zoom in

Annotations

10 errors
publish-experimental / Deploy: src/queries/index.ts#L101
Element implicitly has an 'any' type because expression of type '"__RONIN_QUERY"' can't be used to index type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }'.
publish-experimental / Deploy: src/queries/index.ts#L106
Element implicitly has an 'any' type because expression of type '"__RONIN_QUERY"' can't be used to index type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }'.
publish-experimental / Deploy: src/queries/index.ts#L114
Spread types may only be created from object types.
publish-experimental / Deploy: src/queries/index.ts#L128
Element implicitly has an 'any' type because expression of type '"__RONIN_QUERY"' can't be used to index type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }'.
publish-experimental / Deploy: src/queries/index.ts#L130
Property 'fields' does not exist on type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }'.
publish-experimental / Deploy: src/queries/index.ts#L131
Property 'presets' does not exist on type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }'.
publish-experimental / Deploy: src/queries/index.ts#L143
Type '{ structure?: unknown; options?: Record<string, unknown>; }' is not assignable to type 'SyntaxItem<unknown>'.
publish-experimental / Deploy: src/queries/index.ts#L152
Type '{ structure?: unknown; options?: Record<string, unknown> | undefined; }' has no properties in common with type 'Query'.
publish-experimental / Deploy: src/queries/index.ts#L205
Element implicitly has an 'any' type because expression of type '"__RONIN_QUERY"' can't be used to index type 'Promise<any> | SyntaxItem<Query>'.
publish-experimental / Deploy: src/queries/index.ts#L206
Property 'options' does not exist on type '{ structure: any; }'.