diff --git a/src/types.ts b/src/types.ts index 820dc13..172c0f9 100644 --- a/src/types.ts +++ b/src/types.ts @@ -100,6 +100,7 @@ declare namespace ItemSection { t: "password" } + // eslint-disable-next-line @typescript-eslint/ban-types type Any = String | Menu | Date | Gender | MonthYear | Concealed } @@ -128,16 +129,38 @@ export interface Folder { overview: string // "b3BkYXRhT/../KBM=" smart?: true tx: number // 1373754523 - updated: number // 1373754134 + /** Updated time, UNIX seconds */ + updated: number uuid: string // "AC78552EB06A4F65BEBF58B4D9E32080" } export interface Overview { + /** + * Password strength. + * + * `ps is the value for manually entered passwords and is used to display the relative strength value.` + */ ps: number + + /** + * Password Bits of Entropy used for generating the password. + */ + pbe?: number + + /** + * https://1password.community/discussion/comment/372147/#Comment_372147 + * pbe should be used for password strength display + */ + pgrng?: boolean title?: string ainfo?: string url?: string tags?: string[] URLs?: { u: string }[] uuid?: string // Added manually + appIds: { + name: string // 'Firefox' | 'Email' + type: string // 'accessibility://login' + id: string // 'android://...' + }[] }