mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Fix most ts errors in credential components (no-changelog) (#9576)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user