1
0
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:
Krishna Acondy
2020-09-01 11:51:17 +01:00
parent 619833db29
commit 755bf7d07c
39 changed files with 1001 additions and 1003 deletions

View File

@@ -1,6 +1,6 @@
export interface Context {
name: string;
id: string;
createdBy: string;
version: number;
name: string
id: string
createdBy: string
version: number
}

View File

@@ -1,4 +1,4 @@
export interface CsrfToken {
headerName: string;
value: string;
headerName: string
value: string
}

View File

@@ -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[]
}

View File

@@ -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
}

View File

@@ -1,3 +1,3 @@
export interface JobDefinition {
code: string;
code: string
}

View File

@@ -1,3 +1,3 @@
export interface JobResult {
"_webout.json": string;
"_webout.json": string
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -3,6 +3,6 @@
*
*/
export interface UploadFile {
file: File;
fileName: string;
file: File
fileName: string
}

View File

@@ -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"