Skip to content

Commit abe4cd5

Browse files
authored
Update base folder (#35)
Update base folder (inspired by Asana snapin): https://github.com/devrev/airdrop-asana-snap-in/ Issue: https://app.devrev.ai/devrev/works/ISS-210921
1 parent 4b8bd1a commit abe4cd5

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

base_folder/src/functions/extraction/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export interface ExtractorState {}
66

77
export const initialState: ExtractorState = {};
88

9+
910
function getWorkerPerExtractionPhase(event: FunctionInput) {
1011
let path;
1112
switch (event.payload.event_type) {

base_folder/src/functions/extraction/workers/attachments-extraction.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ExtractorEventType, processTask } from '@devrev/ts-adaas';
2-
import { ExtractorState } from "../index";
32

4-
processTask<ExtractorState>({
3+
processTask({
54
task: async ({ adapter }) => {},
65
onTimeout: async ({ adapter }) => {
76
await adapter.emit(ExtractorEventType.ExtractionAttachmentsProgress);

base_folder/src/functions/extraction/workers/external-sync-units-extraction.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ExtractorEventType, processTask } from "@devrev/ts-adaas";
2-
import { ExtractorState } from "../index";
32

4-
processTask<ExtractorState>({
3+
processTask({
54
task: async ({ adapter }) => {},
65
onTimeout: async ({ adapter }) => {
76
await adapter.emit(ExtractorEventType.ExtractionExternalSyncUnitsError, {

base_folder/src/functions/extraction/workers/metadata-extraction.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { processTask, ExtractorEventType } from '@devrev/ts-adaas';
2-
import { ExtractorState } from '../index';
32

4-
processTask<ExtractorState>({
3+
processTask({
54
task: async ({ adapter }) => {},
65
onTimeout: async ({ adapter }) => {
76
await adapter.emit(ExtractorEventType.ExtractionMetadataError, {

0 commit comments

Comments
 (0)