refactor: パッケージ構成を変更
This commit is contained in:
parent
8f589278d2
commit
3f29bac4f5
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Accept : Activity
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Add : Activity
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Announce : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Application : Object {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Arrive : IntransitiveActivity {
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Article : Object
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Audio : Document {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Block : Ignore {
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface CollectionPage : CollectionPageOrLink,Collection {
|
|
||||||
var partOf: CollectionOrLink?
|
|
||||||
var next: CollectionPageOrLink?
|
|
||||||
var prev: CollectionPageOrLink?
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Create : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Delete : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Dislike : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Document : Object {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Event : Object {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Flag : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Follow : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Group : Object{
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Ignore : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Image : Document,ImageOrLink,OrLink{
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Invite : Offer
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Join : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Leave : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Like : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Listen : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Mention : Link {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface MimeMediaType {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Move : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Note : Object {
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams
|
||||||
|
|
||||||
sealed interface ObjectOrLink : OrLink {
|
interface ObjectOrLink : OrLink {
|
||||||
}
|
}
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Offer : Activity {
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface OrderedCollectionPage : OrderedCollection,CollectionPage {
|
|
||||||
var startIndex: UInt?
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Organization : Object {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Page : Document {
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Person : Object {}
|
|
|
@ -1,10 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Place : Object {
|
|
||||||
var accuracy: Accuracy?
|
|
||||||
var altitude: Float?
|
|
||||||
var latitude: Float?
|
|
||||||
var longitude: Float?
|
|
||||||
var radius: Radius?
|
|
||||||
var units: UriOrUnits?
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Profile : Object {
|
|
||||||
var describes: Object?
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Question : IntransitiveActivity
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Read : Activity
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Reject : Activity {
|
|
||||||
}
|
|
|
@ -1,7 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Relationship : Object {
|
|
||||||
var subject: ObjectOrLink?
|
|
||||||
var `object`: ObjectOrLink?
|
|
||||||
var relationship: Object?
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Remove : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Service : Object {
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface TentativeAccept : Accept
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface TentativeReject : Reject
|
|
|
@ -1,3 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Travel : IntransitiveActivity
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Undo : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Update : Activity {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface Video : Document {
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
package dev.usbharu.activitystreams
|
|
||||||
|
|
||||||
interface View : Activity {
|
|
||||||
}
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Accept : Activity
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Add : Activity
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Announce : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.IntransitiveActivity
|
||||||
|
|
||||||
|
interface Arrive : IntransitiveActivity {
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
interface Block : Ignore {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Create : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Delete : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Dislike : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Flag : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Follow : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Ignore : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
interface Invite : Offer
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Join : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Leave : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Like : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Listen : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Move : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Offer : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.IntransitiveActivity
|
||||||
|
|
||||||
|
interface Question : IntransitiveActivity
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Read : Activity
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Reject : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Remove : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
interface TentativeAccept : Accept
|
|
@ -0,0 +1,3 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
interface TentativeReject : Reject
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.IntransitiveActivity
|
||||||
|
|
||||||
|
interface Travel : IntransitiveActivity
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Undo : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface Update : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.activity
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Activity
|
||||||
|
|
||||||
|
interface View : Activity {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.actor
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Application : Object {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.actor
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Group : Object {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.actor
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Organization : Object {
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.actor
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Person : Object {}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.actor
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Service : Object {
|
||||||
|
}
|
|
@ -1,4 +1,6 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.ObjectOrLink
|
||||||
|
|
||||||
sealed interface InternalActivity : Object {
|
sealed interface InternalActivity : Object {
|
||||||
var actor: ObjectOrLink?
|
var actor: ObjectOrLink?
|
|
@ -1,4 +1,8 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.CollectionOrLink
|
||||||
|
import dev.usbharu.activitystreams.CollectionPageOrLink
|
||||||
|
import dev.usbharu.activitystreams.ObjectOrLink
|
||||||
|
|
||||||
interface Collection : Object, CollectionOrLink {
|
interface Collection : Object, CollectionOrLink {
|
||||||
var totalItems: UInt?
|
var totalItems: UInt?
|
|
@ -0,0 +1,10 @@
|
||||||
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.CollectionOrLink
|
||||||
|
import dev.usbharu.activitystreams.CollectionPageOrLink
|
||||||
|
|
||||||
|
interface CollectionPage : CollectionPageOrLink, Collection {
|
||||||
|
var partOf: CollectionOrLink?
|
||||||
|
var next: CollectionPageOrLink?
|
||||||
|
var prev: CollectionPageOrLink?
|
||||||
|
}
|
|
@ -1,5 +1,8 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.*
|
||||||
|
import dev.usbharu.activitystreams.other.LangString
|
||||||
|
import dev.usbharu.activitystreams.other.MimeMediaType
|
||||||
import java.net.URI
|
import java.net.URI
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.*
|
||||||
|
import dev.usbharu.activitystreams.other.LangString
|
||||||
|
import dev.usbharu.activitystreams.other.MimeMediaType
|
||||||
import java.time.Duration
|
import java.time.Duration
|
||||||
import java.time.OffsetDateTime
|
import java.time.OffsetDateTime
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package dev.usbharu.activitystreams
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
interface OrderedCollection : Collection {
|
interface OrderedCollection : Collection {
|
||||||
}
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.core
|
||||||
|
|
||||||
|
interface OrderedCollectionPage : OrderedCollection, CollectionPage {
|
||||||
|
var startIndex: UInt?
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.link
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Link
|
||||||
|
|
||||||
|
interface Mention : Link {
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Article : Object
|
|
@ -0,0 +1,4 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
interface Audio : Document {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Document : Object {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Event : Object {
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.ImageOrLink
|
||||||
|
import dev.usbharu.activitystreams.OrLink
|
||||||
|
|
||||||
|
interface Image : Document, ImageOrLink, OrLink {
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Note : Object {
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
interface Page : Document {
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.other.Accuracy
|
||||||
|
import dev.usbharu.activitystreams.other.Radius
|
||||||
|
import dev.usbharu.activitystreams.UriOrUnits
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Place : Object {
|
||||||
|
var accuracy: Accuracy?
|
||||||
|
var altitude: Float?
|
||||||
|
var latitude: Float?
|
||||||
|
var longitude: Float?
|
||||||
|
var radius: Radius?
|
||||||
|
var units: UriOrUnits?
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Profile : Object {
|
||||||
|
var describes: Object?
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
package dev.usbharu.activitystreams.`object`
|
||||||
|
|
||||||
|
import dev.usbharu.activitystreams.ObjectOrLink
|
||||||
|
import dev.usbharu.activitystreams.core.Object
|
||||||
|
|
||||||
|
interface Relationship : Object {
|
||||||
|
var subject: ObjectOrLink?
|
||||||
|
var `object`: ObjectOrLink?
|
||||||
|
var relationship: Object?
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue