Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@internxt/sdk",
"author": "Internxt <hello@internxt.com>",
"version": "1.11.23",
"version": "1.11.24",
"description": "An sdk for interacting with Internxt's services",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions src/drive/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
FolderAncestorWorkspace,
FolderMeta,
FolderTreeResponse,
GetFileLimitsResponse,
FileLimitsResponse,
MoveFilePayload,
MoveFileResponse,
MoveFileUuidPayload,
Expand Down Expand Up @@ -895,9 +895,9 @@ export class Storage {
/**
* Gets the file version limits for the user
*
* @returns {Promise<GetFileLimitsResponse>} A promise that resolves with the file limits.
* @returns {Promise<FileLimitsResponse>} A promise that resolves with the file limits.
*/
public getFileVersionLimits(): Promise<GetFileLimitsResponse> {
return this.client.get<GetFileLimitsResponse>('/files/limits', this.headers());
public getFileVersionLimits(): Promise<FileLimitsResponse> {
return this.client.get<FileLimitsResponse>('/files/limits', this.headers());
}
}
2 changes: 1 addition & 1 deletion src/drive/storage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
parent: string | null;
bucket: string;
userId: number;
user: any | null;

Check warning on line 98 in src/drive/storage/types.ts

View workflow job for this annotation

GitHub Actions / test (22.x)

Unexpected any. Specify a different type
encryptVersion: string;
deleted: boolean;
deletedAt: string | null;
Expand All @@ -119,8 +119,8 @@
id: string;
token: string;
mnemonic: string;
user: any;

Check warning on line 122 in src/drive/storage/types.ts

View workflow job for this annotation

GitHub Actions / test (22.x)

Unexpected any. Specify a different type
item: any;

Check warning on line 123 in src/drive/storage/types.ts

View workflow job for this annotation

GitHub Actions / test (22.x)

Unexpected any. Specify a different type
encryptionKey: string;
bucket: string;
itemToken: string;
Expand Down Expand Up @@ -472,4 +472,4 @@
export type RestoreFileVersionResponse =
paths['/files/{uuid}/versions/{versionId}/restore']['post']['responses']['200']['content']['application/json'];

export type GetFileLimitsResponse = paths['/files/limits']['get']['responses']['200']['content']['application/json'];
export type FileLimitsResponse = paths['/files/limits']['get']['responses']['200']['content']['application/json'];
Loading