-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate from local @objectstack/spec stub to published package v0.3.1 #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1134fb1
8a549cf
a809390
57a2128
998e1c5
9f51864
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||||||||||||||||
| import { Data, System } from '@objectstack/spec'; | ||||||||||||||||||
| type QueryAST = Data.QueryAST; | ||||||||||||||||||
| type FilterNode = Data.FilterNode; | ||||||||||||||||||
| type SortNode = Data.SortNode; | ||||||||||||||||||
| type DriverInterface = System.DriverInterface; | ||||||||||||||||||
| /** | ||||||||||||||||||
| * ObjectQL | ||||||||||||||||||
| * Copyright (c) 2026-present ObjectStack Inc. | ||||||||||||||||||
|
Comment on lines
+5
to
8
|
||||||||||||||||||
| type DriverInterface = System.DriverInterface; | |
| /** | |
| * ObjectQL | |
| * Copyright (c) 2026-present ObjectStack Inc. | |
| /** | |
| * ObjectQL | |
| * Copyright (c) 2026-present ObjectStack Inc. | |
| * Copyright (c) 2026-present ObjectStack Inc. |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,3 +1,8 @@ | ||||
| import { Data, System } from '@objectstack/spec'; | ||||
| type QueryAST = Data.QueryAST; | ||||
| type FilterNode = Data.FilterNode; | ||||
| type SortNode = Data.SortNode; | ||||
| type DriverInterface = System.DriverInterface; | ||||
|
||||
| type DriverInterface = System.DriverInterface; |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,10 @@ | |||||
|
|
||||||
| import { ObjectQLContext, IObjectQL, ObjectConfig, Driver, UnifiedQuery, ActionContext, HookAPI, RetrievalHookContext, MutationHookContext, UpdateHookContext, ValidationContext, ValidationError, ValidationRuleResult, FormulaContext, Filter } from '@objectql/types'; | ||||||
|
||||||
| import { ObjectQLContext, IObjectQL, ObjectConfig, Driver, UnifiedQuery, ActionContext, HookAPI, RetrievalHookContext, MutationHookContext, UpdateHookContext, ValidationContext, ValidationError, ValidationRuleResult, FormulaContext, Filter } from '@objectql/types'; | |
| import { ObjectQLContext, IObjectQL, ObjectConfig, Driver, UnifiedQuery, ActionContext, HookAPI, RetrievalHookContext, MutationHookContext, UpdateHookContext, ValidationContext, ValidationError, ValidationRuleResult, FormulaContext } from '@objectql/types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
DriverInterfacetype is imported but never used. After the migration, driver classes only implement theDriverinterface and no longer explicitly implementDriverInterface. This import should be removed to keep the code clean.