Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v0.8.13 70 lines 3.8 kB view raw
1package constants 2 3var PLACE_STREAM_KEY = "place.stream.key" //nolint:all 4var PLACE_STREAM_LIVESTREAM = "place.stream.livestream" //nolint:all 5var PLACE_STREAM_CHAT_MESSAGE = "place.stream.chat.message" //nolint:all 6var PLACE_STREAM_CHAT_PROFILE = "place.stream.chat.profile" //nolint:all 7var PLACE_STREAM_SERVER_SETTINGS = "place.stream.server.settings" //nolint:all 8var STREAMPLACE_SIGNING_KEY = "signingKey" //nolint:all 9var APP_BSKY_GRAPH_FOLLOW = "app.bsky.graph.follow" //nolint:all 10var APP_BSKY_FEED_POST = "app.bsky.feed.post" //nolint:all 11var APP_BSKY_GRAPH_BLOCK = "app.bsky.graph.block" //nolint:all 12var PLACE_STREAM_CHAT_GATE = "place.stream.chat.gate" //nolint:all 13var PLACE_STREAM_DEFAULT_METADATA = "place.stream.metadata.configuration" //nolint:all 14 15const DID_KEY_PREFIX = "did:key" //nolint:all 16const ADDRESS_KEY_PREFIX = "0x" //nolint:all 17 18// Streamplace metadata constant 19const StreamplaceMetadata = "place.stream.metadata" //nolint:all 20 21// Streamplace metadata license values 22const ( 23 LicenseCC0_1_0 = "place.stream.metadata.contentRights#cc0_1__0" 24 LicenseCCBy_4_0 = "place.stream.metadata.contentRights#cc-by_4__0" 25 LicenseCCBySA_4_0 = "place.stream.metadata.contentRights#cc-by-sa_4__0" 26 LicenseCCByNC_4_0 = "place.stream.metadata.contentRights#cc-by-nc_4__0" 27 LicenseCCByNCSA_4_0 = "place.stream.metadata.contentRights#cc-by-nc-sa_4__0" 28 LicenseCCByND_4_0 = "place.stream.metadata.contentRights#cc-by-nd_4__0" 29 LicenseCCByNCND_4_0 = "place.stream.metadata.contentRights#cc-by-nc-nd_4__0" 30 LicenseAllRightsReserved = "place.stream.metadata.contentRights#all-rights-reserved" 31) 32 33// License URLs for C2PA manifests 34const ( 35 LicenseURLCC0_1_0 = "http://creativecommons.org/publicdomain/zero/1.0/" 36 LicenseURLCCBy_4_0 = "http://creativecommons.org/licenses/by/4.0/" 37 LicenseURLCCBySA_4_0 = "http://creativecommons.org/licenses/by-sa/4.0/" 38 LicenseURLCCByNC_4_0 = "http://creativecommons.org/licenses/by-nc/4.0/" 39 LicenseURLCCByNCSA_4_0 = "http://creativecommons.org/licenses/by-nc-sa/4.0/" 40 LicenseURLCCByND_4_0 = "http://creativecommons.org/licenses/by-nd/4.0/" 41 LicenseURLCCByNCND_4_0 = "http://creativecommons.org/licenses/by-nc-nd/4.0/" 42) 43 44// Streamplace metadata warning labels 45const ( 46 WarningDeath = "place.stream.metadata.contentWarnings#death" 47 WarningDrugUse = "place.stream.metadata.contentWarnings#drugUse" 48 WarningFantasyViolence = "place.stream.metadata.contentWarnings#fantasyViolence" 49 WarningFlashingLights = "place.stream.metadata.contentWarnings#flashingLights" 50 WarningLanguage = "place.stream.metadata.contentWarnings#language" 51 WarningNudity = "place.stream.metadata.contentWarnings#nudity" 52 WarningPII = "place.stream.metadata.contentWarnings#PII" 53 WarningSexuality = "place.stream.metadata.contentWarnings#sexuality" 54 WarningSuffering = "place.stream.metadata.contentWarnings#suffering" 55 WarningViolence = "place.stream.metadata.contentWarnings#violence" 56) 57 58// Content warning C2PA codes for manifests 59const ( 60 WarningC2PADeath = "cwarn:death" 61 WarningC2PADrugUse = "cwarn:drugUse" 62 WarningC2PAFantasyViolence = "cwarn:fantasyViolence" 63 WarningC2PAFlashingLights = "cwarn:flashingLights" 64 WarningC2PALanguage = "cwarn:language" 65 WarningC2PANudity = "cwarn:nudity" 66 WarningC2PAPII = "cwarn:PII" 67 WarningC2PASexuality = "cwarn:sexuality" 68 WarningC2PASuffering = "cwarn:suffering" 69 WarningC2PAViolence = "cwarn:violence" 70)