Skip to content

Commit

Permalink
[_]:(fix) Add missing UUID property to create folder response
Browse files Browse the repository at this point in the history
  • Loading branch information
PixoDev committed May 6, 2024
1 parent 7793c4b commit db2053f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internxt/sdk",
"version": "1.4.78",
"version": "1.4.79",
"description": "An sdk for interacting with Internxt's services",
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions src/drive/storage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export interface CreateFolderResponse {
createdAt: string;
updatedAt: string;
userId: number;
uuid: string;
}

export interface MoveFolderPayload {
Expand Down Expand Up @@ -347,8 +348,8 @@ export interface MoveFileResponse {
export type UsageResponse = {
_id: string;
} & {
[k in 'drive' | 'backups' | 'total']: number;
};
[k in 'drive' | 'backups' | 'total']: number;
};

export interface FetchLimitResponse {
maxSpaceBytes: number;
Expand Down
1 change: 1 addition & 0 deletions test/drive/storage/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ describe('# storage service tests', () => {
parentId: 0,
updatedAt: '',
userId: 1,
uuid: '1234-5678-1234-5678',
};
const callStub = sinon.stub(httpClient, 'postCancellable').returns({
promise: Promise.resolve(createFolderResponse),
Expand Down

0 comments on commit db2053f

Please sign in to comment.