diff --git a/lib/types.ts b/lib/types.ts index 066039c..c9a80f2 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -201,16 +201,23 @@ export type ExposeAllUiPaths = Store extends string ? PreviousPath : never export type ExposeServicePaths = Array<{ - /** Sets the value for the wrapper at the path, it will override, using the [JsonPath](https://jsonpath.com/) */ + /** The path to the value in the Store. [JsonPath](https://jsonpath.com/) */ path: ExposeAllServicePaths }> export type ExposeUiPaths = Array<{ - /** Sets the value for the wrapper at the path, it will override, using the [JsonPath](https://jsonpath.com/) */ + /** The path to the value in the Store. [JsonPath](https://jsonpath.com/) */ path: ExposeAllUiPaths - - /** This will be the title for the value field that is returned */ + /** A human readable title for the value */ title: string + /** A human readable description or explanation of the value */ + description?: string + /** (string/number only) Whether or not to mask the value, for example, when displaying a password */ + masked?: boolean + /** (string/number only) Whether or not to include a button for copying the value to clipboard */ + copyable?: boolean + /** (string/number only) Whether or not to include a button for displaying the value as a QR code */ + qr?: boolean }> /** Used to reach out from the pure js runtime */ export type Effects = {