Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
references: #1
  • Loading branch information
motorro committed Sep 17, 2022
1 parent f7d76f1 commit 968fefb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ object LinkParsers {
*
* `motorro:/profile/chats/123`
*/
val MOTORRO = SchemeHostLinkParser(RootActionParser, "motorro", "")
val MOTORRO: LinkParser<TestAction> = SchemeHostLinkParser(RootActionParser, "motorro", "")
}

/**
Expand All @@ -296,7 +296,7 @@ object LinkBuilders {
*
* `motorro:/profile/chats/123`
*/
val MOTORRO = SchemeHostLinkBuilder<TestAction>("motorro", "")
val MOTORRO: LinkBuilder<TestAction> = SchemeHostLinkBuilder("motorro", "")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

package com.motorro.keeplink.testaction

import com.motorro.keeplink.deeplink.DeepLinkSerializer
import com.motorro.keeplink.deeplink.SchemeHostLinkBuilder
import com.motorro.keeplink.deeplink.SchemeHostLinkParser
import com.motorro.keeplink.deeplink.*
import kotlin.js.ExperimentalJsExport
import kotlin.js.JsExport

Expand All @@ -30,14 +28,14 @@ object LinkParsers {
*
* `motorro:/profile/chats/123`
*/
val MOTORRO = SchemeHostLinkParser(RootActionParser, "motorro", "")
val MOTORRO: LinkParser<TestAction> = SchemeHostLinkParser(RootActionParser, "motorro", "")

/**
* Deep-link for URIs to `http://localhost:8080`:
*
* `https://localhost:8080/profile/chats/123`
*/
val LOCALHOST_8080 = SchemeHostLinkParser(RootActionParser, "http", "localhost:8080")
val LOCALHOST_8080: LinkParser<TestAction> = SchemeHostLinkParser(RootActionParser, "http", "localhost:8080")
}

/**
Expand All @@ -51,14 +49,14 @@ object LinkBuilders {
*
* `motorro:/profile/chats/123`
*/
val MOTORRO = SchemeHostLinkBuilder<TestAction>("motorro", "")
val MOTORRO: LinkBuilder<TestAction> = SchemeHostLinkBuilder("motorro", "")

/**
* Deep-link for URIs to `http://localhost:8080`:
*
* `https://localhost:8080/open/chats/123`
*/
val LOCALHOST_8080 = SchemeHostLinkBuilder<TestAction>("http", "localhost:8080")
val LOCALHOST_8080: LinkBuilder<TestAction> = SchemeHostLinkBuilder("http", "localhost:8080")
}

/**
Expand Down

0 comments on commit 968fefb

Please sign in to comment.