mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-08 13:00:05 +00:00
chore(*): change code style to remove semicolons
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export interface Context {
|
||||
name: string;
|
||||
id: string;
|
||||
createdBy: string;
|
||||
version: number;
|
||||
name: string
|
||||
id: string
|
||||
createdBy: string
|
||||
version: number
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export interface CsrfToken {
|
||||
headerName: string;
|
||||
value: string;
|
||||
headerName: string
|
||||
value: string
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Link } from "./Link";
|
||||
import { Link } from "./Link"
|
||||
|
||||
export interface Folder {
|
||||
id: string;
|
||||
uri: string;
|
||||
links: Link[];
|
||||
id: string
|
||||
uri: string
|
||||
links: Link[]
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { Link } from "./Link";
|
||||
import { JobResult } from "./JobResult";
|
||||
import { Link } from "./Link"
|
||||
import { JobResult } from "./JobResult"
|
||||
|
||||
export interface Job {
|
||||
id: string;
|
||||
name: string;
|
||||
uri: string;
|
||||
createdBy: string;
|
||||
code?: string;
|
||||
links: Link[];
|
||||
results: JobResult;
|
||||
error?: any;
|
||||
id: string
|
||||
name: string
|
||||
uri: string
|
||||
createdBy: string
|
||||
code?: string
|
||||
links: Link[]
|
||||
results: JobResult
|
||||
error?: any
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export interface JobDefinition {
|
||||
code: string;
|
||||
code: string
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export interface JobResult {
|
||||
"_webout.json": string;
|
||||
"_webout.json": string
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export interface Link {
|
||||
method: string;
|
||||
rel: string;
|
||||
href: string;
|
||||
uri: string;
|
||||
type: string;
|
||||
method: string
|
||||
rel: string
|
||||
href: string
|
||||
uri: string
|
||||
type: string
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ServerType } from "./ServerType";
|
||||
import { ServerType } from "./ServerType"
|
||||
|
||||
/**
|
||||
* Specifies the configuration for the SASjs instance.
|
||||
@@ -10,22 +10,22 @@ export class SASjsConfig {
|
||||
* Can be omitted, eg if serving directly from the SAS Web Server or being
|
||||
* streamed.
|
||||
*/
|
||||
serverUrl: string = "";
|
||||
pathSAS9: string = "";
|
||||
pathSASViya: string = "";
|
||||
serverUrl: string = ""
|
||||
pathSAS9: string = ""
|
||||
pathSASViya: string = ""
|
||||
/**
|
||||
* The appLoc is the parent folder under which the SAS services (STPs or Job
|
||||
* Execution Services) are stored.
|
||||
*/
|
||||
appLoc: string = "";
|
||||
appLoc: string = ""
|
||||
/**
|
||||
* Can be SAS9 or SASVIYA
|
||||
*/
|
||||
serverType: ServerType | null = null;
|
||||
serverType: ServerType | null = null
|
||||
/**
|
||||
* Set to `true` to enable additional debugging.
|
||||
*/
|
||||
debug: boolean = true;
|
||||
contextName: string = "";
|
||||
useComputeApi = false;
|
||||
debug: boolean = true
|
||||
contextName: string = ""
|
||||
useComputeApi = false
|
||||
}
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
*
|
||||
*/
|
||||
export interface SASjsRequest {
|
||||
serviceLink: string;
|
||||
timestamp: Date;
|
||||
sourceCode: string;
|
||||
generatedCode: string;
|
||||
logFile: string;
|
||||
SASWORK: any;
|
||||
serviceLink: string
|
||||
timestamp: Date
|
||||
sourceCode: string
|
||||
generatedCode: string
|
||||
logFile: string
|
||||
SASWORK: any
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
export interface SASjsWaitingRequest {
|
||||
requestPromise: {
|
||||
promise: any;
|
||||
resolve: any;
|
||||
reject: any;
|
||||
};
|
||||
SASjob: string;
|
||||
data: any;
|
||||
config?: any;
|
||||
promise: any
|
||||
resolve: any
|
||||
reject: any
|
||||
}
|
||||
SASjob: string
|
||||
data: any
|
||||
config?: any
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { Link } from "./Link";
|
||||
import { Link } from "./Link"
|
||||
|
||||
export interface Session {
|
||||
id: string;
|
||||
state: string;
|
||||
links: Link[];
|
||||
id: string
|
||||
state: string
|
||||
links: Link[]
|
||||
attributes: {
|
||||
sessionInactiveTimeout: number;
|
||||
};
|
||||
creationTimeStamp: string;
|
||||
sessionInactiveTimeout: number
|
||||
}
|
||||
creationTimeStamp: string
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*
|
||||
*/
|
||||
export interface UploadFile {
|
||||
file: File;
|
||||
fileName: string;
|
||||
file: File
|
||||
fileName: string
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
export * from "./Context";
|
||||
export * from "./CsrfToken";
|
||||
export * from "./Folder";
|
||||
export * from "./Job";
|
||||
export * from "./Link";
|
||||
export * from "./SASjsConfig";
|
||||
export * from "./SASjsRequest";
|
||||
export * from "./SASjsWaitingRequest";
|
||||
export * from "./ServerType";
|
||||
export * from "./Session";
|
||||
export * from "./UploadFile";
|
||||
export * from "./Context"
|
||||
export * from "./CsrfToken"
|
||||
export * from "./Folder"
|
||||
export * from "./Job"
|
||||
export * from "./Link"
|
||||
export * from "./SASjsConfig"
|
||||
export * from "./SASjsRequest"
|
||||
export * from "./SASjsWaitingRequest"
|
||||
export * from "./ServerType"
|
||||
export * from "./Session"
|
||||
export * from "./UploadFile"
|
||||
|
||||
Reference in New Issue
Block a user