mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 01:14:36 +00:00
chore: added extra attributes type from @sasjs/utils
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -1253,11 +1253,11 @@
|
||||
}
|
||||
},
|
||||
"@sasjs/utils": {
|
||||
"version": "2.18.0",
|
||||
"resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-2.18.0.tgz",
|
||||
"integrity": "sha512-6VTbRP1KU0gGi1mSIHl+XyL9Vqk8rBW7a7VQOF6vzD+AVgfgYd0t76djAUCcA7Dos8NJXAoDUuah+iNvXJY+cw==",
|
||||
"version": "2.20.0",
|
||||
"resolved": "https://registry.npmjs.org/@sasjs/utils/-/utils-2.20.0.tgz",
|
||||
"integrity": "sha512-PBJswfumyejsb8wJQpSZ96zFEEeJ+AlpxWXhz9uT9D8bNCStfCd75E1JdV71RwxdavsKiGMSSh5UcGDyehFA4w==",
|
||||
"requires": {
|
||||
"@types/prompts": "^2.0.11",
|
||||
"@types/prompts": "^2.0.13",
|
||||
"chalk": "^4.1.1",
|
||||
"cli-table": "^0.3.6",
|
||||
"consola": "^2.15.0",
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
},
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@sasjs/utils": "^2.18.0",
|
||||
"@sasjs/utils": "^2.20.0",
|
||||
"axios": "^0.21.1",
|
||||
"axios-cookiejar-support": "^1.0.1",
|
||||
"form-data": "^4.0.0",
|
||||
|
||||
@@ -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: '',
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user