Skip to content

Commit

Permalink
fix: rsproto packages
Browse files Browse the repository at this point in the history
  • Loading branch information
y9vad9 committed Feb 23, 2024
1 parent aa57d91 commit c78c75a
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import io.ktor.server.netty.*
import io.ktor.server.routing.*
import io.ktor.server.websocket.*
import io.rsocket.kotlin.ktor.server.RSocketSupport
import io.timemates.rsproto.server.annotations.ExperimentalInstancesApi
import io.timemates.rsproto.server.annotations.ExperimentalInterceptorsApi
import io.timemates.rsproto.server.instances.protobuf
import io.timemates.rsproto.server.rSocketServer
import org.timemates.rsproto.server.annotations.ExperimentalInstancesApi
import org.timemates.rsproto.server.annotations.ExperimentalInterceptorsApi
import org.timemates.rsproto.server.instances.protobuf
import org.timemates.rsproto.server.rSocketServer
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.protobuf.ProtoBuf
import org.timemates.api.rsocket.auth.AuthInterceptor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.timemates.api.rsocket.auth

import io.timemates.rsproto.metadata.Metadata
import io.timemates.rsproto.server.annotations.ExperimentalInterceptorsApi
import io.timemates.rsproto.server.interceptors.Interceptor
import io.timemates.rsproto.server.interceptors.InterceptorScope
import org.timemates.rsproto.metadata.Metadata
import org.timemates.rsproto.server.annotations.ExperimentalInterceptorsApi
import org.timemates.rsproto.server.interceptors.Interceptor
import org.timemates.rsproto.server.interceptors.InterceptorScope
import org.timemates.backend.auth.domain.usecases.GetAuthorizationUseCase
import kotlin.coroutines.CoroutineContext

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.timemates.api.rsocket.auth

import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService
import org.timemates.api.authorizations.types.Authorization
import org.timemates.api.authorizations.types.Metadata
import org.timemates.api.rsocket.internal.createOrFail
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.timemates.api.rsocket.internal

import io.rsocket.kotlin.RSocketError
import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService

/**
* Checks if the given value is not null. If the value is null, it throws a RSocketError.Invalid exception with the message "One of the parameters is null, but should be not null."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.timemates.api.rsocket.internal

import io.ktor.http.*
import io.rsocket.kotlin.RSocketError
import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService

context(RSocketService)
internal fun attemptsExceeded(): Nothing = throw ApiFailure.TooManyRequests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.timemates.api.rsocket.internal

import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService
import kotlinx.coroutines.currentCoroutineContext
import org.timemates.api.rsocket.auth.AuthInterceptor
import org.timemates.backend.auth.domain.usecases.GetAuthorizationUseCase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.timemates.api.rsocket.internal

import io.rsocket.kotlin.RSocketError
import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService
import kotlinx.coroutines.currentCoroutineContext
import org.timemates.api.rsocket.auth.AuthInterceptor
import org.timemates.backend.validation.SafeConstructor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.timemates.api.rsocket.timers

import io.timemates.rsproto.server.RSocketService
import org.timemates.rsproto.server.RSocketService
import org.timemates.api.rsocket.internal.createOrFail
import org.timemates.api.timers.sessions.types.TimerState
import org.timemates.api.timers.types.Timer
Expand Down

0 comments on commit c78c75a

Please sign in to comment.