@raycast/api 1.58.1 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +17 -5
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -811,7 +811,7 @@ export declare namespace Clipboard {
|
|
|
811
811
|
*
|
|
812
812
|
* await Clipboard.copy(fileContent);
|
|
813
813
|
*
|
|
814
|
-
* await Clipboard.copy("SecretPassword", {
|
|
814
|
+
* await Clipboard.copy("SecretPassword", { concealed: true });
|
|
815
815
|
* };
|
|
816
816
|
* ```
|
|
817
817
|
*/
|
|
@@ -954,9 +954,13 @@ export declare namespace Clipboard {
|
|
|
954
954
|
};
|
|
955
955
|
export type CopyOptions = {
|
|
956
956
|
/**
|
|
957
|
-
*
|
|
957
|
+
* @deprecated Use `concealed` instead.
|
|
958
958
|
*/
|
|
959
|
-
transient
|
|
959
|
+
transient?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* Indicates whether the content be treated as confidential. If `true`, it will not be recorded in the Clipboard History.
|
|
962
|
+
*/
|
|
963
|
+
concealed?: boolean;
|
|
960
964
|
};
|
|
961
965
|
}
|
|
962
966
|
|
|
@@ -1510,10 +1514,14 @@ declare interface CopyToClipboardProps {
|
|
|
1510
1514
|
*/
|
|
1511
1515
|
icon?: Image.ImageLike;
|
|
1512
1516
|
/**
|
|
1513
|
-
*
|
|
1514
|
-
* @defaultValue `false`
|
|
1517
|
+
* @deprecated Use `concealed` instead.
|
|
1515
1518
|
*/
|
|
1516
1519
|
transient?: boolean;
|
|
1520
|
+
/**
|
|
1521
|
+
* Indicates whether the content be treated as confidential. If `true`, it will not be recorded in the Clipboard History.
|
|
1522
|
+
* @defaultValue `false`
|
|
1523
|
+
*/
|
|
1524
|
+
concealed?: boolean;
|
|
1517
1525
|
/**
|
|
1518
1526
|
* The keyboard shortcut for the Action.
|
|
1519
1527
|
*/
|
|
@@ -1597,6 +1605,10 @@ declare interface DatePickerMembers_2 {
|
|
|
1597
1605
|
* * `DateTime` - hour and second can be picked in addition to year, month and day
|
|
1598
1606
|
*/
|
|
1599
1607
|
Type: typeof DatePickerType_2;
|
|
1608
|
+
/**
|
|
1609
|
+
* Determines if the given date represents a full day or a specific time.
|
|
1610
|
+
*/
|
|
1611
|
+
isFullDay(date?: Date | null): boolean;
|
|
1600
1612
|
}
|
|
1601
1613
|
|
|
1602
1614
|
declare interface DatePickerProps extends FormItemProps_2<Date | null> {
|