@girs/folkstelepathy-0.6 0.6.0-3.0.0-beta.12
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 +31 -0
- package/folkstelepathy-0.6.cjs +9 -0
- package/folkstelepathy-0.6.d.cts +314 -0
- package/folkstelepathy-0.6.d.ts +319 -0
- package/folkstelepathy-0.6.js +8 -0
- package/package.json +57 -0
- package/tsconfig.doc.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
# FolksTelepathy-0.6
|
|
3
|
+
|
|
4
|
+
GJS TypeScript type definitions for FolksTelepathy-0.6, generated from library version 0.6.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gjs) v3.0.0-beta.12.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
To use this type definitions, install them with NPM like this:
|
|
9
|
+
```bash
|
|
10
|
+
npm install @girs/folkstelepathy-0.6
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
You can import this package into your project like this:
|
|
16
|
+
```ts
|
|
17
|
+
import FolksTelepathy from '@girs/folkstelepathy-0.6';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Or if you prefer CommonJS, you can also use this:
|
|
21
|
+
```ts
|
|
22
|
+
const FolksTelepathy = require('@girs/folkstelepathy-0.6');
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules), you can also import this module like you would do this in JavaScript:
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import FolksTelepathy from 'gi://FolksTelepathy?version=0.6';
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
+
*
|
|
5
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* FolksTelepathy-0.6
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type GLib from '@girs/glib-2.0';
|
|
13
|
+
import type Gee from '@girs/gee-0.8';
|
|
14
|
+
import type Gio from '@girs/gio-2.0';
|
|
15
|
+
import type GObject from '@girs/gobject-2.0';
|
|
16
|
+
import type TelepathyGLib from '@girs/telepathyglib-0.12';
|
|
17
|
+
import type Folks from '@girs/folks-0.6';
|
|
18
|
+
|
|
19
|
+
export module PersonaStore {
|
|
20
|
+
|
|
21
|
+
// Constructor properties interface
|
|
22
|
+
|
|
23
|
+
export interface ConstructorProperties extends Folks.PersonaStore.ConstructorProperties {
|
|
24
|
+
|
|
25
|
+
// Own constructor properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
26
|
+
|
|
27
|
+
account?: TelepathyGLib.Account | null
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface PersonaStore {
|
|
33
|
+
|
|
34
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
35
|
+
|
|
36
|
+
readonly account: TelepathyGLib.Account
|
|
37
|
+
|
|
38
|
+
// Owm methods of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
39
|
+
|
|
40
|
+
get_account(): TelepathyGLib.Account
|
|
41
|
+
|
|
42
|
+
// Class property signals of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
43
|
+
|
|
44
|
+
connect(sigName: "notify::account", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
45
|
+
connect_after(sigName: "notify::account", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
46
|
+
emit(sigName: "notify::account", ...args: any[]): void
|
|
47
|
+
connect(sigName: "notify::type-id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
48
|
+
connect_after(sigName: "notify::type-id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
49
|
+
emit(sigName: "notify::type-id", ...args: any[]): void
|
|
50
|
+
connect(sigName: "notify::display-name", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
51
|
+
connect_after(sigName: "notify::display-name", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
52
|
+
emit(sigName: "notify::display-name", ...args: any[]): void
|
|
53
|
+
connect(sigName: "notify::id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
54
|
+
connect_after(sigName: "notify::id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
55
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
56
|
+
connect(sigName: "notify::personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
57
|
+
connect_after(sigName: "notify::personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
58
|
+
emit(sigName: "notify::personas", ...args: any[]): void
|
|
59
|
+
connect(sigName: "notify::can-add-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
60
|
+
connect_after(sigName: "notify::can-add-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
61
|
+
emit(sigName: "notify::can-add-personas", ...args: any[]): void
|
|
62
|
+
connect(sigName: "notify::can-alias-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
63
|
+
connect_after(sigName: "notify::can-alias-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
64
|
+
emit(sigName: "notify::can-alias-personas", ...args: any[]): void
|
|
65
|
+
connect(sigName: "notify::can-group-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
66
|
+
connect_after(sigName: "notify::can-group-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
67
|
+
emit(sigName: "notify::can-group-personas", ...args: any[]): void
|
|
68
|
+
connect(sigName: "notify::can-remove-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
69
|
+
connect_after(sigName: "notify::can-remove-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
70
|
+
emit(sigName: "notify::can-remove-personas", ...args: any[]): void
|
|
71
|
+
connect(sigName: "notify::is-prepared", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
72
|
+
connect_after(sigName: "notify::is-prepared", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
73
|
+
emit(sigName: "notify::is-prepared", ...args: any[]): void
|
|
74
|
+
connect(sigName: "notify::is-quiescent", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
75
|
+
connect_after(sigName: "notify::is-quiescent", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
76
|
+
emit(sigName: "notify::is-quiescent", ...args: any[]): void
|
|
77
|
+
connect(sigName: "notify::is-writeable", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
78
|
+
connect_after(sigName: "notify::is-writeable", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
79
|
+
emit(sigName: "notify::is-writeable", ...args: any[]): void
|
|
80
|
+
connect(sigName: "notify::trust-level", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
81
|
+
connect_after(sigName: "notify::trust-level", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
82
|
+
emit(sigName: "notify::trust-level", ...args: any[]): void
|
|
83
|
+
connect(sigName: "notify::always-writeable-properties", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
84
|
+
connect_after(sigName: "notify::always-writeable-properties", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
85
|
+
emit(sigName: "notify::always-writeable-properties", ...args: any[]): void
|
|
86
|
+
connect(sigName: "notify::is-primary-store", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
87
|
+
connect_after(sigName: "notify::is-primary-store", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
88
|
+
emit(sigName: "notify::is-primary-store", ...args: any[]): void
|
|
89
|
+
connect(sigName: "notify::is-user-set-default", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
90
|
+
connect_after(sigName: "notify::is-user-set-default", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
91
|
+
emit(sigName: "notify::is-user-set-default", ...args: any[]): void
|
|
92
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
93
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
94
|
+
emit(sigName: string, ...args: any[]): void
|
|
95
|
+
disconnect(id: number): void
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class PersonaStore extends Folks.PersonaStore {
|
|
99
|
+
|
|
100
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
101
|
+
|
|
102
|
+
static name: string
|
|
103
|
+
static $gtype: GObject.GType<PersonaStore>
|
|
104
|
+
|
|
105
|
+
// Constructors of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
106
|
+
|
|
107
|
+
constructor(config?: PersonaStore.ConstructorProperties)
|
|
108
|
+
constructor(account: TelepathyGLib.Account)
|
|
109
|
+
static new(account: TelepathyGLib.Account): PersonaStore
|
|
110
|
+
_init(config?: PersonaStore.ConstructorProperties): void
|
|
111
|
+
static list_persona_stores(): Gee.Map
|
|
112
|
+
static dup_for_account(account: TelepathyGLib.Account): PersonaStore
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export module Persona {
|
|
116
|
+
|
|
117
|
+
// Constructor properties interface
|
|
118
|
+
|
|
119
|
+
export interface ConstructorProperties extends Folks.AliasDetails.ConstructorProperties, Folks.AvatarDetails.ConstructorProperties, Folks.BirthdayDetails.ConstructorProperties, Folks.EmailDetails.ConstructorProperties, Folks.FavouriteDetails.ConstructorProperties, Folks.GroupDetails.ConstructorProperties, Folks.InteractionDetails.ConstructorProperties, Folks.ImDetails.ConstructorProperties, Folks.NameDetails.ConstructorProperties, Folks.PhoneDetails.ConstructorProperties, Folks.PresenceDetails.ConstructorProperties, Folks.UrlDetails.ConstructorProperties, Folks.Persona.ConstructorProperties {
|
|
120
|
+
|
|
121
|
+
// Own constructor properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
122
|
+
|
|
123
|
+
is_in_contact_list?: boolean | null
|
|
124
|
+
contact?: TelepathyGLib.Contact | null
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface Persona extends Folks.AliasDetails, Folks.AvatarDetails, Folks.BirthdayDetails, Folks.EmailDetails, Folks.FavouriteDetails, Folks.GroupDetails, Folks.InteractionDetails, Folks.ImDetails, Folks.NameDetails, Folks.PhoneDetails, Folks.PresenceDetails, Folks.UrlDetails {
|
|
130
|
+
|
|
131
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
132
|
+
|
|
133
|
+
is_in_contact_list: boolean
|
|
134
|
+
readonly contact: TelepathyGLib.Contact
|
|
135
|
+
|
|
136
|
+
// Own fields of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
137
|
+
|
|
138
|
+
_last_im_interaction_datetime?: GLib.DateTime | null
|
|
139
|
+
_last_call_interaction_datetime?: GLib.DateTime | null
|
|
140
|
+
|
|
141
|
+
// Owm methods of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
142
|
+
|
|
143
|
+
get_is_in_contact_list(): boolean
|
|
144
|
+
set_is_in_contact_list(value: boolean): void
|
|
145
|
+
get_contact(): TelepathyGLib.Contact | null
|
|
146
|
+
|
|
147
|
+
// Class property signals of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
148
|
+
|
|
149
|
+
connect(sigName: "notify::is-in-contact-list", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
150
|
+
connect_after(sigName: "notify::is-in-contact-list", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
151
|
+
emit(sigName: "notify::is-in-contact-list", ...args: any[]): void
|
|
152
|
+
connect(sigName: "notify::contact", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
153
|
+
connect_after(sigName: "notify::contact", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
154
|
+
emit(sigName: "notify::contact", ...args: any[]): void
|
|
155
|
+
connect(sigName: "notify::iid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
156
|
+
connect_after(sigName: "notify::iid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
157
|
+
emit(sigName: "notify::iid", ...args: any[]): void
|
|
158
|
+
connect(sigName: "notify::uid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
159
|
+
connect_after(sigName: "notify::uid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
160
|
+
emit(sigName: "notify::uid", ...args: any[]): void
|
|
161
|
+
connect(sigName: "notify::display-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
162
|
+
connect_after(sigName: "notify::display-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
163
|
+
emit(sigName: "notify::display-id", ...args: any[]): void
|
|
164
|
+
connect(sigName: "notify::is-user", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
165
|
+
connect_after(sigName: "notify::is-user", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
166
|
+
emit(sigName: "notify::is-user", ...args: any[]): void
|
|
167
|
+
connect(sigName: "notify::store", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
168
|
+
connect_after(sigName: "notify::store", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
169
|
+
emit(sigName: "notify::store", ...args: any[]): void
|
|
170
|
+
connect(sigName: "notify::individual", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
171
|
+
connect_after(sigName: "notify::individual", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
172
|
+
emit(sigName: "notify::individual", ...args: any[]): void
|
|
173
|
+
connect(sigName: "notify::linkable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
174
|
+
connect_after(sigName: "notify::linkable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
175
|
+
emit(sigName: "notify::linkable-properties", ...args: any[]): void
|
|
176
|
+
connect(sigName: "notify::writeable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
177
|
+
connect_after(sigName: "notify::writeable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
178
|
+
emit(sigName: "notify::writeable-properties", ...args: any[]): void
|
|
179
|
+
connect(sigName: "notify::alias", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
180
|
+
connect_after(sigName: "notify::alias", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
181
|
+
emit(sigName: "notify::alias", ...args: any[]): void
|
|
182
|
+
connect(sigName: "notify::avatar", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
183
|
+
connect_after(sigName: "notify::avatar", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
184
|
+
emit(sigName: "notify::avatar", ...args: any[]): void
|
|
185
|
+
connect(sigName: "notify::birthday", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
186
|
+
connect_after(sigName: "notify::birthday", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
187
|
+
emit(sigName: "notify::birthday", ...args: any[]): void
|
|
188
|
+
connect(sigName: "notify::calendar-event-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
189
|
+
connect_after(sigName: "notify::calendar-event-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
190
|
+
emit(sigName: "notify::calendar-event-id", ...args: any[]): void
|
|
191
|
+
connect(sigName: "notify::email-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
192
|
+
connect_after(sigName: "notify::email-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
193
|
+
emit(sigName: "notify::email-addresses", ...args: any[]): void
|
|
194
|
+
connect(sigName: "notify::is-favourite", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
195
|
+
connect_after(sigName: "notify::is-favourite", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
196
|
+
emit(sigName: "notify::is-favourite", ...args: any[]): void
|
|
197
|
+
connect(sigName: "notify::groups", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
198
|
+
connect_after(sigName: "notify::groups", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
199
|
+
emit(sigName: "notify::groups", ...args: any[]): void
|
|
200
|
+
connect(sigName: "notify::im-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
201
|
+
connect_after(sigName: "notify::im-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
202
|
+
emit(sigName: "notify::im-interaction-count", ...args: any[]): void
|
|
203
|
+
connect(sigName: "notify::last-im-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
204
|
+
connect_after(sigName: "notify::last-im-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
205
|
+
emit(sigName: "notify::last-im-interaction-datetime", ...args: any[]): void
|
|
206
|
+
connect(sigName: "notify::call-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
207
|
+
connect_after(sigName: "notify::call-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
208
|
+
emit(sigName: "notify::call-interaction-count", ...args: any[]): void
|
|
209
|
+
connect(sigName: "notify::last-call-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
210
|
+
connect_after(sigName: "notify::last-call-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
211
|
+
emit(sigName: "notify::last-call-interaction-datetime", ...args: any[]): void
|
|
212
|
+
connect(sigName: "notify::im-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
213
|
+
connect_after(sigName: "notify::im-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
214
|
+
emit(sigName: "notify::im-addresses", ...args: any[]): void
|
|
215
|
+
connect(sigName: "notify::structured-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
216
|
+
connect_after(sigName: "notify::structured-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
217
|
+
emit(sigName: "notify::structured-name", ...args: any[]): void
|
|
218
|
+
connect(sigName: "notify::full-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
219
|
+
connect_after(sigName: "notify::full-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
220
|
+
emit(sigName: "notify::full-name", ...args: any[]): void
|
|
221
|
+
connect(sigName: "notify::nickname", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
222
|
+
connect_after(sigName: "notify::nickname", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
223
|
+
emit(sigName: "notify::nickname", ...args: any[]): void
|
|
224
|
+
connect(sigName: "notify::phone-numbers", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
225
|
+
connect_after(sigName: "notify::phone-numbers", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
226
|
+
emit(sigName: "notify::phone-numbers", ...args: any[]): void
|
|
227
|
+
connect(sigName: "notify::presence-type", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
228
|
+
connect_after(sigName: "notify::presence-type", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
229
|
+
emit(sigName: "notify::presence-type", ...args: any[]): void
|
|
230
|
+
connect(sigName: "notify::presence-message", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
231
|
+
connect_after(sigName: "notify::presence-message", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
232
|
+
emit(sigName: "notify::presence-message", ...args: any[]): void
|
|
233
|
+
connect(sigName: "notify::client-types", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
234
|
+
connect_after(sigName: "notify::client-types", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
235
|
+
emit(sigName: "notify::client-types", ...args: any[]): void
|
|
236
|
+
connect(sigName: "notify::presence-status", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
237
|
+
connect_after(sigName: "notify::presence-status", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
238
|
+
emit(sigName: "notify::presence-status", ...args: any[]): void
|
|
239
|
+
connect(sigName: "notify::urls", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
240
|
+
connect_after(sigName: "notify::urls", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
241
|
+
emit(sigName: "notify::urls", ...args: any[]): void
|
|
242
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
243
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
244
|
+
emit(sigName: string, ...args: any[]): void
|
|
245
|
+
disconnect(id: number): void
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class Persona extends Folks.Persona {
|
|
249
|
+
|
|
250
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
251
|
+
|
|
252
|
+
static name: string
|
|
253
|
+
static $gtype: GObject.GType<Persona>
|
|
254
|
+
|
|
255
|
+
// Constructors of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
256
|
+
|
|
257
|
+
constructor(config?: Persona.ConstructorProperties)
|
|
258
|
+
constructor(contact: TelepathyGLib.Contact, store: PersonaStore)
|
|
259
|
+
static new(contact: TelepathyGLib.Contact, store: PersonaStore): Persona
|
|
260
|
+
_init(config?: Persona.ConstructorProperties): void
|
|
261
|
+
static dup_for_contact(contact: TelepathyGLib.Contact): Persona | null
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export interface PersonaStoreClass {
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export abstract class PersonaStoreClass {
|
|
268
|
+
|
|
269
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStoreClass
|
|
270
|
+
|
|
271
|
+
static name: string
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface PersonaStorePrivate {
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export class PersonaStorePrivate {
|
|
278
|
+
|
|
279
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStorePrivate
|
|
280
|
+
|
|
281
|
+
static name: string
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export interface PersonaClass {
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export abstract class PersonaClass {
|
|
288
|
+
|
|
289
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaClass
|
|
290
|
+
|
|
291
|
+
static name: string
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export interface PersonaPrivate {
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export class PersonaPrivate {
|
|
298
|
+
|
|
299
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaPrivate
|
|
300
|
+
|
|
301
|
+
static name: string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Name of the imported GIR library
|
|
306
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
307
|
+
*/
|
|
308
|
+
export const __name__: string
|
|
309
|
+
/**
|
|
310
|
+
* Version of the imported GIR library
|
|
311
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
312
|
+
*/
|
|
313
|
+
export const __version__: string
|
|
314
|
+
// END
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* Type Definitions for Gjs (https://gjs.guide/)
|
|
4
|
+
*
|
|
5
|
+
* These type definitions are automatically generated, do not edit them by hand.
|
|
6
|
+
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* FolksTelepathy-0.6
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type GLib from '@girs/glib-2.0';
|
|
13
|
+
import type Gee from '@girs/gee-0.8';
|
|
14
|
+
import type Gio from '@girs/gio-2.0';
|
|
15
|
+
import type GObject from '@girs/gobject-2.0';
|
|
16
|
+
import type TelepathyGLib from '@girs/telepathyglib-0.12';
|
|
17
|
+
import type Folks from '@girs/folks-0.6';
|
|
18
|
+
|
|
19
|
+
export namespace FolksTelepathy {
|
|
20
|
+
|
|
21
|
+
module PersonaStore {
|
|
22
|
+
|
|
23
|
+
// Constructor properties interface
|
|
24
|
+
|
|
25
|
+
interface ConstructorProperties extends Folks.PersonaStore.ConstructorProperties {
|
|
26
|
+
|
|
27
|
+
// Own constructor properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
28
|
+
|
|
29
|
+
account?: TelepathyGLib.Account | null
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface PersonaStore {
|
|
35
|
+
|
|
36
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
37
|
+
|
|
38
|
+
readonly account: TelepathyGLib.Account
|
|
39
|
+
|
|
40
|
+
// Owm methods of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
41
|
+
|
|
42
|
+
get_account(): TelepathyGLib.Account
|
|
43
|
+
|
|
44
|
+
// Class property signals of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
45
|
+
|
|
46
|
+
connect(sigName: "notify::account", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
47
|
+
connect_after(sigName: "notify::account", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
48
|
+
emit(sigName: "notify::account", ...args: any[]): void
|
|
49
|
+
connect(sigName: "notify::type-id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
50
|
+
connect_after(sigName: "notify::type-id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
51
|
+
emit(sigName: "notify::type-id", ...args: any[]): void
|
|
52
|
+
connect(sigName: "notify::display-name", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
53
|
+
connect_after(sigName: "notify::display-name", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
54
|
+
emit(sigName: "notify::display-name", ...args: any[]): void
|
|
55
|
+
connect(sigName: "notify::id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
56
|
+
connect_after(sigName: "notify::id", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
57
|
+
emit(sigName: "notify::id", ...args: any[]): void
|
|
58
|
+
connect(sigName: "notify::personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
59
|
+
connect_after(sigName: "notify::personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
60
|
+
emit(sigName: "notify::personas", ...args: any[]): void
|
|
61
|
+
connect(sigName: "notify::can-add-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
62
|
+
connect_after(sigName: "notify::can-add-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
63
|
+
emit(sigName: "notify::can-add-personas", ...args: any[]): void
|
|
64
|
+
connect(sigName: "notify::can-alias-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
65
|
+
connect_after(sigName: "notify::can-alias-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
66
|
+
emit(sigName: "notify::can-alias-personas", ...args: any[]): void
|
|
67
|
+
connect(sigName: "notify::can-group-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
68
|
+
connect_after(sigName: "notify::can-group-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
69
|
+
emit(sigName: "notify::can-group-personas", ...args: any[]): void
|
|
70
|
+
connect(sigName: "notify::can-remove-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
71
|
+
connect_after(sigName: "notify::can-remove-personas", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
72
|
+
emit(sigName: "notify::can-remove-personas", ...args: any[]): void
|
|
73
|
+
connect(sigName: "notify::is-prepared", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
74
|
+
connect_after(sigName: "notify::is-prepared", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
75
|
+
emit(sigName: "notify::is-prepared", ...args: any[]): void
|
|
76
|
+
connect(sigName: "notify::is-quiescent", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
77
|
+
connect_after(sigName: "notify::is-quiescent", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
78
|
+
emit(sigName: "notify::is-quiescent", ...args: any[]): void
|
|
79
|
+
connect(sigName: "notify::is-writeable", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
80
|
+
connect_after(sigName: "notify::is-writeable", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
81
|
+
emit(sigName: "notify::is-writeable", ...args: any[]): void
|
|
82
|
+
connect(sigName: "notify::trust-level", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
83
|
+
connect_after(sigName: "notify::trust-level", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
84
|
+
emit(sigName: "notify::trust-level", ...args: any[]): void
|
|
85
|
+
connect(sigName: "notify::always-writeable-properties", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
86
|
+
connect_after(sigName: "notify::always-writeable-properties", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
87
|
+
emit(sigName: "notify::always-writeable-properties", ...args: any[]): void
|
|
88
|
+
connect(sigName: "notify::is-primary-store", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
89
|
+
connect_after(sigName: "notify::is-primary-store", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
90
|
+
emit(sigName: "notify::is-primary-store", ...args: any[]): void
|
|
91
|
+
connect(sigName: "notify::is-user-set-default", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
92
|
+
connect_after(sigName: "notify::is-user-set-default", callback: (($obj: PersonaStore, pspec: GObject.ParamSpec) => void)): number
|
|
93
|
+
emit(sigName: "notify::is-user-set-default", ...args: any[]): void
|
|
94
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
95
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
96
|
+
emit(sigName: string, ...args: any[]): void
|
|
97
|
+
disconnect(id: number): void
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
class PersonaStore extends Folks.PersonaStore {
|
|
101
|
+
|
|
102
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
103
|
+
|
|
104
|
+
static name: string
|
|
105
|
+
static $gtype: GObject.GType<PersonaStore>
|
|
106
|
+
|
|
107
|
+
// Constructors of FolksTelepathy-0.6.FolksTelepathy.PersonaStore
|
|
108
|
+
|
|
109
|
+
constructor(config?: PersonaStore.ConstructorProperties)
|
|
110
|
+
constructor(account: TelepathyGLib.Account)
|
|
111
|
+
static new(account: TelepathyGLib.Account): PersonaStore
|
|
112
|
+
_init(config?: PersonaStore.ConstructorProperties): void
|
|
113
|
+
static list_persona_stores(): Gee.Map
|
|
114
|
+
static dup_for_account(account: TelepathyGLib.Account): PersonaStore
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
module Persona {
|
|
118
|
+
|
|
119
|
+
// Constructor properties interface
|
|
120
|
+
|
|
121
|
+
interface ConstructorProperties extends Folks.AliasDetails.ConstructorProperties, Folks.AvatarDetails.ConstructorProperties, Folks.BirthdayDetails.ConstructorProperties, Folks.EmailDetails.ConstructorProperties, Folks.FavouriteDetails.ConstructorProperties, Folks.GroupDetails.ConstructorProperties, Folks.InteractionDetails.ConstructorProperties, Folks.ImDetails.ConstructorProperties, Folks.NameDetails.ConstructorProperties, Folks.PhoneDetails.ConstructorProperties, Folks.PresenceDetails.ConstructorProperties, Folks.UrlDetails.ConstructorProperties, Folks.Persona.ConstructorProperties {
|
|
122
|
+
|
|
123
|
+
// Own constructor properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
124
|
+
|
|
125
|
+
is_in_contact_list?: boolean | null
|
|
126
|
+
contact?: TelepathyGLib.Contact | null
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
interface Persona extends Folks.AliasDetails, Folks.AvatarDetails, Folks.BirthdayDetails, Folks.EmailDetails, Folks.FavouriteDetails, Folks.GroupDetails, Folks.InteractionDetails, Folks.ImDetails, Folks.NameDetails, Folks.PhoneDetails, Folks.PresenceDetails, Folks.UrlDetails {
|
|
132
|
+
|
|
133
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
134
|
+
|
|
135
|
+
is_in_contact_list: boolean
|
|
136
|
+
readonly contact: TelepathyGLib.Contact
|
|
137
|
+
|
|
138
|
+
// Own fields of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
139
|
+
|
|
140
|
+
_last_im_interaction_datetime?: GLib.DateTime | null
|
|
141
|
+
_last_call_interaction_datetime?: GLib.DateTime | null
|
|
142
|
+
|
|
143
|
+
// Owm methods of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
144
|
+
|
|
145
|
+
get_is_in_contact_list(): boolean
|
|
146
|
+
set_is_in_contact_list(value: boolean): void
|
|
147
|
+
get_contact(): TelepathyGLib.Contact | null
|
|
148
|
+
|
|
149
|
+
// Class property signals of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
150
|
+
|
|
151
|
+
connect(sigName: "notify::is-in-contact-list", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
152
|
+
connect_after(sigName: "notify::is-in-contact-list", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
153
|
+
emit(sigName: "notify::is-in-contact-list", ...args: any[]): void
|
|
154
|
+
connect(sigName: "notify::contact", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
155
|
+
connect_after(sigName: "notify::contact", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
156
|
+
emit(sigName: "notify::contact", ...args: any[]): void
|
|
157
|
+
connect(sigName: "notify::iid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
158
|
+
connect_after(sigName: "notify::iid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
159
|
+
emit(sigName: "notify::iid", ...args: any[]): void
|
|
160
|
+
connect(sigName: "notify::uid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
161
|
+
connect_after(sigName: "notify::uid", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
162
|
+
emit(sigName: "notify::uid", ...args: any[]): void
|
|
163
|
+
connect(sigName: "notify::display-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
164
|
+
connect_after(sigName: "notify::display-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
165
|
+
emit(sigName: "notify::display-id", ...args: any[]): void
|
|
166
|
+
connect(sigName: "notify::is-user", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
167
|
+
connect_after(sigName: "notify::is-user", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
168
|
+
emit(sigName: "notify::is-user", ...args: any[]): void
|
|
169
|
+
connect(sigName: "notify::store", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
170
|
+
connect_after(sigName: "notify::store", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
171
|
+
emit(sigName: "notify::store", ...args: any[]): void
|
|
172
|
+
connect(sigName: "notify::individual", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
173
|
+
connect_after(sigName: "notify::individual", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
174
|
+
emit(sigName: "notify::individual", ...args: any[]): void
|
|
175
|
+
connect(sigName: "notify::linkable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
176
|
+
connect_after(sigName: "notify::linkable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
177
|
+
emit(sigName: "notify::linkable-properties", ...args: any[]): void
|
|
178
|
+
connect(sigName: "notify::writeable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
179
|
+
connect_after(sigName: "notify::writeable-properties", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
180
|
+
emit(sigName: "notify::writeable-properties", ...args: any[]): void
|
|
181
|
+
connect(sigName: "notify::alias", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
182
|
+
connect_after(sigName: "notify::alias", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
183
|
+
emit(sigName: "notify::alias", ...args: any[]): void
|
|
184
|
+
connect(sigName: "notify::avatar", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
185
|
+
connect_after(sigName: "notify::avatar", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
186
|
+
emit(sigName: "notify::avatar", ...args: any[]): void
|
|
187
|
+
connect(sigName: "notify::birthday", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
188
|
+
connect_after(sigName: "notify::birthday", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
189
|
+
emit(sigName: "notify::birthday", ...args: any[]): void
|
|
190
|
+
connect(sigName: "notify::calendar-event-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
191
|
+
connect_after(sigName: "notify::calendar-event-id", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
192
|
+
emit(sigName: "notify::calendar-event-id", ...args: any[]): void
|
|
193
|
+
connect(sigName: "notify::email-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
194
|
+
connect_after(sigName: "notify::email-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
195
|
+
emit(sigName: "notify::email-addresses", ...args: any[]): void
|
|
196
|
+
connect(sigName: "notify::is-favourite", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
197
|
+
connect_after(sigName: "notify::is-favourite", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
198
|
+
emit(sigName: "notify::is-favourite", ...args: any[]): void
|
|
199
|
+
connect(sigName: "notify::groups", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
200
|
+
connect_after(sigName: "notify::groups", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
201
|
+
emit(sigName: "notify::groups", ...args: any[]): void
|
|
202
|
+
connect(sigName: "notify::im-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
203
|
+
connect_after(sigName: "notify::im-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
204
|
+
emit(sigName: "notify::im-interaction-count", ...args: any[]): void
|
|
205
|
+
connect(sigName: "notify::last-im-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
206
|
+
connect_after(sigName: "notify::last-im-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
207
|
+
emit(sigName: "notify::last-im-interaction-datetime", ...args: any[]): void
|
|
208
|
+
connect(sigName: "notify::call-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
209
|
+
connect_after(sigName: "notify::call-interaction-count", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
210
|
+
emit(sigName: "notify::call-interaction-count", ...args: any[]): void
|
|
211
|
+
connect(sigName: "notify::last-call-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
212
|
+
connect_after(sigName: "notify::last-call-interaction-datetime", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
213
|
+
emit(sigName: "notify::last-call-interaction-datetime", ...args: any[]): void
|
|
214
|
+
connect(sigName: "notify::im-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
215
|
+
connect_after(sigName: "notify::im-addresses", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
216
|
+
emit(sigName: "notify::im-addresses", ...args: any[]): void
|
|
217
|
+
connect(sigName: "notify::structured-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
218
|
+
connect_after(sigName: "notify::structured-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
219
|
+
emit(sigName: "notify::structured-name", ...args: any[]): void
|
|
220
|
+
connect(sigName: "notify::full-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
221
|
+
connect_after(sigName: "notify::full-name", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
222
|
+
emit(sigName: "notify::full-name", ...args: any[]): void
|
|
223
|
+
connect(sigName: "notify::nickname", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
224
|
+
connect_after(sigName: "notify::nickname", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
225
|
+
emit(sigName: "notify::nickname", ...args: any[]): void
|
|
226
|
+
connect(sigName: "notify::phone-numbers", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
227
|
+
connect_after(sigName: "notify::phone-numbers", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
228
|
+
emit(sigName: "notify::phone-numbers", ...args: any[]): void
|
|
229
|
+
connect(sigName: "notify::presence-type", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
230
|
+
connect_after(sigName: "notify::presence-type", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
231
|
+
emit(sigName: "notify::presence-type", ...args: any[]): void
|
|
232
|
+
connect(sigName: "notify::presence-message", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
233
|
+
connect_after(sigName: "notify::presence-message", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
234
|
+
emit(sigName: "notify::presence-message", ...args: any[]): void
|
|
235
|
+
connect(sigName: "notify::client-types", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
236
|
+
connect_after(sigName: "notify::client-types", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
237
|
+
emit(sigName: "notify::client-types", ...args: any[]): void
|
|
238
|
+
connect(sigName: "notify::presence-status", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
239
|
+
connect_after(sigName: "notify::presence-status", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
240
|
+
emit(sigName: "notify::presence-status", ...args: any[]): void
|
|
241
|
+
connect(sigName: "notify::urls", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
242
|
+
connect_after(sigName: "notify::urls", callback: (($obj: Persona, pspec: GObject.ParamSpec) => void)): number
|
|
243
|
+
emit(sigName: "notify::urls", ...args: any[]): void
|
|
244
|
+
connect(sigName: string, callback: (...args: any[]) => void): number
|
|
245
|
+
connect_after(sigName: string, callback: (...args: any[]) => void): number
|
|
246
|
+
emit(sigName: string, ...args: any[]): void
|
|
247
|
+
disconnect(id: number): void
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
class Persona extends Folks.Persona {
|
|
251
|
+
|
|
252
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
253
|
+
|
|
254
|
+
static name: string
|
|
255
|
+
static $gtype: GObject.GType<Persona>
|
|
256
|
+
|
|
257
|
+
// Constructors of FolksTelepathy-0.6.FolksTelepathy.Persona
|
|
258
|
+
|
|
259
|
+
constructor(config?: Persona.ConstructorProperties)
|
|
260
|
+
constructor(contact: TelepathyGLib.Contact, store: PersonaStore)
|
|
261
|
+
static new(contact: TelepathyGLib.Contact, store: PersonaStore): Persona
|
|
262
|
+
_init(config?: Persona.ConstructorProperties): void
|
|
263
|
+
static dup_for_contact(contact: TelepathyGLib.Contact): Persona | null
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface PersonaStoreClass {
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
abstract class PersonaStoreClass {
|
|
270
|
+
|
|
271
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStoreClass
|
|
272
|
+
|
|
273
|
+
static name: string
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
interface PersonaStorePrivate {
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
class PersonaStorePrivate {
|
|
280
|
+
|
|
281
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaStorePrivate
|
|
282
|
+
|
|
283
|
+
static name: string
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
interface PersonaClass {
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
abstract class PersonaClass {
|
|
290
|
+
|
|
291
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaClass
|
|
292
|
+
|
|
293
|
+
static name: string
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface PersonaPrivate {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
class PersonaPrivate {
|
|
300
|
+
|
|
301
|
+
// Own properties of FolksTelepathy-0.6.FolksTelepathy.PersonaPrivate
|
|
302
|
+
|
|
303
|
+
static name: string
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Name of the imported GIR library
|
|
308
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
|
|
309
|
+
*/
|
|
310
|
+
const __name__: string
|
|
311
|
+
/**
|
|
312
|
+
* Version of the imported GIR library
|
|
313
|
+
* @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
|
|
314
|
+
*/
|
|
315
|
+
const __version__: string
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export default FolksTelepathy;
|
|
319
|
+
// END
|
package/package.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@girs/folkstelepathy-0.6",
|
|
3
|
+
"version": "0.6.0-3.0.0-beta.12",
|
|
4
|
+
"description": "GJS TypeScript type definitions for FolksTelepathy-0.6, generated from library version 0.6.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "folkstelepathy-0.6.js",
|
|
7
|
+
"main": "folkstelepathy-0.6.js",
|
|
8
|
+
"typedoc": {
|
|
9
|
+
"entryPoint": "./folkstelepathy-0.6.d.ts",
|
|
10
|
+
"readmeFile": "./README.md",
|
|
11
|
+
"displayName": "FolksTelepathy-0.6",
|
|
12
|
+
"tsconfig": "./tsconfig.doc.json"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./folkstelepathy-0.6.d.ts",
|
|
18
|
+
"default": "./folkstelepathy-0.6.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./folkstelepathy-0.6.d.cts",
|
|
22
|
+
"default": "./folkstelepathy-0.6.cjs"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"test": "yarn test:esm && yarn test:cjs",
|
|
28
|
+
"test:esm": "tsc --noEmit folkstelepathy-0.6.d.ts",
|
|
29
|
+
"test:cjs": "tsc --noEmit folkstelepathy-0.6.d.cts"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@girs/folks-0.6": "^0.6.0-3.0.0-beta.12",
|
|
33
|
+
"@girs/gee-0.8": "^0.8.0-3.0.0-beta.12",
|
|
34
|
+
"@girs/gio-2.0": "^2.75.1-3.0.0-beta.12",
|
|
35
|
+
"@girs/glib-2.0": "^2.75.1-3.0.0-beta.12",
|
|
36
|
+
"@girs/gobject-2.0": "^2.75.1-3.0.0-beta.12",
|
|
37
|
+
"@girs/telepathyglib-0.12": "^0.12.0-3.0.0-beta.12"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"typescript": "^*"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"Gir",
|
|
44
|
+
"TypeScript",
|
|
45
|
+
"FolksTelepathy-0.6"
|
|
46
|
+
],
|
|
47
|
+
"author": "ts-for-gir",
|
|
48
|
+
"license": "Apache-2.0",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/gjsify/ts-for-gir.git"
|
|
52
|
+
},
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/gjsify/ts-for-gir/issues"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://github.com/gjsify/ts-for-gir#readme"
|
|
57
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
// General settings for code interpretation
|
|
4
|
+
"target": "ESNext",
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"moduleResolution": "node",
|
|
8
|
+
"noEmit": true,
|
|
9
|
+
"noEmitOnError": false,
|
|
10
|
+
"baseUrl": "./",
|
|
11
|
+
"rootDir": ".",
|
|
12
|
+
// General settings for code generation
|
|
13
|
+
"removeComments": false,
|
|
14
|
+
"inlineSourceMap": false,
|
|
15
|
+
"inlineSources": false,
|
|
16
|
+
"newLine": "LF"
|
|
17
|
+
},
|
|
18
|
+
"include": ["./folkstelepathy-0.6.d.ts"]
|
|
19
|
+
}
|