Skip to content

Document vertical support #221

Document vertical support

Document vertical support #221

Triggered via pull request September 29, 2023 17:58
Status Failure
Total duration 32s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

update_docs.yml

on: pull_request
call_update_docs  /  update-docs
22s
call_update_docs / update-docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
call_update_docs / update-docs: src/slices/directanswer.ts#L19
Type '{ setResult: (state: DirectAnswerState, action: PayloadAction<FeaturedSnippetDirectAnswer | FieldValueDirectAnswer | undefined>) => void; }' does not satisfy the constraint 'SliceCaseReducers<DirectAnswerState>'.
call_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs: 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_update_docs / update-docs
Process completed with exit code 2.