1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-10 17:04:36 +00:00

chore: fixing type duplicate

This commit is contained in:
2025-06-05 10:07:13 +02:00
parent 49fba07824
commit e11c97ec5d
2 changed files with 1 additions and 35 deletions

View File

@@ -28,7 +28,6 @@ import { uploadTables } from './api/viya/uploadTables'
import { executeOnComputeApi } from './api/viya/executeOnComputeApi'
import { getAccessTokenForViya } from './auth/getAccessTokenForViya'
import { refreshTokensForViya } from './auth/refreshTokensForViya'
import { FileContentUpdate } from './types/FileContentUpdate'
import { FileResource } from './types/FileResource'
interface JobExecutionResult {
@@ -379,7 +378,7 @@ export class SASViyaApiClient {
)
return await this.requestClient
.put<FileContentUpdate>(
.put<FileResource>(
`${this.serverUrl}${fileUri}/content`,
content,
accessToken,

View File

@@ -1,33 +0,0 @@
export interface FileContentUpdate {
creationTimeStamp: string
modifiedTimeStamp: string
createdBy: string
modifiedBy: string
id: string
properties: Properties
contentDisposition: string
contentType: string
encoding: string
links: Link[]
name: string
size: number
searchable: boolean
fileStatus: string
fileVersion: number
typeDefName: string
version: number
virusDetected: boolean
urlDetected: boolean
quarantine: boolean
}
export interface Link {
method: string
rel: string
href: string
uri: string
type?: string
responseType?: string
}
export interface Properties {}