@godaan/shared 1.0.0-SNAPSHOT → 1.0.0-SNAPSHOT-202512150737
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/kotlin/compose-multiplatform-core-compose-foundation-foundation.js +1 -1
- package/kotlin/compose-multiplatform-core-compose-runtime-runtime.js +1 -1
- package/kotlin/godaan-backend-shared.d.ts +8 -0
- package/kotlin/godaan-backend-shared.js +84 -4
- package/kotlin/godaan-backend-shared.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +9554 -76
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-atomicfu.js +190 -6
- package/kotlin/kotlinx-atomicfu.js.map +1 -1
- package/kotlin/kotlinx-coroutines-core.js +8162 -5
- package/kotlin/kotlinx-coroutines-core.js.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +204 -5
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js +2019 -5
- package/kotlin/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +772 -5
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/ktor-ktor-client-core.js +8305 -26
- package/kotlin/ktor-ktor-client-core.js.map +1 -1
- package/kotlin/ktor-ktor-events.js +84 -5
- package/kotlin/ktor-ktor-events.js.map +1 -1
- package/kotlin/ktor-ktor-http-cio.js +2268 -5
- package/kotlin/ktor-ktor-http-cio.js.map +1 -1
- package/kotlin/ktor-ktor-http.js +3026 -5
- package/kotlin/ktor-ktor-http.js.map +1 -1
- package/kotlin/ktor-ktor-io.js +3159 -5
- package/kotlin/ktor-ktor-io.js.map +1 -1
- package/kotlin/ktor-ktor-utils.js +2355 -5
- package/kotlin/ktor-ktor-utils.js.map +1 -1
- package/kotlin/ktor-ktor-websockets.js +437 -5
- package/kotlin/ktor-ktor-websockets.js.map +1 -1
- package/package.json +6 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare namespace io.ktor.client.engine.js {
|
|
4
|
+
/** @deprecated */
|
|
5
|
+
const initHook: any;
|
|
6
|
+
}
|
|
7
|
+
export declare function godaanAPI(baseUrl: string): any/* GodaanAPI */;
|
|
8
|
+
export as namespace com_godaan_shared;
|
|
@@ -1,19 +1,99 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './ktor-ktor-client-core.js'], factory);
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './ktor-ktor-client-core.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./ktor-ktor-client-core.js'));
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-client-core.js'));
|
|
6
6
|
else {
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'com.godaan:shared'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'com.godaan:shared'.");
|
|
9
|
+
}
|
|
7
10
|
if (typeof globalThis['ktor-ktor-client-core'] === 'undefined') {
|
|
8
11
|
throw new Error("Error loading module 'com.godaan:shared'. Its dependency 'ktor-ktor-client-core' was not found. Please, check whether 'ktor-ktor-client-core' is loaded prior to 'com.godaan:shared'.");
|
|
9
12
|
}
|
|
10
|
-
globalThis['com.godaan:shared'] = factory(typeof globalThis['com.godaan:shared'] === 'undefined' ? {} : globalThis['com.godaan:shared'], globalThis['ktor-ktor-client-core']);
|
|
13
|
+
globalThis['com.godaan:shared'] = factory(typeof globalThis['com.godaan:shared'] === 'undefined' ? {} : globalThis['com.godaan:shared'], globalThis['kotlin-kotlin-stdlib'], globalThis['ktor-ktor-client-core']);
|
|
11
14
|
}
|
|
12
|
-
}(function (_, kotlin_io_ktor_ktor_client_core) {
|
|
15
|
+
}(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_core) {
|
|
13
16
|
'use strict';
|
|
17
|
+
//region block: imports
|
|
18
|
+
var protoOf = kotlin_kotlin.$_$.g7;
|
|
19
|
+
var initMetadataForClass = kotlin_kotlin.$_$.q6;
|
|
20
|
+
var VOID = kotlin_kotlin.$_$.a;
|
|
21
|
+
var HttpClient = kotlin_io_ktor_ktor_client_core.$_$.a;
|
|
22
|
+
//endregion
|
|
14
23
|
//region block: pre-declaration
|
|
24
|
+
initMetadataForClass(GodaanAPI, 'GodaanAPI');
|
|
25
|
+
initMetadataForClass(CampaignLogClientImpl, 'CampaignLogClientImpl', VOID, VOID, VOID, [1]);
|
|
26
|
+
initMetadataForClass(CampaignsClientImpl, 'CampaignsClientImpl', VOID, VOID, VOID, [0, 1, 2]);
|
|
27
|
+
initMetadataForClass(CoreClientImpl, 'CoreClientImpl', VOID, VOID, VOID, [0, 1]);
|
|
28
|
+
initMetadataForClass(PlacesClientImpl, 'PlacesClientImpl', VOID, VOID, VOID, [1]);
|
|
29
|
+
initMetadataForClass(DonateClientImpl, 'DonateClientImpl', VOID, VOID, VOID, [1]);
|
|
30
|
+
initMetadataForClass(DonationsClientImpl, 'DonationsClientImpl', VOID, VOID, VOID, [1, 0]);
|
|
31
|
+
initMetadataForClass(LeaderboardClientImpl, 'LeaderboardClientImpl', VOID, VOID, VOID, [0]);
|
|
32
|
+
initMetadataForClass(OrganizationsClientImpl, 'OrganizationsClientImpl', VOID, VOID, VOID, [1]);
|
|
33
|
+
initMetadataForClass(StatsClientImpl, 'StatsClientImpl', VOID, VOID, VOID, [0]);
|
|
34
|
+
initMetadataForClass(WithdrawRequestClientImpl, 'WithdrawRequestClientImpl', VOID, VOID, VOID, [1, 0, 2]);
|
|
15
35
|
//endregion
|
|
36
|
+
function GodaanAPI(httpClient, baseUrl) {
|
|
37
|
+
this.c39_1 = httpClient;
|
|
38
|
+
this.d39_1 = new CampaignsClientImpl(this.c39_1, baseUrl);
|
|
39
|
+
this.e39_1 = new CampaignLogClientImpl(this.c39_1, baseUrl);
|
|
40
|
+
this.f39_1 = new CoreClientImpl(this.c39_1, baseUrl);
|
|
41
|
+
this.g39_1 = new PlacesClientImpl(this.c39_1, baseUrl);
|
|
42
|
+
this.h39_1 = new DonateClientImpl(this.c39_1, baseUrl);
|
|
43
|
+
this.i39_1 = new DonationsClientImpl(this.c39_1, baseUrl);
|
|
44
|
+
this.j39_1 = new LeaderboardClientImpl(this.c39_1, baseUrl);
|
|
45
|
+
this.k39_1 = new OrganizationsClientImpl(this.c39_1, baseUrl);
|
|
46
|
+
this.l39_1 = new StatsClientImpl(this.c39_1, baseUrl);
|
|
47
|
+
this.m39_1 = new WithdrawRequestClientImpl(this.c39_1, baseUrl);
|
|
48
|
+
}
|
|
49
|
+
function CampaignLogClientImpl(httpClient, baseUrl) {
|
|
50
|
+
this.n39_1 = httpClient;
|
|
51
|
+
this.o39_1 = baseUrl;
|
|
52
|
+
}
|
|
53
|
+
function CampaignsClientImpl(httpClient, baseUrl) {
|
|
54
|
+
this.p39_1 = httpClient;
|
|
55
|
+
this.q39_1 = baseUrl;
|
|
56
|
+
}
|
|
57
|
+
function CoreClientImpl(httpClient, baseUrl) {
|
|
58
|
+
this.r39_1 = httpClient;
|
|
59
|
+
this.s39_1 = baseUrl;
|
|
60
|
+
}
|
|
61
|
+
function PlacesClientImpl(httpClient, baseUrl) {
|
|
62
|
+
this.t39_1 = httpClient;
|
|
63
|
+
this.u39_1 = baseUrl;
|
|
64
|
+
}
|
|
65
|
+
function DonateClientImpl(httpClient, baseUrl) {
|
|
66
|
+
this.v39_1 = httpClient;
|
|
67
|
+
this.w39_1 = baseUrl;
|
|
68
|
+
}
|
|
69
|
+
function DonationsClientImpl(httpClient, baseUrl) {
|
|
70
|
+
this.x39_1 = httpClient;
|
|
71
|
+
this.y39_1 = baseUrl;
|
|
72
|
+
}
|
|
73
|
+
function LeaderboardClientImpl(httpClient, baseUrl) {
|
|
74
|
+
this.z39_1 = httpClient;
|
|
75
|
+
this.a3a_1 = baseUrl;
|
|
76
|
+
}
|
|
77
|
+
function OrganizationsClientImpl(httpClient, baseUrl) {
|
|
78
|
+
this.b3a_1 = httpClient;
|
|
79
|
+
this.c3a_1 = baseUrl;
|
|
80
|
+
}
|
|
81
|
+
function StatsClientImpl(httpClient, baseUrl) {
|
|
82
|
+
this.d3a_1 = httpClient;
|
|
83
|
+
this.e3a_1 = baseUrl;
|
|
84
|
+
}
|
|
85
|
+
function WithdrawRequestClientImpl(httpClient, baseUrl) {
|
|
86
|
+
this.f3a_1 = httpClient;
|
|
87
|
+
this.g3a_1 = baseUrl;
|
|
88
|
+
}
|
|
89
|
+
function godaanAPI(baseUrl) {
|
|
90
|
+
return new GodaanAPI(HttpClient(), baseUrl);
|
|
91
|
+
}
|
|
16
92
|
//region block: exports
|
|
93
|
+
function $jsExportAll$(_) {
|
|
94
|
+
_.godaanAPI = godaanAPI;
|
|
95
|
+
}
|
|
96
|
+
$jsExportAll$(_);
|
|
17
97
|
kotlin_io_ktor_ktor_client_core.$jsExportAll$(_);
|
|
18
98
|
//endregion
|
|
19
99
|
return _;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../shared/src/commonMain/kotlin/GodaanAPI.kt","../../../../../shared/src/commonMain/kotlin/campaigns/data/CampaignLogClientImpl.kt","../../../../../shared/src/commonMain/kotlin/campaigns/data/CampaignsClientImpl.kt","../../../../../shared/src/commonMain/kotlin/core/data/CoreClientImpl.kt","../../../../../shared/src/commonMain/kotlin/core/data/PlacesClientImpl.kt","../../../../../shared/src/commonMain/kotlin/donate/data/DonateClientImpl.kt","../../../../../shared/src/commonMain/kotlin/donations/data/DonationsClientImpl.kt","../../../../../shared/src/commonMain/kotlin/leaderboard/data/LeaderboardClientImpl.kt","../../../../../shared/src/commonMain/kotlin/organization/data/OrganizationsClientImpl.kt","../../../../../shared/src/commonMain/kotlin/stats/data/StatsClientImpl.kt","../../../../../shared/src/commonMain/kotlin/withdraw/data/WithdrawRequestClientImpl.kt","../../../../../shared/src/jsMain/kotlin/GodaanAPI.js.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<init>","httpClient","baseUrl","godaanAPI"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA0BeA,CAAUC,U,EAA4BC,OAAtCF,EAAA;A,IAAC,uB;IACqB,qCAAoB,IAApB,CAAoB,KAApB,EAAgC,OAAhC,C;IACK,uCAAsB,IAAtB,CAAsB,KAAtB,EAAkC,OAAlC,C;IACf,gCAAe,IAAf,CAAe,KAAf,EAA2B,OAA3B,C;IACI,kCAAiB,IAAjB,CAAiB,KAAjB,EAA6B,OAA7B,C;IACA,kCAAiB,IAAjB,CAAiB,KAAjB,EAA6B,OAA7B,C;IACM,qCAAoB,IAApB,CAAoB,KAApB,EAAgC,OAAhC,C;IACI,uCAAsB,IAAtB,CAAsB,KAAtB,EAAkC,OAAlC,C;IACI,yCAAwB,IAAxB,CAAwB,KAAxB,EAAoC,OAApC,C;IAChB,iCAAgB,IAAhB,CAAgB,KAAhB,EAA4B,OAA5B,C;IACqB,2CAA0B,IAA1B,CAA0B,KAA1B,EAAsC,OAAtC,C;EAVnC,C;gCCTqBA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;8BCUFA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;yBCZLA,CAACC,U,EAA4BC,OAA7BF,EAAA;A,IAAC,uB;IAA4B,oB;EAA7B,C;2BCJEA,CAACC,U,EAA4BC,OAA7BF,EAAA;A,IAAC,uB;IAA4B,oB;EAA7B,C;2BCCAA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;8BCGGA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;gCCJEA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;kCCKEA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;0BCLRA,CAASC,U,EAA4BC,OAArCF,EAAA;A,IAAC,uB;IAAoC,oB;EAArC,C;oCCKUA,CAC5BC,U,EACRC,OAFoCF,EAAA;A,IACpC,uB;IACA,oB;EAFoC,C;oBCdxCG,CACID,OADJC,EAEe;A,IAEd,OAFc,cACX,YADW,EACG,OADH,C;EAEf,C;;;;;;;;;;"}
|