fix(editor): Fix most ts errors in credential components (no-changelog) (#9576)

This commit is contained in:
Tomi Turtiainen
2024-06-03 11:28:41 +03:00
committed by GitHub
parent 379e2da547
commit 0e10c84efd
6 changed files with 51 additions and 51 deletions

View File

@@ -118,6 +118,9 @@ declare global {
}
}
/** String that represents a timestamp in the ISO8601 format, i.e. YYYY-MM-DDTHH:MM:SS.sssZ */
export type Iso8601String = string;
export type EndpointStyle = {
width?: number;
height?: number;
@@ -351,8 +354,8 @@ export interface IShareWorkflowsPayload {
export interface ICredentialsResponse extends ICredentialsEncrypted {
id: string;
createdAt: number | string;
updatedAt: number | string;
createdAt: Iso8601String;
updatedAt: Iso8601String;
sharedWithProjects?: ProjectSharingData[];
homeProject?: ProjectSharingData;
currentUserHasAccess?: boolean;
@@ -361,8 +364,8 @@ export interface ICredentialsResponse extends ICredentialsEncrypted {
}
export interface ICredentialsBase {
createdAt: number | string;
updatedAt: number | string;
createdAt: Iso8601String;
updatedAt: Iso8601String;
}
export interface ICredentialsDecryptedResponse extends ICredentialsBase, ICredentialsDecrypted {