You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of using @sinclair/typebox we export what are considered slow types, this means that when publishing we need to disable slow types check and the same applies to linting. This is an all or nothing option so we cannot allow certain scenarios.
It would be good to find a solution to remove the slow types.
error[missing-explicit-type]: missing explicit type in the public API
--> /Users/scotttwiname/Projects/subql-ai-app-framework/src/context/context.ts:5:14
|
5 | export const ContextType = Type.Object({
| ^^^^^^^^^^^ this symbol is missing an explicit type
|
= hint: add an explicit type annotation to the symbol
info: all symbols in the public API must have an explicit type
docs: https://jsr.io/go/slow-type-missing-explicit-type
error[missing-explicit-type]: missing explicit type in the public API
--> /Users/scotttwiname/Projects/subql-ai-app-framework/src/project/project.ts:7:14
|
7 | export const FunctionToolType = Type.Object({
| ^^^^^^^^^^^^^^^^ this symbol is missing an explicit type
|
= hint: add an explicit type annotation to the symbol
info: all symbols in the public API must have an explicit type
docs: https://jsr.io/go/slow-type-missing-explicit-type
error[missing-explicit-type]: missing explicit type in the public API
--> /Users/scotttwiname/Projects/subql-ai-app-framework/src/project/project.ts:25:14
|
25 | export const ProjectManifest = Type.Object({
| ^^^^^^^^^^^^^^^ this symbol is missing an explicit type
|
= hint: add an explicit type annotation to the symbol
info: all symbols in the public API must have an explicit type
docs: https://jsr.io/go/slow-type-missing-explicit-type
error[missing-explicit-type]: missing explicit type in the public API
--> /Users/scotttwiname/Projects/subql-ai-app-framework/src/project/project.ts:47:14
|
47 | export const Project = Type.Object({
| ^^^^^^^ this symbol is missing an explicit type
|
= hint: add an explicit type annotation to the symbol
info: all symbols in the public API must have an explicit type
docs: https://jsr.io/go/slow-type-missing-explicit-type
error[missing-explicit-type]: missing explicit type in the public API
--> /Users/scotttwiname/Projects/subql-ai-app-framework/src/project/project.ts:52:14
|
52 | export const ProjectEntry = Type.Function(
| ^^^^^^^^^^^^ this symbol is missing an explicit type
|
= hint: add an explicit type annotation to the symbol
info: all symbols in the public API must have an explicit type
docs: https://jsr.io/go/slow-type-missing-explicit-type
The text was updated successfully, but these errors were encountered:
Because of using
@sinclair/typebox
we export what are considered slow types, this means that when publishing we need to disable slow types check and the same applies to linting. This is an all or nothing option so we cannot allow certain scenarios.It would be good to find a solution to remove the slow types.
The text was updated successfully, but these errors were encountered: