@girs/gcr-4 4.1.0-3.2.7 → 4.1.0-3.2.8

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gcr-4)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gcr-4, generated from library version 4.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Gcr-4, generated from library version 4.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  A library for bits of crypto UI and parsing
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gcr-4.d.cts CHANGED
@@ -882,18 +882,10 @@ export interface Certificate {
882
882
  * A readable description for this certificate
883
883
  */
884
884
  readonly description: string | null
885
- /**
886
- * The expiry date of the certificate
887
- */
888
- readonly expiry_date: GLib.DateTime
889
885
  /**
890
886
  * The expiry date of the certificate
891
887
  */
892
888
  readonly expiryDate: GLib.DateTime
893
- /**
894
- * Common name part of the certificate issuer
895
- */
896
- readonly issuer_name: string | null
897
889
  /**
898
890
  * Common name part of the certificate issuer
899
891
  */
@@ -902,7 +894,6 @@ export interface Certificate {
902
894
  * A readable label for this certificate.
903
895
  */
904
896
  readonly label: string | null
905
- readonly subject_name: string | null
906
897
  readonly subjectName: string | null
907
898
 
908
899
  // Owm methods of Gcr-4.Gcr.Certificate
@@ -1516,17 +1507,17 @@ export module Prompt {
1516
1507
  * Wayland this is the result of an export using the XDG foreign
1517
1508
  * protocol.
1518
1509
  */
1519
- caller_window?: string | null
1510
+ callerWindow?: string | null
1520
1511
  /**
1521
1512
  * The label for the cancel button in the prompt.
1522
1513
  */
1523
- cancel_label?: string | null
1514
+ cancelLabel?: string | null
1524
1515
  /**
1525
1516
  * Whether the additional choice is chosen or not.
1526
1517
  *
1527
1518
  * The additional choice would have been setup using #GcrPrompt:choice-label.
1528
1519
  */
1529
- choice_chosen?: boolean | null
1520
+ choiceChosen?: boolean | null
1530
1521
  /**
1531
1522
  * The label for the additional choice.
1532
1523
  *
@@ -1537,11 +1528,11 @@ export module Prompt {
1537
1528
  *
1538
1529
  * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1539
1530
  */
1540
- choice_label?: string | null
1531
+ choiceLabel?: string | null
1541
1532
  /**
1542
1533
  * The label for the continue button in the prompt.
1543
1534
  */
1544
- continue_label?: string | null
1535
+ continueLabel?: string | null
1545
1536
  /**
1546
1537
  * The detailed description of the prompt.
1547
1538
  *
@@ -1562,7 +1553,7 @@ export module Prompt {
1562
1553
  * password and/or display other relevant user interface for creating a new
1563
1554
  * password.
1564
1555
  */
1565
- password_new?: boolean | null
1556
+ passwordNew?: boolean | null
1566
1557
  /**
1567
1558
  * The title of the prompt.
1568
1559
  *
@@ -1577,51 +1568,6 @@ export module Prompt {
1577
1568
  * user about a previous 'unsuccessful' prompt.
1578
1569
  */
1579
1570
  warning?: string | null
1580
- /**
1581
- * The string handle of the caller's window.
1582
- *
1583
- * The caller window indicates to the prompt which window is prompting the
1584
- * user. The prompt may choose to ignore this information or use it in whatever
1585
- * way it sees fit.
1586
- *
1587
- * In X11, this will be a stringified version of the XWindow handle; in
1588
- * Wayland this is the result of an export using the XDG foreign
1589
- * protocol.
1590
- */
1591
- callerWindow?: string | null
1592
- /**
1593
- * The label for the cancel button in the prompt.
1594
- */
1595
- cancelLabel?: string | null
1596
- /**
1597
- * Whether the additional choice is chosen or not.
1598
- *
1599
- * The additional choice would have been setup using #GcrPrompt:choice-label.
1600
- */
1601
- choiceChosen?: boolean | null
1602
- /**
1603
- * The label for the additional choice.
1604
- *
1605
- * If this is a non-%NULL value then an additional boolean choice will be
1606
- * displayed by the prompt allowing the user to select or deselect it.
1607
- *
1608
- * If %NULL, then no additional choice is displayed.
1609
- *
1610
- * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1611
- */
1612
- choiceLabel?: string | null
1613
- /**
1614
- * The label for the continue button in the prompt.
1615
- */
1616
- continueLabel?: string | null
1617
- /**
1618
- * Whether the prompt will prompt for a new password.
1619
- *
1620
- * This will cause the prompt implementation to ask the user to confirm the
1621
- * password and/or display other relevant user interface for creating a new
1622
- * password.
1623
- */
1624
- passwordNew?: boolean | null
1625
1571
  }
1626
1572
 
1627
1573
  }
@@ -1630,18 +1576,6 @@ export interface Prompt {
1630
1576
 
1631
1577
  // Own properties of Gcr-4.Gcr.Prompt
1632
1578
 
1633
- /**
1634
- * The string handle of the caller's window.
1635
- *
1636
- * The caller window indicates to the prompt which window is prompting the
1637
- * user. The prompt may choose to ignore this information or use it in whatever
1638
- * way it sees fit.
1639
- *
1640
- * In X11, this will be a stringified version of the XWindow handle; in
1641
- * Wayland this is the result of an export using the XDG foreign
1642
- * protocol.
1643
- */
1644
- caller_window: string | null
1645
1579
  /**
1646
1580
  * The string handle of the caller's window.
1647
1581
  *
@@ -1654,37 +1588,16 @@ export interface Prompt {
1654
1588
  * protocol.
1655
1589
  */
1656
1590
  callerWindow: string | null
1657
- /**
1658
- * The label for the cancel button in the prompt.
1659
- */
1660
- cancel_label: string | null
1661
1591
  /**
1662
1592
  * The label for the cancel button in the prompt.
1663
1593
  */
1664
1594
  cancelLabel: string | null
1665
- /**
1666
- * Whether the additional choice is chosen or not.
1667
- *
1668
- * The additional choice would have been setup using #GcrPrompt:choice-label.
1669
- */
1670
- choice_chosen: boolean
1671
1595
  /**
1672
1596
  * Whether the additional choice is chosen or not.
1673
1597
  *
1674
1598
  * The additional choice would have been setup using #GcrPrompt:choice-label.
1675
1599
  */
1676
1600
  choiceChosen: boolean
1677
- /**
1678
- * The label for the additional choice.
1679
- *
1680
- * If this is a non-%NULL value then an additional boolean choice will be
1681
- * displayed by the prompt allowing the user to select or deselect it.
1682
- *
1683
- * If %NULL, then no additional choice is displayed.
1684
- *
1685
- * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1686
- */
1687
- choice_label: string | null
1688
1601
  /**
1689
1602
  * The label for the additional choice.
1690
1603
  *
@@ -1696,10 +1609,6 @@ export interface Prompt {
1696
1609
  * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1697
1610
  */
1698
1611
  choiceLabel: string | null
1699
- /**
1700
- * The label for the continue button in the prompt.
1701
- */
1702
- continue_label: string | null
1703
1612
  /**
1704
1613
  * The label for the continue button in the prompt.
1705
1614
  */
@@ -1717,14 +1626,6 @@ export interface Prompt {
1717
1626
  * A prompt implementation should always display this message.
1718
1627
  */
1719
1628
  message: string | null
1720
- /**
1721
- * Whether the prompt will prompt for a new password.
1722
- *
1723
- * This will cause the prompt implementation to ask the user to confirm the
1724
- * password and/or display other relevant user interface for creating a new
1725
- * password.
1726
- */
1727
- password_new: boolean
1728
1629
  /**
1729
1630
  * Whether the prompt will prompt for a new password.
1730
1631
  *
@@ -1733,15 +1634,6 @@ export interface Prompt {
1733
1634
  * password.
1734
1635
  */
1735
1636
  passwordNew: boolean
1736
- /**
1737
- * Indication of the password strength.
1738
- *
1739
- * Prompts will return a zero value if the password is empty, and a value
1740
- * greater than zero if the password has any characters.
1741
- *
1742
- * This is only valid after a successful prompt for a password.
1743
- */
1744
- readonly password_strength: number
1745
1637
  /**
1746
1638
  * Indication of the password strength.
1747
1639
  *
@@ -2582,10 +2474,6 @@ export module CertificateRequest {
2582
2474
 
2583
2475
  // Own constructor properties of Gcr-4.Gcr.CertificateRequest
2584
2476
 
2585
- /**
2586
- * The private key that this certificate request is for.
2587
- */
2588
- private_key?: Gck.Object | null
2589
2477
  /**
2590
2478
  * The private key that this certificate request is for.
2591
2479
  */
@@ -2598,10 +2486,6 @@ export interface CertificateRequest {
2598
2486
 
2599
2487
  // Own properties of Gcr-4.Gcr.CertificateRequest
2600
2488
 
2601
- /**
2602
- * The private key that this certificate request is for.
2603
- */
2604
- readonly private_key: Gck.Object
2605
2489
  /**
2606
2490
  * The private key that this certificate request is for.
2607
2491
  */
@@ -2836,31 +2720,16 @@ export interface Parser {
2836
2720
 
2837
2721
  // Own properties of Gcr-4.Gcr.Parser
2838
2722
 
2839
- /**
2840
- * Get the attributes that make up the currently parsed item. This is
2841
- * generally only valid during a [signal`Parser:`:parsed] signal.
2842
- */
2843
- readonly parsed_attributes: Gck.Attributes
2844
2723
  /**
2845
2724
  * Get the attributes that make up the currently parsed item. This is
2846
2725
  * generally only valid during a [signal`Parser:`:parsed] signal.
2847
2726
  */
2848
2727
  readonly parsedAttributes: Gck.Attributes
2849
- /**
2850
- * The description of the type of the currently parsed item. This is generally
2851
- * only valid during a [signal`Parser:`:parsed] signal.
2852
- */
2853
- readonly parsed_description: string | null
2854
2728
  /**
2855
2729
  * The description of the type of the currently parsed item. This is generally
2856
2730
  * only valid during a [signal`Parser:`:parsed] signal.
2857
2731
  */
2858
2732
  readonly parsedDescription: string | null
2859
- /**
2860
- * The label of the currently parsed item. This is generally
2861
- * only valid during a [signal`Parser:`:parsed] signal.
2862
- */
2863
- readonly parsed_label: string | null
2864
2733
  /**
2865
2734
  * The label of the currently parsed item. This is generally
2866
2735
  * only valid during a [signal`Parser:`:parsed] signal.
@@ -3618,20 +3487,6 @@ export module SystemPrompt {
3618
3487
 
3619
3488
  // Own constructor properties of Gcr-4.Gcr.SystemPrompt
3620
3489
 
3621
- /**
3622
- * The DBus bus name of the prompter to use for prompting, or %NULL
3623
- * for the default prompter.
3624
- */
3625
- bus_name?: string | null
3626
- /**
3627
- * The #GcrSecretExchange to use when transferring passwords. A default
3628
- * secret exchange will be used if this is not set.
3629
- */
3630
- secret_exchange?: SecretExchange | null
3631
- /**
3632
- * The timeout in seconds to wait when opening the prompt.
3633
- */
3634
- timeout_seconds?: number | null
3635
3490
  /**
3636
3491
  * The DBus bus name of the prompter to use for prompting, or %NULL
3637
3492
  * for the default prompter.
@@ -3654,30 +3509,16 @@ export interface SystemPrompt extends Prompt, Gio.AsyncInitable, Gio.Initable {
3654
3509
 
3655
3510
  // Own properties of Gcr-4.Gcr.SystemPrompt
3656
3511
 
3657
- /**
3658
- * The DBus bus name of the prompter to use for prompting, or %NULL
3659
- * for the default prompter.
3660
- */
3661
- readonly bus_name: string | null
3662
3512
  /**
3663
3513
  * The DBus bus name of the prompter to use for prompting, or %NULL
3664
3514
  * for the default prompter.
3665
3515
  */
3666
3516
  readonly busName: string | null
3667
- /**
3668
- * The #GcrSecretExchange to use when transferring passwords. A default
3669
- * secret exchange will be used if this is not set.
3670
- */
3671
- secret_exchange: SecretExchange
3672
3517
  /**
3673
3518
  * The #GcrSecretExchange to use when transferring passwords. A default
3674
3519
  * secret exchange will be used if this is not set.
3675
3520
  */
3676
3521
  secretExchange: SecretExchange
3677
- /**
3678
- * The timeout in seconds to wait when opening the prompt.
3679
- */
3680
- readonly timeout_seconds: number
3681
3522
  /**
3682
3523
  * The timeout in seconds to wait when opening the prompt.
3683
3524
  */
@@ -3917,11 +3758,6 @@ export module SystemPrompter {
3917
3758
 
3918
3759
  // Own constructor properties of Gcr-4.Gcr.SystemPrompter
3919
3760
 
3920
- /**
3921
- * The #GType for prompts created by this prompter. This must be a
3922
- * #GcrPrompt implementation.
3923
- */
3924
- prompt_type?: GObject.GType | null
3925
3761
  /**
3926
3762
  * The #GType for prompts created by this prompter. This must be a
3927
3763
  * #GcrPrompt implementation.
@@ -3935,11 +3771,6 @@ export interface SystemPrompter {
3935
3771
 
3936
3772
  // Own properties of Gcr-4.Gcr.SystemPrompter
3937
3773
 
3938
- /**
3939
- * The #GType for prompts created by this prompter. This must be a
3940
- * #GcrPrompt implementation.
3941
- */
3942
- readonly prompt_type: GObject.GType
3943
3774
  /**
3944
3775
  * The #GType for prompts created by this prompter. This must be a
3945
3776
  * #GcrPrompt implementation.
package/gcr-4.d.ts CHANGED
@@ -884,18 +884,10 @@ interface Certificate {
884
884
  * A readable description for this certificate
885
885
  */
886
886
  readonly description: string | null
887
- /**
888
- * The expiry date of the certificate
889
- */
890
- readonly expiry_date: GLib.DateTime
891
887
  /**
892
888
  * The expiry date of the certificate
893
889
  */
894
890
  readonly expiryDate: GLib.DateTime
895
- /**
896
- * Common name part of the certificate issuer
897
- */
898
- readonly issuer_name: string | null
899
891
  /**
900
892
  * Common name part of the certificate issuer
901
893
  */
@@ -904,7 +896,6 @@ interface Certificate {
904
896
  * A readable label for this certificate.
905
897
  */
906
898
  readonly label: string | null
907
- readonly subject_name: string | null
908
899
  readonly subjectName: string | null
909
900
 
910
901
  // Owm methods of Gcr-4.Gcr.Certificate
@@ -1518,17 +1509,17 @@ module Prompt {
1518
1509
  * Wayland this is the result of an export using the XDG foreign
1519
1510
  * protocol.
1520
1511
  */
1521
- caller_window?: string | null
1512
+ callerWindow?: string | null
1522
1513
  /**
1523
1514
  * The label for the cancel button in the prompt.
1524
1515
  */
1525
- cancel_label?: string | null
1516
+ cancelLabel?: string | null
1526
1517
  /**
1527
1518
  * Whether the additional choice is chosen or not.
1528
1519
  *
1529
1520
  * The additional choice would have been setup using #GcrPrompt:choice-label.
1530
1521
  */
1531
- choice_chosen?: boolean | null
1522
+ choiceChosen?: boolean | null
1532
1523
  /**
1533
1524
  * The label for the additional choice.
1534
1525
  *
@@ -1539,11 +1530,11 @@ module Prompt {
1539
1530
  *
1540
1531
  * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1541
1532
  */
1542
- choice_label?: string | null
1533
+ choiceLabel?: string | null
1543
1534
  /**
1544
1535
  * The label for the continue button in the prompt.
1545
1536
  */
1546
- continue_label?: string | null
1537
+ continueLabel?: string | null
1547
1538
  /**
1548
1539
  * The detailed description of the prompt.
1549
1540
  *
@@ -1564,7 +1555,7 @@ module Prompt {
1564
1555
  * password and/or display other relevant user interface for creating a new
1565
1556
  * password.
1566
1557
  */
1567
- password_new?: boolean | null
1558
+ passwordNew?: boolean | null
1568
1559
  /**
1569
1560
  * The title of the prompt.
1570
1561
  *
@@ -1579,51 +1570,6 @@ module Prompt {
1579
1570
  * user about a previous 'unsuccessful' prompt.
1580
1571
  */
1581
1572
  warning?: string | null
1582
- /**
1583
- * The string handle of the caller's window.
1584
- *
1585
- * The caller window indicates to the prompt which window is prompting the
1586
- * user. The prompt may choose to ignore this information or use it in whatever
1587
- * way it sees fit.
1588
- *
1589
- * In X11, this will be a stringified version of the XWindow handle; in
1590
- * Wayland this is the result of an export using the XDG foreign
1591
- * protocol.
1592
- */
1593
- callerWindow?: string | null
1594
- /**
1595
- * The label for the cancel button in the prompt.
1596
- */
1597
- cancelLabel?: string | null
1598
- /**
1599
- * Whether the additional choice is chosen or not.
1600
- *
1601
- * The additional choice would have been setup using #GcrPrompt:choice-label.
1602
- */
1603
- choiceChosen?: boolean | null
1604
- /**
1605
- * The label for the additional choice.
1606
- *
1607
- * If this is a non-%NULL value then an additional boolean choice will be
1608
- * displayed by the prompt allowing the user to select or deselect it.
1609
- *
1610
- * If %NULL, then no additional choice is displayed.
1611
- *
1612
- * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1613
- */
1614
- choiceLabel?: string | null
1615
- /**
1616
- * The label for the continue button in the prompt.
1617
- */
1618
- continueLabel?: string | null
1619
- /**
1620
- * Whether the prompt will prompt for a new password.
1621
- *
1622
- * This will cause the prompt implementation to ask the user to confirm the
1623
- * password and/or display other relevant user interface for creating a new
1624
- * password.
1625
- */
1626
- passwordNew?: boolean | null
1627
1573
  }
1628
1574
 
1629
1575
  }
@@ -1632,18 +1578,6 @@ interface Prompt {
1632
1578
 
1633
1579
  // Own properties of Gcr-4.Gcr.Prompt
1634
1580
 
1635
- /**
1636
- * The string handle of the caller's window.
1637
- *
1638
- * The caller window indicates to the prompt which window is prompting the
1639
- * user. The prompt may choose to ignore this information or use it in whatever
1640
- * way it sees fit.
1641
- *
1642
- * In X11, this will be a stringified version of the XWindow handle; in
1643
- * Wayland this is the result of an export using the XDG foreign
1644
- * protocol.
1645
- */
1646
- caller_window: string | null
1647
1581
  /**
1648
1582
  * The string handle of the caller's window.
1649
1583
  *
@@ -1656,37 +1590,16 @@ interface Prompt {
1656
1590
  * protocol.
1657
1591
  */
1658
1592
  callerWindow: string | null
1659
- /**
1660
- * The label for the cancel button in the prompt.
1661
- */
1662
- cancel_label: string | null
1663
1593
  /**
1664
1594
  * The label for the cancel button in the prompt.
1665
1595
  */
1666
1596
  cancelLabel: string | null
1667
- /**
1668
- * Whether the additional choice is chosen or not.
1669
- *
1670
- * The additional choice would have been setup using #GcrPrompt:choice-label.
1671
- */
1672
- choice_chosen: boolean
1673
1597
  /**
1674
1598
  * Whether the additional choice is chosen or not.
1675
1599
  *
1676
1600
  * The additional choice would have been setup using #GcrPrompt:choice-label.
1677
1601
  */
1678
1602
  choiceChosen: boolean
1679
- /**
1680
- * The label for the additional choice.
1681
- *
1682
- * If this is a non-%NULL value then an additional boolean choice will be
1683
- * displayed by the prompt allowing the user to select or deselect it.
1684
- *
1685
- * If %NULL, then no additional choice is displayed.
1686
- *
1687
- * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1688
- */
1689
- choice_label: string | null
1690
1603
  /**
1691
1604
  * The label for the additional choice.
1692
1605
  *
@@ -1698,10 +1611,6 @@ interface Prompt {
1698
1611
  * The initial value of the choice can be set with #GcrPrompt:choice-chosen.
1699
1612
  */
1700
1613
  choiceLabel: string | null
1701
- /**
1702
- * The label for the continue button in the prompt.
1703
- */
1704
- continue_label: string | null
1705
1614
  /**
1706
1615
  * The label for the continue button in the prompt.
1707
1616
  */
@@ -1719,14 +1628,6 @@ interface Prompt {
1719
1628
  * A prompt implementation should always display this message.
1720
1629
  */
1721
1630
  message: string | null
1722
- /**
1723
- * Whether the prompt will prompt for a new password.
1724
- *
1725
- * This will cause the prompt implementation to ask the user to confirm the
1726
- * password and/or display other relevant user interface for creating a new
1727
- * password.
1728
- */
1729
- password_new: boolean
1730
1631
  /**
1731
1632
  * Whether the prompt will prompt for a new password.
1732
1633
  *
@@ -1735,15 +1636,6 @@ interface Prompt {
1735
1636
  * password.
1736
1637
  */
1737
1638
  passwordNew: boolean
1738
- /**
1739
- * Indication of the password strength.
1740
- *
1741
- * Prompts will return a zero value if the password is empty, and a value
1742
- * greater than zero if the password has any characters.
1743
- *
1744
- * This is only valid after a successful prompt for a password.
1745
- */
1746
- readonly password_strength: number
1747
1639
  /**
1748
1640
  * Indication of the password strength.
1749
1641
  *
@@ -2584,10 +2476,6 @@ module CertificateRequest {
2584
2476
 
2585
2477
  // Own constructor properties of Gcr-4.Gcr.CertificateRequest
2586
2478
 
2587
- /**
2588
- * The private key that this certificate request is for.
2589
- */
2590
- private_key?: Gck.Object | null
2591
2479
  /**
2592
2480
  * The private key that this certificate request is for.
2593
2481
  */
@@ -2600,10 +2488,6 @@ interface CertificateRequest {
2600
2488
 
2601
2489
  // Own properties of Gcr-4.Gcr.CertificateRequest
2602
2490
 
2603
- /**
2604
- * The private key that this certificate request is for.
2605
- */
2606
- readonly private_key: Gck.Object
2607
2491
  /**
2608
2492
  * The private key that this certificate request is for.
2609
2493
  */
@@ -2838,31 +2722,16 @@ interface Parser {
2838
2722
 
2839
2723
  // Own properties of Gcr-4.Gcr.Parser
2840
2724
 
2841
- /**
2842
- * Get the attributes that make up the currently parsed item. This is
2843
- * generally only valid during a [signal`Parser:`:parsed] signal.
2844
- */
2845
- readonly parsed_attributes: Gck.Attributes
2846
2725
  /**
2847
2726
  * Get the attributes that make up the currently parsed item. This is
2848
2727
  * generally only valid during a [signal`Parser:`:parsed] signal.
2849
2728
  */
2850
2729
  readonly parsedAttributes: Gck.Attributes
2851
- /**
2852
- * The description of the type of the currently parsed item. This is generally
2853
- * only valid during a [signal`Parser:`:parsed] signal.
2854
- */
2855
- readonly parsed_description: string | null
2856
2730
  /**
2857
2731
  * The description of the type of the currently parsed item. This is generally
2858
2732
  * only valid during a [signal`Parser:`:parsed] signal.
2859
2733
  */
2860
2734
  readonly parsedDescription: string | null
2861
- /**
2862
- * The label of the currently parsed item. This is generally
2863
- * only valid during a [signal`Parser:`:parsed] signal.
2864
- */
2865
- readonly parsed_label: string | null
2866
2735
  /**
2867
2736
  * The label of the currently parsed item. This is generally
2868
2737
  * only valid during a [signal`Parser:`:parsed] signal.
@@ -3620,20 +3489,6 @@ module SystemPrompt {
3620
3489
 
3621
3490
  // Own constructor properties of Gcr-4.Gcr.SystemPrompt
3622
3491
 
3623
- /**
3624
- * The DBus bus name of the prompter to use for prompting, or %NULL
3625
- * for the default prompter.
3626
- */
3627
- bus_name?: string | null
3628
- /**
3629
- * The #GcrSecretExchange to use when transferring passwords. A default
3630
- * secret exchange will be used if this is not set.
3631
- */
3632
- secret_exchange?: SecretExchange | null
3633
- /**
3634
- * The timeout in seconds to wait when opening the prompt.
3635
- */
3636
- timeout_seconds?: number | null
3637
3492
  /**
3638
3493
  * The DBus bus name of the prompter to use for prompting, or %NULL
3639
3494
  * for the default prompter.
@@ -3656,30 +3511,16 @@ interface SystemPrompt extends Prompt, Gio.AsyncInitable, Gio.Initable {
3656
3511
 
3657
3512
  // Own properties of Gcr-4.Gcr.SystemPrompt
3658
3513
 
3659
- /**
3660
- * The DBus bus name of the prompter to use for prompting, or %NULL
3661
- * for the default prompter.
3662
- */
3663
- readonly bus_name: string | null
3664
3514
  /**
3665
3515
  * The DBus bus name of the prompter to use for prompting, or %NULL
3666
3516
  * for the default prompter.
3667
3517
  */
3668
3518
  readonly busName: string | null
3669
- /**
3670
- * The #GcrSecretExchange to use when transferring passwords. A default
3671
- * secret exchange will be used if this is not set.
3672
- */
3673
- secret_exchange: SecretExchange
3674
3519
  /**
3675
3520
  * The #GcrSecretExchange to use when transferring passwords. A default
3676
3521
  * secret exchange will be used if this is not set.
3677
3522
  */
3678
3523
  secretExchange: SecretExchange
3679
- /**
3680
- * The timeout in seconds to wait when opening the prompt.
3681
- */
3682
- readonly timeout_seconds: number
3683
3524
  /**
3684
3525
  * The timeout in seconds to wait when opening the prompt.
3685
3526
  */
@@ -3919,11 +3760,6 @@ module SystemPrompter {
3919
3760
 
3920
3761
  // Own constructor properties of Gcr-4.Gcr.SystemPrompter
3921
3762
 
3922
- /**
3923
- * The #GType for prompts created by this prompter. This must be a
3924
- * #GcrPrompt implementation.
3925
- */
3926
- prompt_type?: GObject.GType | null
3927
3763
  /**
3928
3764
  * The #GType for prompts created by this prompter. This must be a
3929
3765
  * #GcrPrompt implementation.
@@ -3937,11 +3773,6 @@ interface SystemPrompter {
3937
3773
 
3938
3774
  // Own properties of Gcr-4.Gcr.SystemPrompter
3939
3775
 
3940
- /**
3941
- * The #GType for prompts created by this prompter. This must be a
3942
- * #GcrPrompt implementation.
3943
- */
3944
- readonly prompt_type: GObject.GType
3945
3776
  /**
3946
3777
  * The #GType for prompts created by this prompter. This must be a
3947
3778
  * #GcrPrompt implementation.
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gcr-4",
3
- "version": "4.1.0-3.2.7",
3
+ "version": "4.1.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Gcr-4, generated from library version 4.1.0",
5
5
  "type": "module",
6
6
  "module": "gcr-4.js",
7
7
  "main": "gcr-4.js",
8
8
  "exports": {
9
- "./ambient": "./gcr-4-ambient.d.ts",
10
- "./import": "./gcr-4-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gcr-4-ambient.d.ts",
11
+ "default": "./gcr-4-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gcr-4-import.d.ts",
15
+ "default": "./gcr-4-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gcr-4.d.ts",
@@ -25,11 +31,11 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gcr-4.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gck-2": "^4.1.0-3.2.7",
29
- "@girs/gio-2.0": "^2.78.0-3.2.7",
30
- "@girs/gjs": "^3.2.7",
31
- "@girs/glib-2.0": "^2.78.0-3.2.7",
32
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gck-2": "^4.1.0-3.2.8",
35
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
36
+ "@girs/gjs": "^3.2.8",
37
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
38
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
33
39
  },
34
40
  "devDependencies": {
35
41
  "typescript": "*"
@@ -46,7 +52,7 @@
46
52
  "license": "MIT",
47
53
  "repository": {
48
54
  "type": "git",
49
- "url": "git+https://github.com/gjsify/types.git"
55
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
50
56
  },
51
57
  "bugs": {
52
58
  "url": "https://github.com/gjsify/ts-for-gir/issues"