capacitor-plugin-healthapp 0.0.1

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.
@@ -0,0 +1,17 @@
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = 'CapacitorPluginHealthapp'
7
+ s.version = package['version']
8
+ s.summary = package['description']
9
+ s.license = package['license']
10
+ s.homepage = package['repository']['url']
11
+ s.author = package['author']
12
+ s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
13
+ s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14
+ s.ios.deployment_target = '13.0'
15
+ s.dependency 'Capacitor'
16
+ s.swift_version = '5.1'
17
+ end
package/README.md ADDED
@@ -0,0 +1,119 @@
1
+ # capacitor-plugin-healthapp
2
+
3
+ capacitor plugin for healthapp
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install capacitor-plugin-healthapp
9
+ npx cap sync
10
+ ```
11
+
12
+ ## API
13
+
14
+ <docgen-index>
15
+
16
+ * [`echo(...)`](#echo)
17
+ * [`getHealthKitData(...)`](#gethealthkitdata)
18
+ * [`getIndividualHealthKitData(...)`](#getindividualhealthkitdata)
19
+ * [Interfaces](#interfaces)
20
+ * [Type Aliases](#type-aliases)
21
+
22
+ </docgen-index>
23
+
24
+ <docgen-api>
25
+ <!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
26
+
27
+ ### echo(...)
28
+
29
+ ```typescript
30
+ echo(options: { value: string; }) => Promise<{ value: string; }>
31
+ ```
32
+
33
+ | Param | Type |
34
+ | ------------- | ------------------------------- |
35
+ | **`options`** | <code>{ value: string; }</code> |
36
+
37
+ **Returns:** <code>Promise&lt;{ value: string; }&gt;</code>
38
+
39
+ --------------------
40
+
41
+
42
+ ### getHealthKitData(...)
43
+
44
+ ```typescript
45
+ getHealthKitData(options: Object) => Promise<{ value: any; }>
46
+ ```
47
+
48
+ | Param | Type |
49
+ | ------------- | ----------------------------------------- |
50
+ | **`options`** | <code><a href="#object">Object</a></code> |
51
+
52
+ **Returns:** <code>Promise&lt;{ value: any; }&gt;</code>
53
+
54
+ --------------------
55
+
56
+
57
+ ### getIndividualHealthKitData(...)
58
+
59
+ ```typescript
60
+ getIndividualHealthKitData(options: Object) => Promise<{ value: any; }>
61
+ ```
62
+
63
+ | Param | Type |
64
+ | ------------- | ----------------------------------------- |
65
+ | **`options`** | <code><a href="#object">Object</a></code> |
66
+
67
+ **Returns:** <code>Promise&lt;{ value: any; }&gt;</code>
68
+
69
+ --------------------
70
+
71
+
72
+ ### Interfaces
73
+
74
+
75
+ #### Object
76
+
77
+ Provides functionality common to all JavaScript objects.
78
+
79
+ | Prop | Type | Description |
80
+ | ----------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
81
+ | **`constructor`** | <code><a href="#function">Function</a></code> | The initial value of <a href="#object">Object</a>.prototype.constructor is the standard built-in <a href="#object">Object</a> constructor. |
82
+
83
+ | Method | Signature | Description |
84
+ | ------------------------ | --------------------------------------------------------- | ------------------------------------------------------------------------ |
85
+ | **toString** | () =&gt; string | Returns a string representation of an object. |
86
+ | **toLocaleString** | () =&gt; string | Returns a date converted to a string using the current locale. |
87
+ | **valueOf** | () =&gt; <a href="#object">Object</a> | Returns the primitive value of the specified object. |
88
+ | **hasOwnProperty** | (v: <a href="#propertykey">PropertyKey</a>) =&gt; boolean | Determines whether an object has a property with the specified name. |
89
+ | **isPrototypeOf** | (v: <a href="#object">Object</a>) =&gt; boolean | Determines whether an object exists in another object's prototype chain. |
90
+ | **propertyIsEnumerable** | (v: <a href="#propertykey">PropertyKey</a>) =&gt; boolean | Determines whether a specified property is enumerable. |
91
+
92
+
93
+ #### Function
94
+
95
+ Creates a new function.
96
+
97
+ | Prop | Type |
98
+ | --------------- | --------------------------------------------- |
99
+ | **`prototype`** | <code>any</code> |
100
+ | **`length`** | <code>number</code> |
101
+ | **`arguments`** | <code>any</code> |
102
+ | **`caller`** | <code><a href="#function">Function</a></code> |
103
+
104
+ | Method | Signature | Description |
105
+ | ------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
106
+ | **apply** | (this: <a href="#function">Function</a>, thisArg: any, argArray?: any) =&gt; any | Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function. |
107
+ | **call** | (this: <a href="#function">Function</a>, thisArg: any, ...argArray: any[]) =&gt; any | Calls a method of an object, substituting another object for the current object. |
108
+ | **bind** | (this: <a href="#function">Function</a>, thisArg: any, ...argArray: any[]) =&gt; any | For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters. |
109
+ | **toString** | () =&gt; string | Returns a string representation of a function. |
110
+
111
+
112
+ ### Type Aliases
113
+
114
+
115
+ #### PropertyKey
116
+
117
+ <code>string | number | symbol</code>
118
+
119
+ </docgen-api>
@@ -0,0 +1,58 @@
1
+ ext {
2
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
4
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
6
+ }
7
+
8
+ buildscript {
9
+ repositories {
10
+ google()
11
+ mavenCentral()
12
+ }
13
+ dependencies {
14
+ classpath 'com.android.tools.build:gradle:8.0.0'
15
+ }
16
+ }
17
+
18
+ apply plugin: 'com.android.library'
19
+
20
+ android {
21
+ namespace "com.managemyhealth.healthapp"
22
+ compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
23
+ defaultConfig {
24
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
25
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
26
+ versionCode 1
27
+ versionName "1.0"
28
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
29
+ }
30
+ buildTypes {
31
+ release {
32
+ minifyEnabled false
33
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
34
+ }
35
+ }
36
+ lintOptions {
37
+ abortOnError false
38
+ }
39
+ compileOptions {
40
+ sourceCompatibility JavaVersion.VERSION_17
41
+ targetCompatibility JavaVersion.VERSION_17
42
+ }
43
+ }
44
+
45
+ repositories {
46
+ google()
47
+ mavenCentral()
48
+ }
49
+
50
+
51
+ dependencies {
52
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
53
+ implementation project(':capacitor-android')
54
+ implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
55
+ testImplementation "junit:junit:$junitVersion"
56
+ androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
57
+ androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
58
+ }
@@ -0,0 +1,2 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ </manifest>
@@ -0,0 +1,11 @@
1
+ package com.managemyhealth.healthapp;
2
+
3
+ import android.util.Log;
4
+
5
+ public class Example {
6
+
7
+ public String echo(String value) {
8
+ Log.i("Echo", value);
9
+ return value;
10
+ }
11
+ }
@@ -0,0 +1,22 @@
1
+ package com.managemyhealth.healthapp;
2
+
3
+ import com.getcapacitor.JSObject;
4
+ import com.getcapacitor.Plugin;
5
+ import com.getcapacitor.PluginCall;
6
+ import com.getcapacitor.PluginMethod;
7
+ import com.getcapacitor.annotation.CapacitorPlugin;
8
+
9
+ @CapacitorPlugin(name = "Example")
10
+ public class ExamplePlugin extends Plugin {
11
+
12
+ private Example implementation = new Example();
13
+
14
+ @PluginMethod
15
+ public void echo(PluginCall call) {
16
+ String value = call.getString("value");
17
+
18
+ JSObject ret = new JSObject();
19
+ ret.put("value", implementation.echo(value));
20
+ call.resolve(ret);
21
+ }
22
+ }
File without changes
package/dist/docs.json ADDED
@@ -0,0 +1,354 @@
1
+ {
2
+ "api": {
3
+ "name": "HealthAppPlugin",
4
+ "slug": "healthappplugin",
5
+ "docs": "",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "echo",
10
+ "signature": "(options: { value: string; }) => Promise<{ value: string; }>",
11
+ "parameters": [
12
+ {
13
+ "name": "options",
14
+ "docs": "",
15
+ "type": "{ value: string; }"
16
+ }
17
+ ],
18
+ "returns": "Promise<{ value: string; }>",
19
+ "tags": [],
20
+ "docs": "",
21
+ "complexTypes": [],
22
+ "slug": "echo"
23
+ },
24
+ {
25
+ "name": "getHealthKitData",
26
+ "signature": "(options: Object) => Promise<{ value: any; }>",
27
+ "parameters": [
28
+ {
29
+ "name": "options",
30
+ "docs": "",
31
+ "type": "Object"
32
+ }
33
+ ],
34
+ "returns": "Promise<{ value: any; }>",
35
+ "tags": [],
36
+ "docs": "",
37
+ "complexTypes": [
38
+ "Object"
39
+ ],
40
+ "slug": "gethealthkitdata"
41
+ },
42
+ {
43
+ "name": "getIndividualHealthKitData",
44
+ "signature": "(options: Object) => Promise<{ value: any; }>",
45
+ "parameters": [
46
+ {
47
+ "name": "options",
48
+ "docs": "",
49
+ "type": "Object"
50
+ }
51
+ ],
52
+ "returns": "Promise<{ value: any; }>",
53
+ "tags": [],
54
+ "docs": "",
55
+ "complexTypes": [
56
+ "Object"
57
+ ],
58
+ "slug": "getindividualhealthkitdata"
59
+ }
60
+ ],
61
+ "properties": []
62
+ },
63
+ "interfaces": [
64
+ {
65
+ "name": "Object",
66
+ "slug": "object",
67
+ "docs": "Provides functionality common to all JavaScript objects.",
68
+ "tags": [],
69
+ "methods": [
70
+ {
71
+ "name": "toString",
72
+ "signature": "() => string",
73
+ "parameters": [],
74
+ "returns": "string",
75
+ "tags": [],
76
+ "docs": "Returns a string representation of an object.",
77
+ "complexTypes": [],
78
+ "slug": "tostring"
79
+ },
80
+ {
81
+ "name": "toLocaleString",
82
+ "signature": "() => string",
83
+ "parameters": [],
84
+ "returns": "string",
85
+ "tags": [],
86
+ "docs": "Returns a date converted to a string using the current locale.",
87
+ "complexTypes": [],
88
+ "slug": "tolocalestring"
89
+ },
90
+ {
91
+ "name": "valueOf",
92
+ "signature": "() => Object",
93
+ "parameters": [],
94
+ "returns": "Object",
95
+ "tags": [],
96
+ "docs": "Returns the primitive value of the specified object.",
97
+ "complexTypes": [
98
+ "Object"
99
+ ],
100
+ "slug": "valueof"
101
+ },
102
+ {
103
+ "name": "hasOwnProperty",
104
+ "signature": "(v: PropertyKey) => boolean",
105
+ "parameters": [
106
+ {
107
+ "name": "v",
108
+ "docs": "A property name.",
109
+ "type": "PropertyKey"
110
+ }
111
+ ],
112
+ "returns": "boolean",
113
+ "tags": [
114
+ {
115
+ "name": "param",
116
+ "text": "v A property name."
117
+ }
118
+ ],
119
+ "docs": "Determines whether an object has a property with the specified name.",
120
+ "complexTypes": [
121
+ "PropertyKey"
122
+ ],
123
+ "slug": "hasownproperty"
124
+ },
125
+ {
126
+ "name": "isPrototypeOf",
127
+ "signature": "(v: Object) => boolean",
128
+ "parameters": [
129
+ {
130
+ "name": "v",
131
+ "docs": "Another object whose prototype chain is to be checked.",
132
+ "type": "Object"
133
+ }
134
+ ],
135
+ "returns": "boolean",
136
+ "tags": [
137
+ {
138
+ "name": "param",
139
+ "text": "v Another object whose prototype chain is to be checked."
140
+ }
141
+ ],
142
+ "docs": "Determines whether an object exists in another object's prototype chain.",
143
+ "complexTypes": [
144
+ "Object"
145
+ ],
146
+ "slug": "isprototypeof"
147
+ },
148
+ {
149
+ "name": "propertyIsEnumerable",
150
+ "signature": "(v: PropertyKey) => boolean",
151
+ "parameters": [
152
+ {
153
+ "name": "v",
154
+ "docs": "A property name.",
155
+ "type": "PropertyKey"
156
+ }
157
+ ],
158
+ "returns": "boolean",
159
+ "tags": [
160
+ {
161
+ "name": "param",
162
+ "text": "v A property name."
163
+ }
164
+ ],
165
+ "docs": "Determines whether a specified property is enumerable.",
166
+ "complexTypes": [
167
+ "PropertyKey"
168
+ ],
169
+ "slug": "propertyisenumerable"
170
+ }
171
+ ],
172
+ "properties": [
173
+ {
174
+ "name": "constructor",
175
+ "tags": [],
176
+ "docs": "The initial value of Object.prototype.constructor is the standard built-in Object constructor.",
177
+ "complexTypes": [
178
+ "Function"
179
+ ],
180
+ "type": "Function"
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "name": "Function",
186
+ "slug": "function",
187
+ "docs": "Creates a new function.",
188
+ "tags": [],
189
+ "methods": [
190
+ {
191
+ "name": "apply",
192
+ "signature": "(this: Function, thisArg: any, argArray?: any) => any",
193
+ "parameters": [
194
+ {
195
+ "name": "thisArg",
196
+ "docs": "The object to be used as the this object.",
197
+ "type": "any"
198
+ },
199
+ {
200
+ "name": "argArray",
201
+ "docs": "A set of arguments to be passed to the function.",
202
+ "type": "any"
203
+ }
204
+ ],
205
+ "returns": "any",
206
+ "tags": [
207
+ {
208
+ "name": "param",
209
+ "text": "thisArg The object to be used as the this object."
210
+ },
211
+ {
212
+ "name": "param",
213
+ "text": "argArray A set of arguments to be passed to the function."
214
+ }
215
+ ],
216
+ "docs": "Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.",
217
+ "complexTypes": [
218
+ "Function"
219
+ ],
220
+ "slug": "apply"
221
+ },
222
+ {
223
+ "name": "call",
224
+ "signature": "(this: Function, thisArg: any, ...argArray: any[]) => any",
225
+ "parameters": [
226
+ {
227
+ "name": "thisArg",
228
+ "docs": "The object to be used as the current object.",
229
+ "type": "any"
230
+ },
231
+ {
232
+ "name": "argArray",
233
+ "docs": "A list of arguments to be passed to the method.",
234
+ "type": "any[]"
235
+ }
236
+ ],
237
+ "returns": "any",
238
+ "tags": [
239
+ {
240
+ "name": "param",
241
+ "text": "thisArg The object to be used as the current object."
242
+ },
243
+ {
244
+ "name": "param",
245
+ "text": "argArray A list of arguments to be passed to the method."
246
+ }
247
+ ],
248
+ "docs": "Calls a method of an object, substituting another object for the current object.",
249
+ "complexTypes": [
250
+ "Function"
251
+ ],
252
+ "slug": "call"
253
+ },
254
+ {
255
+ "name": "bind",
256
+ "signature": "(this: Function, thisArg: any, ...argArray: any[]) => any",
257
+ "parameters": [
258
+ {
259
+ "name": "thisArg",
260
+ "docs": "An object to which the this keyword can refer inside the new function.",
261
+ "type": "any"
262
+ },
263
+ {
264
+ "name": "argArray",
265
+ "docs": "A list of arguments to be passed to the new function.",
266
+ "type": "any[]"
267
+ }
268
+ ],
269
+ "returns": "any",
270
+ "tags": [
271
+ {
272
+ "name": "param",
273
+ "text": "thisArg An object to which the this keyword can refer inside the new function."
274
+ },
275
+ {
276
+ "name": "param",
277
+ "text": "argArray A list of arguments to be passed to the new function."
278
+ }
279
+ ],
280
+ "docs": "For a given function, creates a bound function that has the same body as the original function.\r\nThe this object of the bound function is associated with the specified object, and has the specified initial parameters.",
281
+ "complexTypes": [
282
+ "Function"
283
+ ],
284
+ "slug": "bind"
285
+ },
286
+ {
287
+ "name": "toString",
288
+ "signature": "() => string",
289
+ "parameters": [],
290
+ "returns": "string",
291
+ "tags": [],
292
+ "docs": "Returns a string representation of a function.",
293
+ "complexTypes": [],
294
+ "slug": "tostring"
295
+ }
296
+ ],
297
+ "properties": [
298
+ {
299
+ "name": "prototype",
300
+ "tags": [],
301
+ "docs": "",
302
+ "complexTypes": [],
303
+ "type": "any"
304
+ },
305
+ {
306
+ "name": "length",
307
+ "tags": [],
308
+ "docs": "",
309
+ "complexTypes": [],
310
+ "type": "number"
311
+ },
312
+ {
313
+ "name": "arguments",
314
+ "tags": [],
315
+ "docs": "",
316
+ "complexTypes": [],
317
+ "type": "any"
318
+ },
319
+ {
320
+ "name": "caller",
321
+ "tags": [],
322
+ "docs": "",
323
+ "complexTypes": [
324
+ "Function"
325
+ ],
326
+ "type": "Function"
327
+ }
328
+ ]
329
+ }
330
+ ],
331
+ "enums": [],
332
+ "typeAliases": [
333
+ {
334
+ "name": "PropertyKey",
335
+ "slug": "propertykey",
336
+ "docs": "",
337
+ "types": [
338
+ {
339
+ "text": "string",
340
+ "complexTypes": []
341
+ },
342
+ {
343
+ "text": "number",
344
+ "complexTypes": []
345
+ },
346
+ {
347
+ "text": "symbol",
348
+ "complexTypes": []
349
+ }
350
+ ]
351
+ }
352
+ ],
353
+ "pluginConfigs": []
354
+ }
@@ -0,0 +1,13 @@
1
+ export interface HealthAppPlugin {
2
+ echo(options: {
3
+ value: string;
4
+ }): Promise<{
5
+ value: string;
6
+ }>;
7
+ getHealthKitData(options: Object): Promise<{
8
+ value: any;
9
+ }>;
10
+ getIndividualHealthKitData(options: Object): Promise<{
11
+ value: any;
12
+ }>;
13
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface HealthAppPlugin {\n echo(options: { value: string }): Promise<{ value: string }>;\n getHealthKitData(options: Object): Promise<{ value: any }>;\n getIndividualHealthKitData(options: Object): Promise<{ value: any }>;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import type { HealthAppPlugin } from './definitions';
2
+ declare const HealthApp: HealthAppPlugin;
3
+ export * from './definitions';
4
+ export { HealthApp };
@@ -0,0 +1,7 @@
1
+ import { registerPlugin } from '@capacitor/core';
2
+ const HealthApp = registerPlugin('HealthApp', {
3
+ web: () => import('./web').then(m => new m.ExampleWeb()),
4
+ });
5
+ export * from './definitions';
6
+ export { HealthApp };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,SAAS,GAAG,cAAc,CAAkB,WAAW,EAAE;IAC7D,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;CACzD,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { HealthAppPlugin } from './definitions';\n\nconst HealthApp = registerPlugin<HealthAppPlugin>('HealthApp', {\n web: () => import('./web').then(m => new m.ExampleWeb()),\n});\n\nexport * from './definitions';\nexport { HealthApp };\n"]}
@@ -0,0 +1,15 @@
1
+ import { WebPlugin } from '@capacitor/core';
2
+ import type { HealthAppPlugin } from './definitions';
3
+ export declare class ExampleWeb extends WebPlugin implements HealthAppPlugin {
4
+ getHealthKitData(options: Object): Promise<{
5
+ value: any;
6
+ }>;
7
+ getIndividualHealthKitData(options: Object): Promise<{
8
+ value: any;
9
+ }>;
10
+ echo(options: {
11
+ value: string;
12
+ }): Promise<{
13
+ value: string;
14
+ }>;
15
+ }
@@ -0,0 +1,16 @@
1
+ import { WebPlugin } from '@capacitor/core';
2
+ export class ExampleWeb extends WebPlugin {
3
+ getHealthKitData(options) {
4
+ console.log('getHealthKitData', options);
5
+ throw new Error('Method not implemented.');
6
+ }
7
+ getIndividualHealthKitData(options) {
8
+ console.log('getHealthKitData', options);
9
+ throw new Error('Method not implemented.');
10
+ }
11
+ async echo(options) {
12
+ console.log('ECHO', options);
13
+ return options;
14
+ }
15
+ }
16
+ //# sourceMappingURL=web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAI5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,gBAAgB,CAAC,OAAe;QAC9B,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;QAEzC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,0BAA0B,CAAC,OAAe;QACxC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;QAEzC,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAA0B;QACnC,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAC7B,OAAO,OAAO,CAAC;IACjB,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type { HealthAppPlugin } from './definitions';\n\nexport class ExampleWeb extends WebPlugin implements HealthAppPlugin {\n getHealthKitData(options: Object): Promise<{ value: any; }> {\n console.log('getHealthKitData', options);\n\n throw new Error('Method not implemented.');\n }\n getIndividualHealthKitData(options: Object): Promise<{ value: any; }> {\n console.log('getHealthKitData', options);\n\n throw new Error('Method not implemented.');\n }\n async echo(options: { value: string }): Promise<{ value: string }> {\n console.log('ECHO', options);\n return options;\n }\n}\n"]}