@godaan/shared 0.0.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.
Files changed (106) hide show
  1. package/kotlin/Kermit-kermit-core.js +15 -0
  2. package/kotlin/Kermit-kermit-core.js.map +1 -0
  3. package/kotlin/Kermit-kermit.js +19 -0
  4. package/kotlin/Kermit-kermit.js.map +1 -0
  5. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +15 -0
  6. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  7. package/kotlin/androidx-annotation-annotation.js +15 -0
  8. package/kotlin/androidx-annotation-annotation.js.map +1 -0
  9. package/kotlin/androidx-collection-collection.js +15 -0
  10. package/kotlin/androidx-collection-collection.js.map +1 -0
  11. package/kotlin/components-resources-library.js +63 -0
  12. package/kotlin/components-resources-library.js.map +1 -0
  13. package/kotlin/compose-multiplatform-core-annotation-annotation.js +15 -0
  14. package/kotlin/compose-multiplatform-core-annotation-annotation.js.map +1 -0
  15. package/kotlin/compose-multiplatform-core-collection-collection.js +15 -0
  16. package/kotlin/compose-multiplatform-core-collection-collection.js.map +1 -0
  17. package/kotlin/compose-multiplatform-core-compose-animation-animation-core.js +87 -0
  18. package/kotlin/compose-multiplatform-core-compose-animation-animation-core.js.map +1 -0
  19. package/kotlin/compose-multiplatform-core-compose-animation-animation.js +35 -0
  20. package/kotlin/compose-multiplatform-core-compose-animation-animation.js.map +1 -0
  21. package/kotlin/compose-multiplatform-core-compose-foundation-foundation-layout.js +63 -0
  22. package/kotlin/compose-multiplatform-core-compose-foundation-foundation-layout.js.map +1 -0
  23. package/kotlin/compose-multiplatform-core-compose-foundation-foundation.js +436 -0
  24. package/kotlin/compose-multiplatform-core-compose-foundation-foundation.js.map +1 -0
  25. package/kotlin/compose-multiplatform-core-compose-runtime-runtime-saveable.js +19 -0
  26. package/kotlin/compose-multiplatform-core-compose-runtime-runtime-saveable.js.map +1 -0
  27. package/kotlin/compose-multiplatform-core-compose-runtime-runtime.js +360 -0
  28. package/kotlin/compose-multiplatform-core-compose-runtime-runtime.js.map +1 -0
  29. package/kotlin/compose-multiplatform-core-compose-ui-ui-backhandler.js +23 -0
  30. package/kotlin/compose-multiplatform-core-compose-ui-ui-backhandler.js.map +1 -0
  31. package/kotlin/compose-multiplatform-core-compose-ui-ui-geometry.js +23 -0
  32. package/kotlin/compose-multiplatform-core-compose-ui-ui-geometry.js.map +1 -0
  33. package/kotlin/compose-multiplatform-core-compose-ui-ui-graphics.js +15 -0
  34. package/kotlin/compose-multiplatform-core-compose-ui-ui-graphics.js.map +1 -0
  35. package/kotlin/compose-multiplatform-core-compose-ui-ui-text.js +175 -0
  36. package/kotlin/compose-multiplatform-core-compose-ui-ui-text.js.map +1 -0
  37. package/kotlin/compose-multiplatform-core-compose-ui-ui-unit.js +21 -0
  38. package/kotlin/compose-multiplatform-core-compose-ui-ui-unit.js.map +1 -0
  39. package/kotlin/compose-multiplatform-core-compose-ui-ui-util.js +15 -0
  40. package/kotlin/compose-multiplatform-core-compose-ui-ui-util.js.map +1 -0
  41. package/kotlin/compose-multiplatform-core-compose-ui-ui.js +437 -0
  42. package/kotlin/compose-multiplatform-core-compose-ui-ui.js.map +1 -0
  43. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-common.js +15 -0
  44. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-common.js.map +1 -0
  45. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-runtime-compose.js +15 -0
  46. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-runtime-compose.js.map +1 -0
  47. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-runtime.js +15 -0
  48. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-runtime.js.map +1 -0
  49. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-viewmodel.js +15 -0
  50. package/kotlin/compose-multiplatform-core-lifecycle-lifecycle-viewmodel.js.map +1 -0
  51. package/kotlin/godaan-backend-shared.d.ts +8 -0
  52. package/kotlin/godaan-backend-shared.js +102 -0
  53. package/kotlin/godaan-backend-shared.js.map +1 -0
  54. package/kotlin/komposeauth-shared.js +15 -0
  55. package/kotlin/komposeauth-shared.js.map +1 -0
  56. package/kotlin/kotlin-kotlin-stdlib.js +9758 -0
  57. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -0
  58. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +15 -0
  59. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +1 -0
  60. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  61. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  62. package/kotlin/kotlinx-atomicfu.js +263 -0
  63. package/kotlin/kotlinx-atomicfu.js.map +1 -0
  64. package/kotlin/kotlinx-coroutines-core.js +8172 -0
  65. package/kotlin/kotlinx-coroutines-core.js.map +1 -0
  66. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +214 -0
  67. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
  68. package/kotlin/kotlinx-io-kotlinx-io-core.js +2029 -0
  69. package/kotlin/kotlinx-io-kotlinx-io-core.js.map +1 -0
  70. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +782 -0
  71. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  72. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
  73. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +1 -0
  74. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +15 -0
  75. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  76. package/kotlin/ktor-ktor-client-core.js +8374 -0
  77. package/kotlin/ktor-ktor-client-core.js.map +1 -0
  78. package/kotlin/ktor-ktor-events.js +94 -0
  79. package/kotlin/ktor-ktor-events.js.map +1 -0
  80. package/kotlin/ktor-ktor-http-cio.js +2278 -0
  81. package/kotlin/ktor-ktor-http-cio.js.map +1 -0
  82. package/kotlin/ktor-ktor-http.js +3036 -0
  83. package/kotlin/ktor-ktor-http.js.map +1 -0
  84. package/kotlin/ktor-ktor-io.js +3169 -0
  85. package/kotlin/ktor-ktor-io.js.map +1 -0
  86. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +15 -0
  87. package/kotlin/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
  88. package/kotlin/ktor-ktor-serialization-kotlinx.js +15 -0
  89. package/kotlin/ktor-ktor-serialization-kotlinx.js.map +1 -0
  90. package/kotlin/ktor-ktor-serialization.js +15 -0
  91. package/kotlin/ktor-ktor-serialization.js.map +1 -0
  92. package/kotlin/ktor-ktor-sse.js +15 -0
  93. package/kotlin/ktor-ktor-sse.js.map +1 -0
  94. package/kotlin/ktor-ktor-utils.js +2369 -0
  95. package/kotlin/ktor-ktor-utils.js.map +1 -0
  96. package/kotlin/ktor-ktor-websocket-serialization.js +15 -0
  97. package/kotlin/ktor-ktor-websocket-serialization.js.map +1 -0
  98. package/kotlin/ktor-ktor-websockets.js +447 -0
  99. package/kotlin/ktor-ktor-websockets.js.map +1 -0
  100. package/kotlin/libphonenumber-kotlin-libphonenumber.js +107 -0
  101. package/kotlin/libphonenumber-kotlin-libphonenumber.js.map +1 -0
  102. package/kotlin/okio-parent-okio.js +15 -0
  103. package/kotlin/okio-parent-okio.js.map +1 -0
  104. package/kotlin/skiko-kjs.js +15 -0
  105. package/kotlin/skiko-kjs.js.map +1 -0
  106. package/package.json +16 -0
@@ -0,0 +1,102 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './ktor-ktor-client-core.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-client-core.js'));
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
+ }
10
+ if (typeof globalThis['ktor-ktor-client-core'] === 'undefined') {
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'.");
12
+ }
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']);
14
+ }
15
+ }(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_core) {
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
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]);
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
+ }
92
+ //region block: exports
93
+ function $jsExportAll$(_) {
94
+ _.godaanAPI = godaanAPI;
95
+ }
96
+ $jsExportAll$(_);
97
+ kotlin_io_ktor_ktor_client_core.$jsExportAll$(_);
98
+ //endregion
99
+ return _;
100
+ }));
101
+
102
+ //# sourceMappingURL=godaan-backend-shared.js.map
@@ -0,0 +1 @@
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","baseU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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;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['komposeauth-shared'] = factory(typeof globalThis['komposeauth-shared'] === 'undefined' ? {} : globalThis['komposeauth-shared']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=komposeauth-shared.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}