Document vertical support #1322
Annotations
21 errors
call_run_tests / tests (14.x):
src/slices/directanswer.ts#L19
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' does not satisfy the constraint 'SliceCaseReducers<DirectAnswerState>'.
|
call_run_tests / tests (14.x):
src/slices/directanswer.ts#L20
Type 'Slice<DirectAnswerState, SliceCaseReducers<DirectAnswerState>, string>' is not assignable to type 'Slice<DirectAnswerState, { setResult: (state: DirectAnswerState, action: { payload: FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined; type: string; }) => void; }, string>'.
|
call_run_tests / tests (14.x):
src/slices/directanswer.ts#L23
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<DirectAnswerState, SliceCaseReducers<DirectAnswerState>>'.
|
call_run_tests / tests (14.x):
src/slices/universal.ts#L23
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' does not satisfy the constraint 'SliceCaseReducers<UniversalSearchState>'.
|
call_run_tests / tests (14.x):
src/slices/universal.ts#L24
Type 'Slice<UniversalSearchState, SliceCaseReducers<UniversalSearchState>, string>' is not assignable to type 'Slice<UniversalSearchState, { setVerticals: (state: UniversalSearchState, action: { payload: VerticalResults[]; type: string; }) => void; setLimit: (state: UniversalSearchState, action: { ...; }) => void; setRestrictVerticals: (state: UniversalSearchState, action: { ...; }) => void; }, string>'.
|
call_run_tests / tests (14.x):
src/slices/universal.ts#L27
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<UniversalSearchState, SliceCaseReducers<UniversalSearchState>>'.
|
call_run_tests / tests (14.x):
src/slices/vertical.ts#L59
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' does not satisfy the constraint 'SliceCaseReducers<VerticalSearchState>'.
|
call_run_tests / tests (14.x):
src/slices/vertical.ts#L60
Type 'Slice<VerticalSearchState, SliceCaseReducers<VerticalSearchState>, string>' is not assignable to type 'Slice<VerticalSearchState, { handleSearchResponse: (state: VerticalSearchState, action: { payload: VerticalSearchResponse; type: string; }) => void; ... 5 more ...; setLocationRadius: (state: VerticalSearchState, action: { ...; }) => void; }, string>'.
|
call_run_tests / tests (14.x):
src/slices/vertical.ts#L63
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' is not assignable to type 'ValidateSliceCaseReducers<VerticalSearchState, SliceCaseReducers<VerticalSearchState>>'.
|
call_run_tests / tests (14.x)
Process completed with exit code 2.
|
call_run_tests / tests (16.x)
The job was canceled because "_14_x" failed.
|
call_run_tests / tests (16.x):
src/slices/directanswer.ts#L19
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' does not satisfy the constraint 'SliceCaseReducers<DirectAnswerState>'.
|
call_run_tests / tests (16.x):
src/slices/directanswer.ts#L20
Type 'Slice<DirectAnswerState, SliceCaseReducers<DirectAnswerState>, string>' is not assignable to type 'Slice<DirectAnswerState, { setResult: (state: DirectAnswerState, action: { payload: FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined; type: string; }) => void; }, string>'.
|
call_run_tests / tests (16.x):
src/slices/directanswer.ts#L23
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<DirectAnswerState, SliceCaseReducers<DirectAnswerState>>'.
|
call_run_tests / tests (16.x):
src/slices/universal.ts#L23
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' does not satisfy the constraint 'SliceCaseReducers<UniversalSearchState>'.
|
call_run_tests / tests (16.x):
src/slices/universal.ts#L24
Type 'Slice<UniversalSearchState, SliceCaseReducers<UniversalSearchState>, string>' is not assignable to type 'Slice<UniversalSearchState, { setVerticals: (state: UniversalSearchState, action: { payload: VerticalResults[]; type: string; }) => void; setLimit: (state: UniversalSearchState, action: { ...; }) => void; setRestrictVerticals: (state: UniversalSearchState, action: { ...; }) => void; }, string>'.
|
call_run_tests / tests (16.x):
src/slices/universal.ts#L27
Type '{ setVerticals: (state: UniversalSearchState, action: PayloadAction<VerticalResults[]>) => void; setLimit: (state: UniversalSearchState, action: PayloadAction<UniversalLimit>) => void; setRestrictVerticals: (state: UniversalSearchState, action: PayloadAction<string[]>) => void; }' is not assignable to type 'ValidateSliceCaseReducers<UniversalSearchState, SliceCaseReducers<UniversalSearchState>>'.
|
call_run_tests / tests (16.x):
src/slices/vertical.ts#L59
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' does not satisfy the constraint 'SliceCaseReducers<VerticalSearchState>'.
|
call_run_tests / tests (16.x):
src/slices/vertical.ts#L60
Type 'Slice<VerticalSearchState, SliceCaseReducers<VerticalSearchState>, string>' is not assignable to type 'Slice<VerticalSearchState, { handleSearchResponse: (state: VerticalSearchState, action: { payload: VerticalSearchResponse; type: string; }) => void; ... 5 more ...; setLocationRadius: (state: VerticalSearchState, action: { ...; }) => void; }, string>'.
|
call_run_tests / tests (16.x):
src/slices/vertical.ts#L63
Type '{ handleSearchResponse: (state: VerticalSearchState, action: PayloadAction<VerticalSearchResponse>) => void; setDisplayName: (state: VerticalSearchState, action: PayloadAction<string>) => void; setLimit: (state: VerticalSearchState, action: PayloadAction<number>) => void; setOffset: (state: VerticalSearchState, acti...' is not assignable to type 'ValidateSliceCaseReducers<VerticalSearchState, SliceCaseReducers<VerticalSearchState>>'.
|
call_run_tests / tests (16.x)
Process completed with exit code 2.
|