File tree Expand file tree Collapse file tree 4 files changed +2
-87
lines changed
templates/kmp/shared/src/commonMain/kotlin/io/package/models Expand file tree Collapse file tree 4 files changed +2
-87
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,6 @@ public function getFiles(): array
189
189
'destination ' => 'gradle.properties ' ,
190
190
'template ' => '/kmp/gradle.properties ' ,
191
191
],
192
- [
193
- 'scope ' => 'default ' ,
194
- 'destination ' => 'local.properties ' ,
195
- 'template ' => '/kmp/local.properties ' ,
196
- ],
197
192
198
193
// Shared module
199
194
[
@@ -296,11 +291,6 @@ public function getFiles(): array
296
291
],
297
292
298
293
// Models
299
- [
300
- 'scope ' => 'default ' ,
301
- 'destination ' => 'shared/src/commonMain/kotlin/{{ sdk.namespace | caseSlash }}/models/Document.kt ' ,
302
- 'template ' => '/kmp/shared/src/commonMain/kotlin/io/package/models/Document.kt.twig ' ,
303
- ],
304
294
[
305
295
'scope ' => 'default ' ,
306
296
'destination ' => 'shared/src/commonMain/kotlin/{{ sdk.namespace | caseSlash }}/models/InputFile.kt ' ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ data class RealtimeResponseEvent<T>(
34
34
@Serializable(with = StringCollectionSerializer::class)
35
35
val channels: kotlin.collections.Collection<String >,
36
36
val timestamp: String,
37
- var payload: Document< T >
37
+ var payload: T
38
38
)
39
39
40
40
enum class RealtimeCode(val value: Int) {
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class ServiceTest {
76
76
var realtimeResponse = " Realtime failed!"
77
77
78
78
realtime.subscribe(listOf (" tests" ), payloadType = TestPayload ::class ) {
79
- realtimeResponse = it.payload.data. response
79
+ realtimeResponse = it.payload.response
80
80
}
81
81
82
82
runBlocking {
You can’t perform that action at this time.
0 commit comments