-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove object loading by id and key (#269)
* refactor: update sdk * fix: update test * refactor: update openapi * chore: bump runtime * fix: update test * chore: PR comments --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
dff9f25
commit ecec859
Showing
23 changed files
with
2,475 additions
and
587 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
export * from "./ConnectorFile"; | ||
export * from "./ConnectorFiles"; | ||
export * from "./FileReference"; | ||
export * from "./requests/CreateTokenForFileRequest"; | ||
export * from "./requests/CreateTokenQrCodeForFileRequest"; | ||
export * from "./requests/GetAllFilesRequest"; | ||
export * from "./requests/GetOwnFilesRequest"; | ||
export * from "./requests/GetPeerFilesRequest"; | ||
export * from "./requests/LoadPeerFileRequest"; | ||
export * from "./requests/UploadOwnFileRequest"; | ||
export * from "./TruncatedFileReference"; |
11 changes: 7 additions & 4 deletions
11
packages/sdk/src/types/files/requests/LoadPeerFileRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import { FileReference } from "../FileReference"; | ||
import { TruncatedFileReference } from "../TruncatedFileReference"; | ||
|
||
export type LoadPeerFileRequest = TruncatedFileReference | FileReference; | ||
export interface LoadPeerFileRequest { | ||
/** | ||
* starting with 'VE9L' for a truncated reference to a token containing a FileReference or | ||
* starting with 'RklM' for a direct truncated FileReference | ||
*/ | ||
reference: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
packages/sdk/src/types/relationshipTemplates/RelationshipTemplateReference.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/sdk/src/types/relationshipTemplates/TruncatedRelationshipTemplateReference.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
export * from "./ConnectorRelationshipTemplate"; | ||
export * from "./ConnectorRelationshipTemplates"; | ||
export * from "./RelationshipTemplateReference"; | ||
export * from "./requests/CreateOwnRelationshipTemplateRequest"; | ||
export * from "./requests/CreateTokenForOwnRelationshipTemplateRequest"; | ||
export * from "./requests/CreateTokenQrCodeForOwnRelationshipTemplateRequest"; | ||
export * from "./requests/GetOwnRelationshipTemplatesRequest"; | ||
export * from "./requests/GetPeerRelationshipTemplatesRequest"; | ||
export * from "./requests/GetRelationshipTemplatesRequest"; | ||
export * from "./requests/LoadPeerRelationshipTemplateRequest"; | ||
export * from "./TruncatedRelationshipTemplateReference"; |
11 changes: 7 additions & 4 deletions
11
packages/sdk/src/types/relationshipTemplates/requests/LoadPeerRelationshipTemplateRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import { RelationshipTemplateReference } from "../RelationshipTemplateReference"; | ||
import { TruncatedRelationshipTemplateReference } from "../TruncatedRelationshipTemplateReference"; | ||
|
||
export type LoadPeerRelationshipTemplateRequest = TruncatedRelationshipTemplateReference | RelationshipTemplateReference; | ||
export interface LoadPeerRelationshipTemplateRequest { | ||
/** | ||
* starting with 'VE9L' for a truncated reference to a token containing a RelationshipTemplateReference or | ||
* starting with 'UkxU' for a direct truncated RelationshipTemplateReference | ||
*/ | ||
reference: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
packages/sdk/src/types/tokens/requests/LoadPeerTokenRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,4 @@ | ||
export interface LoadPeerTokenByTruncatedReferenceRequest { | ||
export interface LoadPeerTokenRequest { | ||
reference: string; | ||
ephemeral?: boolean; | ||
} | ||
|
||
export interface LoadPeerTokenByReferenceRequest { | ||
id: string; | ||
secretKey: string; | ||
ephemeral?: boolean; | ||
} | ||
|
||
export type LoadPeerTokenRequest = LoadPeerTokenByReferenceRequest | LoadPeerTokenByTruncatedReferenceRequest; |
Oops, something went wrong.