@girs/edataserver-1.2 1.2.0-3.2.0 → 1.2.0-3.2.2

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/edataserver-1.2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for EDataServer-1.2, generated from library version 1.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
8
+ GJS TypeScript type definitions for EDataServer-1.2, generated from library version 1.2.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.2.
9
9
 
10
10
  The data server, called "Evolution Data Server" is responsible for managing calendar and addressbook information.
11
11
 
@@ -1608,6 +1608,14 @@ export function time_parse_date_and_time_ex(value: string | null, result: any |
1608
1608
  * @returns An #ETimeParseStatus result code indicating whether @value was an empty string, a valid date, or an invalid date.
1609
1609
  */
1610
1610
  export function time_parse_date_ex(value: string | null, result: any | null, two_digit_year: boolean): TimeParseStatus
1611
+ /**
1612
+ * Parses `value` using the `format` saving the parsed date into `out_result`.
1613
+ * Optionally sets whether there had been used two-digit year.
1614
+ * @param value a date string
1615
+ * @param format a strftime() format string to use to parse the `value`
1616
+ * @returns An #ETimeParseStatus result code indicating whether the @value was an empty string, a valid date, or an invalid date.
1617
+ */
1618
+ export function time_parse_date_format(value: string | null, format: string | null): [ /* returnType */ TimeParseStatus, /* out_result */ any | null, /* out_two_digit_year */ boolean ]
1611
1619
  /**
1612
1620
  * Parses `value,` a string containing a time. `value` is expected to be
1613
1621
  * in a format like "14:20:00". gettext() is used to
@@ -9114,6 +9122,8 @@ export module SourceOpenPGP {
9114
9122
  key_id?: string | null
9115
9123
  locate_keys?: boolean | null
9116
9124
  prefer_inline?: boolean | null
9125
+ send_prefer_encrypt?: boolean | null
9126
+ send_public_key?: boolean | null
9117
9127
  sign_by_default?: boolean | null
9118
9128
  signing_algorithm?: string | null
9119
9129
  }
@@ -9130,6 +9140,8 @@ export interface SourceOpenPGP {
9130
9140
  key_id: string | null
9131
9141
  locate_keys: boolean
9132
9142
  prefer_inline: boolean
9143
+ send_prefer_encrypt: boolean
9144
+ send_public_key: boolean
9133
9145
  sign_by_default: boolean
9134
9146
  signing_algorithm: string | null
9135
9147
 
@@ -9184,6 +9196,17 @@ export interface SourceOpenPGP {
9184
9196
  * @returns whether to prefer inline sign/encrypt of the text/plain messages
9185
9197
  */
9186
9198
  get_prefer_inline(): boolean
9199
+ /**
9200
+ * Returns, whether should claim the encryption is preferred when sending
9201
+ * public key in messages. The default is %TRUE.
9202
+ * @returns whether should claim the encryption is preferred when sending public key in messages
9203
+ */
9204
+ get_send_prefer_encrypt(): boolean
9205
+ /**
9206
+ * Returns, whether should send GPG public key in messages. The default is %TRUE.
9207
+ * @returns whether should send GPG public key in messages
9208
+ */
9209
+ get_send_public_key(): boolean
9187
9210
  /**
9188
9211
  * Returns whether to digitally sign outgoing messages by default using
9189
9212
  * OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
@@ -9234,6 +9257,19 @@ export interface SourceOpenPGP {
9234
9257
  * @param prefer_inline whether to prefer inline sign/encrypt of the text/plain messages
9235
9258
  */
9236
9259
  set_prefer_inline(prefer_inline: boolean): void
9260
+ /**
9261
+ * Sets the `send_prefer_encrypt` on the `extension,` which tells the client to
9262
+ * claim the user prefer encryption when also sending its public key in
9263
+ * the messages (e_source_openpgp_set_send_public_key()).
9264
+ * @param send_prefer_encrypt value to set
9265
+ */
9266
+ set_send_prefer_encrypt(send_prefer_encrypt: boolean): void
9267
+ /**
9268
+ * Sets the `send_public_key` on the `extension,` which tells the client to
9269
+ * include user's public key in the messages in an Autocrypt header.
9270
+ * @param send_public_key value to set
9271
+ */
9272
+ set_send_public_key(send_public_key: boolean): void
9237
9273
  /**
9238
9274
  * Sets whether to digitally sign outgoing messages by default using
9239
9275
  * OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
@@ -9271,6 +9307,12 @@ export interface SourceOpenPGP {
9271
9307
  connect(sigName: "notify::prefer-inline", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9272
9308
  connect_after(sigName: "notify::prefer-inline", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9273
9309
  emit(sigName: "notify::prefer-inline", ...args: any[]): void
9310
+ connect(sigName: "notify::send-prefer-encrypt", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9311
+ connect_after(sigName: "notify::send-prefer-encrypt", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9312
+ emit(sigName: "notify::send-prefer-encrypt", ...args: any[]): void
9313
+ connect(sigName: "notify::send-public-key", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9314
+ connect_after(sigName: "notify::send-public-key", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9315
+ emit(sigName: "notify::send-public-key", ...args: any[]): void
9274
9316
  connect(sigName: "notify::sign-by-default", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9275
9317
  connect_after(sigName: "notify::sign-by-default", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9276
9318
  emit(sigName: "notify::sign-by-default", ...args: any[]): void
@@ -9687,6 +9729,7 @@ export module SourceRefresh {
9687
9729
  // Own constructor properties of EDataServer-1.2.EDataServer.SourceRefresh
9688
9730
 
9689
9731
  enabled?: boolean | null
9732
+ enabled_on_metered_network?: boolean | null
9690
9733
  interval_minutes?: number | null
9691
9734
  }
9692
9735
 
@@ -9697,6 +9740,7 @@ export interface SourceRefresh {
9697
9740
  // Own properties of EDataServer-1.2.EDataServer.SourceRefresh
9698
9741
 
9699
9742
  enabled: boolean
9743
+ enabled_on_metered_network: boolean
9700
9744
  interval_minutes: number
9701
9745
 
9702
9746
  // Owm methods of EDataServer-1.2.EDataServer.SourceRefresh
@@ -9709,6 +9753,16 @@ export interface SourceRefresh {
9709
9753
  * @returns whether periodic refresh is enabled
9710
9754
  */
9711
9755
  get_enabled(): boolean
9756
+ /**
9757
+ * Returns whether can refresh content on metered network.
9758
+ *
9759
+ * The `extension` itself doesn't use this option, it's up to
9760
+ * the `extension` user to determine what kind of connection is used
9761
+ * and then decide whether refresh, or other expensive network
9762
+ * operations, can be done.
9763
+ * @returns whether can refresh content on metered network
9764
+ */
9765
+ get_enabled_on_metered_network(): boolean
9712
9766
  /**
9713
9767
  * Returns the interval for fetching updates from a remote server.
9714
9768
  *
@@ -9725,6 +9779,14 @@ export interface SourceRefresh {
9725
9779
  * @param enabled whether to enable periodic refresh
9726
9780
  */
9727
9781
  set_enabled(enabled: boolean): void
9782
+ /**
9783
+ * Sets whether can refresh content on metered network.
9784
+ *
9785
+ * See e_source_refresh_get_enabled_on_metered_network() for more information
9786
+ * about what it means.
9787
+ * @param enabled whether can refresh content on metered network
9788
+ */
9789
+ set_enabled_on_metered_network(enabled: boolean): void
9728
9790
  /**
9729
9791
  * Sets the interval for fetching updates from a remote server.
9730
9792
  *
@@ -9739,6 +9801,9 @@ export interface SourceRefresh {
9739
9801
  connect(sigName: "notify::enabled", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9740
9802
  connect_after(sigName: "notify::enabled", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9741
9803
  emit(sigName: "notify::enabled", ...args: any[]): void
9804
+ connect(sigName: "notify::enabled-on-metered-network", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9805
+ connect_after(sigName: "notify::enabled-on-metered-network", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9806
+ emit(sigName: "notify::enabled-on-metered-network", ...args: any[]): void
9742
9807
  connect(sigName: "notify::interval-minutes", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9743
9808
  connect_after(sigName: "notify::interval-minutes", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9744
9809
  emit(sigName: "notify::interval-minutes", ...args: any[]): void
@@ -11790,6 +11855,30 @@ export interface WebDAVSession {
11790
11855
  * @returns Whether succeeded.
11791
11856
  */
11792
11857
  delete_sync(uri: string | null, depth: string | null, etag: string | null, cancellable: Gio.Cancellable | null): boolean
11858
+ /**
11859
+ * Deletes a resource identified by `uri` on the server. The URI can
11860
+ * reference a collection, in which case `depth` should be %E_WEBDAV_DEPTH_INFINITY.
11861
+ * Use `depth` %E_WEBDAV_DEPTH_THIS when deleting a regular resource, or %NULL,
11862
+ * to let the server use default Depth.
11863
+ *
11864
+ * The `etag` argument is used to avoid clashes when overwriting existing resources.
11865
+ * Use %NULL `etag` when deleting collection resources or to force the deletion,
11866
+ * otherwise provide a valid ETag of a non-collection resource to verify that
11867
+ * the version requested to delete is the same as on the server.
11868
+ *
11869
+ * The optional `in_headers` can contain additional headers to be added to the request.
11870
+ * These headers replace any existing in the request headers, without support for the list-values headers.
11871
+ *
11872
+ * Note that the actual usage of `etag` is also influenced by #ESourceWebdav:avoid-ifmatch
11873
+ * property of the associated #ESource.
11874
+ * @param uri URI of the resource to delete
11875
+ * @param depth optional requested depth, can be one of %E_WEBDAV_DEPTH_THIS or %E_WEBDAV_DEPTH_INFINITY, or %NULL
11876
+ * @param etag an optional ETag of the resource, or %NULL
11877
+ * @param in_headers additional #SoupMessageHeaders to be added to the request, or %NULL
11878
+ * @param cancellable optional #GCancellable object, or %NULL
11879
+ * @returns Whether succeeded.
11880
+ */
11881
+ delete_with_headers_sync(uri: string | null, depth: string | null, etag: string | null, in_headers: Soup.MessageHeaders | null, cancellable: Gio.Cancellable | null): boolean
11793
11882
  /**
11794
11883
  * Converts possibly path-only `href` into a full URI under the `request_uri`.
11795
11884
  * When the `request_uri` is %NULL, the URI defined in associated #ESource is
@@ -11830,6 +11919,20 @@ export interface WebDAVSession {
11830
11919
  * @returns Whether succeeded.
11831
11920
  */
11832
11921
  get_acl_sync(uri: string | null, cancellable: Gio.Cancellable | null): [ /* returnType */ boolean, /* out_entries */ WebDAVAccessControlEntry[] ]
11922
+ /**
11923
+ * Gets current user privileges for the `uri,` or, in case it's %NULL, for the URI
11924
+ * defined in associated #ESource, with optional read of the capabilities
11925
+ * and what the user is allowed. See e_webdav_session_options_sync() for
11926
+ * more information about the `out_capabilities` and `out_allows` values.
11927
+ *
11928
+ * Free the returned `out_privileges` with
11929
+ * g_slist_free_full (privileges, e_webdav_privilege_free);
11930
+ * when no longer needed.
11931
+ * @param uri URI to issue the request for, or %NULL to read from #ESource
11932
+ * @param cancellable optional #GCancellable object, or %NULL
11933
+ * @returns Whether succeeded.
11934
+ */
11935
+ get_current_user_privilege_set_full_sync(uri: string | null, cancellable: Gio.Cancellable | null): [ /* returnType */ boolean, /* out_privileges */ WebDAVPrivilege[], /* out_capabilities */ GLib.HashTable, /* out_allows */ GLib.HashTable ]
11833
11936
  /**
11834
11937
  * Gets current user privileges for the `uri,` or, in case it's %NULL, for the URI
11835
11938
  * defined in associated #ESource.
@@ -1610,6 +1610,14 @@ function time_parse_date_and_time_ex(value: string | null, result: any | null, t
1610
1610
  * @returns An #ETimeParseStatus result code indicating whether @value was an empty string, a valid date, or an invalid date.
1611
1611
  */
1612
1612
  function time_parse_date_ex(value: string | null, result: any | null, two_digit_year: boolean): TimeParseStatus
1613
+ /**
1614
+ * Parses `value` using the `format` saving the parsed date into `out_result`.
1615
+ * Optionally sets whether there had been used two-digit year.
1616
+ * @param value a date string
1617
+ * @param format a strftime() format string to use to parse the `value`
1618
+ * @returns An #ETimeParseStatus result code indicating whether the @value was an empty string, a valid date, or an invalid date.
1619
+ */
1620
+ function time_parse_date_format(value: string | null, format: string | null): [ /* returnType */ TimeParseStatus, /* out_result */ any | null, /* out_two_digit_year */ boolean ]
1613
1621
  /**
1614
1622
  * Parses `value,` a string containing a time. `value` is expected to be
1615
1623
  * in a format like "14:20:00". gettext() is used to
@@ -9116,6 +9124,8 @@ module SourceOpenPGP {
9116
9124
  key_id?: string | null
9117
9125
  locate_keys?: boolean | null
9118
9126
  prefer_inline?: boolean | null
9127
+ send_prefer_encrypt?: boolean | null
9128
+ send_public_key?: boolean | null
9119
9129
  sign_by_default?: boolean | null
9120
9130
  signing_algorithm?: string | null
9121
9131
  }
@@ -9132,6 +9142,8 @@ interface SourceOpenPGP {
9132
9142
  key_id: string | null
9133
9143
  locate_keys: boolean
9134
9144
  prefer_inline: boolean
9145
+ send_prefer_encrypt: boolean
9146
+ send_public_key: boolean
9135
9147
  sign_by_default: boolean
9136
9148
  signing_algorithm: string | null
9137
9149
 
@@ -9186,6 +9198,17 @@ interface SourceOpenPGP {
9186
9198
  * @returns whether to prefer inline sign/encrypt of the text/plain messages
9187
9199
  */
9188
9200
  get_prefer_inline(): boolean
9201
+ /**
9202
+ * Returns, whether should claim the encryption is preferred when sending
9203
+ * public key in messages. The default is %TRUE.
9204
+ * @returns whether should claim the encryption is preferred when sending public key in messages
9205
+ */
9206
+ get_send_prefer_encrypt(): boolean
9207
+ /**
9208
+ * Returns, whether should send GPG public key in messages. The default is %TRUE.
9209
+ * @returns whether should send GPG public key in messages
9210
+ */
9211
+ get_send_public_key(): boolean
9189
9212
  /**
9190
9213
  * Returns whether to digitally sign outgoing messages by default using
9191
9214
  * OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
@@ -9236,6 +9259,19 @@ interface SourceOpenPGP {
9236
9259
  * @param prefer_inline whether to prefer inline sign/encrypt of the text/plain messages
9237
9260
  */
9238
9261
  set_prefer_inline(prefer_inline: boolean): void
9262
+ /**
9263
+ * Sets the `send_prefer_encrypt` on the `extension,` which tells the client to
9264
+ * claim the user prefer encryption when also sending its public key in
9265
+ * the messages (e_source_openpgp_set_send_public_key()).
9266
+ * @param send_prefer_encrypt value to set
9267
+ */
9268
+ set_send_prefer_encrypt(send_prefer_encrypt: boolean): void
9269
+ /**
9270
+ * Sets the `send_public_key` on the `extension,` which tells the client to
9271
+ * include user's public key in the messages in an Autocrypt header.
9272
+ * @param send_public_key value to set
9273
+ */
9274
+ set_send_public_key(send_public_key: boolean): void
9239
9275
  /**
9240
9276
  * Sets whether to digitally sign outgoing messages by default using
9241
9277
  * OpenPGP-compliant software such as GNU Privacy Guard (GnuPG).
@@ -9273,6 +9309,12 @@ interface SourceOpenPGP {
9273
9309
  connect(sigName: "notify::prefer-inline", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9274
9310
  connect_after(sigName: "notify::prefer-inline", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9275
9311
  emit(sigName: "notify::prefer-inline", ...args: any[]): void
9312
+ connect(sigName: "notify::send-prefer-encrypt", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9313
+ connect_after(sigName: "notify::send-prefer-encrypt", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9314
+ emit(sigName: "notify::send-prefer-encrypt", ...args: any[]): void
9315
+ connect(sigName: "notify::send-public-key", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9316
+ connect_after(sigName: "notify::send-public-key", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9317
+ emit(sigName: "notify::send-public-key", ...args: any[]): void
9276
9318
  connect(sigName: "notify::sign-by-default", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9277
9319
  connect_after(sigName: "notify::sign-by-default", callback: (($obj: SourceOpenPGP, pspec: GObject.ParamSpec) => void)): number
9278
9320
  emit(sigName: "notify::sign-by-default", ...args: any[]): void
@@ -9689,6 +9731,7 @@ module SourceRefresh {
9689
9731
  // Own constructor properties of EDataServer-1.2.EDataServer.SourceRefresh
9690
9732
 
9691
9733
  enabled?: boolean | null
9734
+ enabled_on_metered_network?: boolean | null
9692
9735
  interval_minutes?: number | null
9693
9736
  }
9694
9737
 
@@ -9699,6 +9742,7 @@ interface SourceRefresh {
9699
9742
  // Own properties of EDataServer-1.2.EDataServer.SourceRefresh
9700
9743
 
9701
9744
  enabled: boolean
9745
+ enabled_on_metered_network: boolean
9702
9746
  interval_minutes: number
9703
9747
 
9704
9748
  // Owm methods of EDataServer-1.2.EDataServer.SourceRefresh
@@ -9711,6 +9755,16 @@ interface SourceRefresh {
9711
9755
  * @returns whether periodic refresh is enabled
9712
9756
  */
9713
9757
  get_enabled(): boolean
9758
+ /**
9759
+ * Returns whether can refresh content on metered network.
9760
+ *
9761
+ * The `extension` itself doesn't use this option, it's up to
9762
+ * the `extension` user to determine what kind of connection is used
9763
+ * and then decide whether refresh, or other expensive network
9764
+ * operations, can be done.
9765
+ * @returns whether can refresh content on metered network
9766
+ */
9767
+ get_enabled_on_metered_network(): boolean
9714
9768
  /**
9715
9769
  * Returns the interval for fetching updates from a remote server.
9716
9770
  *
@@ -9727,6 +9781,14 @@ interface SourceRefresh {
9727
9781
  * @param enabled whether to enable periodic refresh
9728
9782
  */
9729
9783
  set_enabled(enabled: boolean): void
9784
+ /**
9785
+ * Sets whether can refresh content on metered network.
9786
+ *
9787
+ * See e_source_refresh_get_enabled_on_metered_network() for more information
9788
+ * about what it means.
9789
+ * @param enabled whether can refresh content on metered network
9790
+ */
9791
+ set_enabled_on_metered_network(enabled: boolean): void
9730
9792
  /**
9731
9793
  * Sets the interval for fetching updates from a remote server.
9732
9794
  *
@@ -9741,6 +9803,9 @@ interface SourceRefresh {
9741
9803
  connect(sigName: "notify::enabled", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9742
9804
  connect_after(sigName: "notify::enabled", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9743
9805
  emit(sigName: "notify::enabled", ...args: any[]): void
9806
+ connect(sigName: "notify::enabled-on-metered-network", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9807
+ connect_after(sigName: "notify::enabled-on-metered-network", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9808
+ emit(sigName: "notify::enabled-on-metered-network", ...args: any[]): void
9744
9809
  connect(sigName: "notify::interval-minutes", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9745
9810
  connect_after(sigName: "notify::interval-minutes", callback: (($obj: SourceRefresh, pspec: GObject.ParamSpec) => void)): number
9746
9811
  emit(sigName: "notify::interval-minutes", ...args: any[]): void
@@ -11792,6 +11857,30 @@ interface WebDAVSession {
11792
11857
  * @returns Whether succeeded.
11793
11858
  */
11794
11859
  delete_sync(uri: string | null, depth: string | null, etag: string | null, cancellable: Gio.Cancellable | null): boolean
11860
+ /**
11861
+ * Deletes a resource identified by `uri` on the server. The URI can
11862
+ * reference a collection, in which case `depth` should be %E_WEBDAV_DEPTH_INFINITY.
11863
+ * Use `depth` %E_WEBDAV_DEPTH_THIS when deleting a regular resource, or %NULL,
11864
+ * to let the server use default Depth.
11865
+ *
11866
+ * The `etag` argument is used to avoid clashes when overwriting existing resources.
11867
+ * Use %NULL `etag` when deleting collection resources or to force the deletion,
11868
+ * otherwise provide a valid ETag of a non-collection resource to verify that
11869
+ * the version requested to delete is the same as on the server.
11870
+ *
11871
+ * The optional `in_headers` can contain additional headers to be added to the request.
11872
+ * These headers replace any existing in the request headers, without support for the list-values headers.
11873
+ *
11874
+ * Note that the actual usage of `etag` is also influenced by #ESourceWebdav:avoid-ifmatch
11875
+ * property of the associated #ESource.
11876
+ * @param uri URI of the resource to delete
11877
+ * @param depth optional requested depth, can be one of %E_WEBDAV_DEPTH_THIS or %E_WEBDAV_DEPTH_INFINITY, or %NULL
11878
+ * @param etag an optional ETag of the resource, or %NULL
11879
+ * @param in_headers additional #SoupMessageHeaders to be added to the request, or %NULL
11880
+ * @param cancellable optional #GCancellable object, or %NULL
11881
+ * @returns Whether succeeded.
11882
+ */
11883
+ delete_with_headers_sync(uri: string | null, depth: string | null, etag: string | null, in_headers: Soup.MessageHeaders | null, cancellable: Gio.Cancellable | null): boolean
11795
11884
  /**
11796
11885
  * Converts possibly path-only `href` into a full URI under the `request_uri`.
11797
11886
  * When the `request_uri` is %NULL, the URI defined in associated #ESource is
@@ -11832,6 +11921,20 @@ interface WebDAVSession {
11832
11921
  * @returns Whether succeeded.
11833
11922
  */
11834
11923
  get_acl_sync(uri: string | null, cancellable: Gio.Cancellable | null): [ /* returnType */ boolean, /* out_entries */ WebDAVAccessControlEntry[] ]
11924
+ /**
11925
+ * Gets current user privileges for the `uri,` or, in case it's %NULL, for the URI
11926
+ * defined in associated #ESource, with optional read of the capabilities
11927
+ * and what the user is allowed. See e_webdav_session_options_sync() for
11928
+ * more information about the `out_capabilities` and `out_allows` values.
11929
+ *
11930
+ * Free the returned `out_privileges` with
11931
+ * g_slist_free_full (privileges, e_webdav_privilege_free);
11932
+ * when no longer needed.
11933
+ * @param uri URI to issue the request for, or %NULL to read from #ESource
11934
+ * @param cancellable optional #GCancellable object, or %NULL
11935
+ * @returns Whether succeeded.
11936
+ */
11937
+ get_current_user_privilege_set_full_sync(uri: string | null, cancellable: Gio.Cancellable | null): [ /* returnType */ boolean, /* out_privileges */ WebDAVPrivilege[], /* out_capabilities */ GLib.HashTable, /* out_allows */ GLib.HashTable ]
11835
11938
  /**
11836
11939
  * Gets current user privileges for the `uri,` or, in case it's %NULL, for the URI
11837
11940
  * defined in associated #ESource.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/edataserver-1.2",
3
- "version": "1.2.0-3.2.0",
3
+ "version": "1.2.0-3.2.2",
4
4
  "description": "GJS TypeScript type definitions for EDataServer-1.2, generated from library version 1.2.0",
5
5
  "type": "module",
6
6
  "module": "edataserver-1.2.js",
@@ -25,14 +25,14 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit edataserver-1.2.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/camel-1.2": "^1.2.0-3.2.0",
29
- "@girs/gio-2.0": "^2.76.1-3.2.0",
30
- "@girs/gjs": "^3.2.0",
31
- "@girs/glib-2.0": "^2.76.1-3.2.0",
32
- "@girs/gobject-2.0": "^2.76.1-3.2.0",
33
- "@girs/json-1.0": "^1.7.1-3.2.0",
34
- "@girs/libxml2-2.0": "^2.0.0-3.2.0",
35
- "@girs/soup-3.0": "^3.4.2-3.2.0"
28
+ "@girs/camel-1.2": "^1.2.0-3.2.2",
29
+ "@girs/gio-2.0": "^2.77.0-3.2.2",
30
+ "@girs/gjs": "^3.2.2",
31
+ "@girs/glib-2.0": "^2.77.0-3.2.2",
32
+ "@girs/gobject-2.0": "^2.77.0-3.2.2",
33
+ "@girs/json-1.0": "^1.7.1-3.2.2",
34
+ "@girs/libxml2-2.0": "^2.0.0-3.2.2",
35
+ "@girs/soup-3.0": "^3.4.2-3.2.2"
36
36
  },
37
37
  "devDependencies": {
38
38
  "typescript": "*"
package/typedoc.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "entryPoints": ["./edataserver-1.2.d.ts","./edataserver-1.2-ambient.d.ts","./edataserver-1.2-import.d.ts"],
2
+ "entryPoints": ["./edataserver-1.2.d.ts"],
3
3
  "readme": "./README.md",
4
4
  "name": "EDataServer-1.2",
5
5
  "tsconfig": "./tsconfig.json"