1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-10 22:00:05 +00:00

chore: added extra attributes type from @sasjs/utils

This commit is contained in:
2021-06-10 14:22:31 +02:00
parent 5beda6547a
commit dadce3d4c9
6 changed files with 8 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ import {
Sas9JobExecutor
} from './job-execution'
import { ErrorResponse } from './types/errors'
import { ExtraResponseAttributes } from './types/ExtraResponseAttributes'
import { ExtraResponseAttributes } from '@sasjs/utils/types'
const defaultConfig: SASjsConfig = {
serverUrl: '',

View File

@@ -5,7 +5,7 @@ import {
JobExecutionError,
LoginRequiredError
} from '../types/errors'
import { ExtraResponseAttributes } from '../types/ExtraResponseAttributes'
import { ExtraResponseAttributes } from '@sasjs/utils/types'
import { BaseJobExecutor } from './JobExecutor'
export class JesJobExecutor extends BaseJobExecutor {

View File

@@ -1,6 +1,6 @@
import { ServerType } from '@sasjs/utils/types'
import { SASjsRequest } from '../types'
import { ExtraResponseAttributes } from '../types/ExtraResponseAttributes'
import { ExtraResponseAttributes } from '@sasjs/utils/types'
import { asyncForEach, parseGeneratedCode, parseSourceCode } from '../utils'
export type ExecuteFunction = () => Promise<any>

View File

@@ -1,6 +0,0 @@
/**
* Represents a SASjs request parameter that will select which attributes are wanted in
* response object on top of default `webout` object.
*
*/
export type ExtraResponseAttributes = 'file' | 'data' | 'output' | null