diff --git a/lex/lexicons.ts b/lex/lexicons.ts index 45a5231..7520dee 100644 --- a/lex/lexicons.ts +++ b/lex/lexicons.ts @@ -23593,6 +23593,387 @@ export const schemaDict = { }, }, }, + "SoSprkAuthCreatePosts": { + "lexicon": 1, + "id": "so.sprk.authCreatePosts", + "defs": { + "main": { + "type": "permission-set", + "title": "Create Spark Posts", + "title:lang": {}, + "detail": + "Create Spark posts, replies, stories, and upload media, but can not update or delete them.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.video.getJobStatus", + "so.sprk.video.getUploadLimits", + "so.sprk.video.uploadVideo", + ], + }, + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + ], + "collection": [ + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.threadgate", + "so.sprk.story.post", + ], + }, + ], + }, + }, + }, + "SoSprkAuthDeleteContent": { + "lexicon": 1, + "id": "so.sprk.authDeleteContent", + "defs": { + "main": { + "type": "permission-set", + "title": "Delete Spark Content", + "title:lang": {}, + "detail": + "Clean up Spark account history: posts, replies, reposts, likes, thread controls, and stories.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": [ + "delete", + ], + "collection": [ + "so.sprk.feed.like", + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.repost", + "so.sprk.feed.threadgate", + "so.sprk.story.post", + ], + }, + ], + }, + }, + }, + "SoSprkAuthFullApp": { + "lexicon": 1, + "id": "so.sprk.authFullApp", + "defs": { + "main": { + "type": "permission-set", + "title": "Full Spark App Permissions", + "title:lang": {}, + "detail": + "Manage Spark content and interactions, private preferences and notifications, and Spark-specific app features and data.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.getProfile", + "so.sprk.actor.getProfiles", + "so.sprk.actor.getSuggestions", + "so.sprk.actor.putPreferences", + "so.sprk.actor.searchActors", + "so.sprk.actor.searchActorsTypeahead", + "so.sprk.feed.describeFeedGenerator", + "so.sprk.feed.getActorFeeds", + "so.sprk.feed.getActorLikes", + "so.sprk.feed.getActorReposts", + "so.sprk.feed.getAuthorFeed", + "so.sprk.feed.getCrosspostThread", + "so.sprk.feed.getFeed", + "so.sprk.feed.getFeedGenerator", + "so.sprk.feed.getFeedGenerators", + "so.sprk.feed.getFeedSkeleton", + "so.sprk.feed.getLikes", + "so.sprk.feed.getPostThread", + "so.sprk.feed.getPosts", + "so.sprk.feed.getRepostedBy", + "so.sprk.feed.getSuggestedFeeds", + "so.sprk.feed.getTimeline", + "so.sprk.feed.searchPosts", + "so.sprk.feed.sendInteractions", + "so.sprk.graph.getBlocks", + "so.sprk.graph.getFollowers", + "so.sprk.graph.getFollows", + "so.sprk.graph.getKnownFollowers", + "so.sprk.graph.getMutes", + "so.sprk.graph.getRelationships", + "so.sprk.graph.getSuggestedFollowsByActor", + "so.sprk.graph.muteActor", + "so.sprk.graph.muteThread", + "so.sprk.graph.unmuteActor", + "so.sprk.graph.unmuteThread", + "so.sprk.labeler.getServices", + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.putPreferences", + "so.sprk.notification.registerPush", + "so.sprk.notification.unregisterPush", + "so.sprk.notification.updateSeen", + "so.sprk.sound.getActorAudios", + "so.sprk.sound.getAudioPosts", + "so.sprk.sound.getAudios", + "so.sprk.sound.getTrendingAudios", + "so.sprk.story.getStories", + "so.sprk.story.getTimeline", + "so.sprk.video.getJobStatus", + "so.sprk.video.getUploadLimits", + "so.sprk.video.uploadVideo", + ], + }, + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + "update", + "delete", + ], + "collection": [ + "so.sprk.actor.profile", + "so.sprk.feed.generator", + "so.sprk.feed.like", + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.repost", + "so.sprk.feed.threadgate", + "so.sprk.graph.block", + "so.sprk.graph.follow", + "so.sprk.labeler.service", + "so.sprk.story.post", + ], + }, + ], + }, + }, + }, + "SoSprkAuthManageFeedDeclarations": { + "lexicon": 1, + "id": "so.sprk.authManageFeedDeclarations", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Feed Declarations", + "title:lang": {}, + "detail": "Configure Spark feed generator declaration records.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + "update", + "delete", + ], + "collection": [ + "so.sprk.feed.generator", + ], + }, + ], + }, + }, + }, + "SoSprkAuthManageLabelerService": { + "lexicon": 1, + "id": "so.sprk.authManageLabelerService", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Labeler Service", + "title:lang": {}, + "detail": "Configure Spark labeler declaration records.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + "update", + "delete", + ], + "collection": [ + "so.sprk.labeler.service", + ], + }, + ], + }, + }, + }, + "SoSprkAuthManageModeration": { + "lexicon": 1, + "id": "so.sprk.authManageModeration", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Moderation", + "title:lang": {}, + "detail": + "Control personal moderation settings, including blocks, mutes, and moderation-related preferences.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.putPreferences", + "so.sprk.graph.muteActor", + "so.sprk.graph.muteThread", + "so.sprk.graph.unmuteActor", + "so.sprk.graph.unmuteThread", + ], + }, + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + "update", + "delete", + ], + "collection": [ + "so.sprk.graph.block", + ], + }, + ], + }, + }, + }, + "SoSprkAuthManageNotifications": { + "lexicon": 1, + "id": "so.sprk.authManageNotifications", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Notifications", + "title:lang": {}, + "detail": "View and configure notifications for the Spark app.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.putPreferences", + "so.sprk.notification.registerPush", + "so.sprk.notification.unregisterPush", + "so.sprk.notification.updateSeen", + ], + }, + ], + }, + }, + }, + "SoSprkAuthManageProfile": { + "lexicon": 1, + "id": "so.sprk.authManageProfile", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Profile", + "title:lang": {}, + "detail": "Update Spark profile data.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": [ + "create", + "update", + "delete", + ], + "collection": [ + "so.sprk.actor.profile", + ], + }, + ], + }, + }, + }, + "SoSprkAuthViewAll": { + "lexicon": 1, + "id": "so.sprk.authViewAll", + "defs": { + "main": { + "type": "permission-set", + "title": "Read-only Access to Spark Content", + "title:lang": {}, + "detail": + "View Spark network content from an account perspective, and read notifications and preferences.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.getProfile", + "so.sprk.actor.getProfiles", + "so.sprk.actor.getSuggestions", + "so.sprk.actor.searchActors", + "so.sprk.actor.searchActorsTypeahead", + "so.sprk.feed.describeFeedGenerator", + "so.sprk.feed.getActorFeeds", + "so.sprk.feed.getActorLikes", + "so.sprk.feed.getActorReposts", + "so.sprk.feed.getAuthorFeed", + "so.sprk.feed.getCrosspostThread", + "so.sprk.feed.getFeed", + "so.sprk.feed.getFeedGenerator", + "so.sprk.feed.getFeedGenerators", + "so.sprk.feed.getFeedSkeleton", + "so.sprk.feed.getLikes", + "so.sprk.feed.getPostThread", + "so.sprk.feed.getPosts", + "so.sprk.feed.getRepostedBy", + "so.sprk.feed.getSuggestedFeeds", + "so.sprk.feed.getTimeline", + "so.sprk.feed.searchPosts", + "so.sprk.graph.getBlocks", + "so.sprk.graph.getFollowers", + "so.sprk.graph.getFollows", + "so.sprk.graph.getKnownFollowers", + "so.sprk.graph.getMutes", + "so.sprk.graph.getRelationships", + "so.sprk.graph.getSuggestedFollowsByActor", + "so.sprk.labeler.getServices", + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.updateSeen", + "so.sprk.sound.getActorAudios", + "so.sprk.sound.getAudioPosts", + "so.sprk.sound.getAudios", + "so.sprk.sound.getTrendingAudios", + "so.sprk.story.getStories", + "so.sprk.story.getTimeline", + "so.sprk.video.getUploadLimits", + ], + }, + ], + }, + }, + }, "ComAtprotoTempDereferenceScope": { "lexicon": 1, "id": "com.atproto.temp.dereferenceScope", @@ -29226,6 +29607,15 @@ export const ids = { SoSprkMediaImages: "so.sprk.media.images", SoSprkMediaVideo: "so.sprk.media.video", SoSprkMediaImage: "so.sprk.media.image", + SoSprkAuthCreatePosts: "so.sprk.authCreatePosts", + SoSprkAuthDeleteContent: "so.sprk.authDeleteContent", + SoSprkAuthFullApp: "so.sprk.authFullApp", + SoSprkAuthManageFeedDeclarations: "so.sprk.authManageFeedDeclarations", + SoSprkAuthManageLabelerService: "so.sprk.authManageLabelerService", + SoSprkAuthManageModeration: "so.sprk.authManageModeration", + SoSprkAuthManageNotifications: "so.sprk.authManageNotifications", + SoSprkAuthManageProfile: "so.sprk.authManageProfile", + SoSprkAuthViewAll: "so.sprk.authViewAll", ComAtprotoTempDereferenceScope: "com.atproto.temp.dereferenceScope", ComAtprotoTempAddReservedHandle: "com.atproto.temp.addReservedHandle", ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue", diff --git a/lex/types/so/sprk/authCreatePosts.ts b/lex/types/so/sprk/authCreatePosts.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authCreatePosts.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authDeleteContent.ts b/lex/types/so/sprk/authDeleteContent.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authDeleteContent.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authFullApp.ts b/lex/types/so/sprk/authFullApp.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authFullApp.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authManageFeedDeclarations.ts b/lex/types/so/sprk/authManageFeedDeclarations.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authManageFeedDeclarations.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authManageLabelerService.ts b/lex/types/so/sprk/authManageLabelerService.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authManageLabelerService.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authManageModeration.ts b/lex/types/so/sprk/authManageModeration.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authManageModeration.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authManageNotifications.ts b/lex/types/so/sprk/authManageNotifications.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authManageNotifications.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authManageProfile.ts b/lex/types/so/sprk/authManageProfile.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authManageProfile.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lex/types/so/sprk/authViewAll.ts b/lex/types/so/sprk/authViewAll.ts new file mode 100644 index 0000000..55ddc64 --- /dev/null +++ b/lex/types/so/sprk/authViewAll.ts @@ -0,0 +1,6 @@ +/** + * GENERATED CODE - DO NOT MODIFY + */ +import type { LexPermissionSet } from "@atp/lexicon"; + +export type Main = LexPermissionSet; diff --git a/lexicons/so/sprk/authCreatePosts.json b/lexicons/so/sprk/authCreatePosts.json new file mode 100644 index 0000000..7075ed7 --- /dev/null +++ b/lexicons/so/sprk/authCreatePosts.json @@ -0,0 +1,36 @@ +{ + "lexicon": 1, + "id": "so.sprk.authCreatePosts", + "defs": { + "main": { + "type": "permission-set", + "title": "Create Spark Posts", + "title:lang": {}, + "detail": "Create Spark posts, replies, stories, and upload media, but can not update or delete them.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.video.getJobStatus", + "so.sprk.video.getUploadLimits", + "so.sprk.video.uploadVideo" + ] + }, + { + "type": "permission", + "resource": "repo", + "action": ["create"], + "collection": [ + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.threadgate", + "so.sprk.story.post" + ] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authDeleteContent.json b/lexicons/so/sprk/authDeleteContent.json new file mode 100644 index 0000000..b4c463f --- /dev/null +++ b/lexicons/so/sprk/authDeleteContent.json @@ -0,0 +1,28 @@ +{ + "lexicon": 1, + "id": "so.sprk.authDeleteContent", + "defs": { + "main": { + "type": "permission-set", + "title": "Delete Spark Content", + "title:lang": {}, + "detail": "Clean up Spark account history: posts, replies, reposts, likes, thread controls, and stories.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": ["delete"], + "collection": [ + "so.sprk.feed.like", + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.repost", + "so.sprk.feed.threadgate", + "so.sprk.story.post" + ] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authFullApp.json b/lexicons/so/sprk/authFullApp.json new file mode 100644 index 0000000..3419656 --- /dev/null +++ b/lexicons/so/sprk/authFullApp.json @@ -0,0 +1,92 @@ +{ + "lexicon": 1, + "id": "so.sprk.authFullApp", + "defs": { + "main": { + "type": "permission-set", + "title": "Full Spark App Permissions", + "title:lang": {}, + "detail": "Manage Spark content and interactions, private preferences and notifications, and Spark-specific app features and data.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.getProfile", + "so.sprk.actor.getProfiles", + "so.sprk.actor.getSuggestions", + "so.sprk.actor.putPreferences", + "so.sprk.actor.searchActors", + "so.sprk.actor.searchActorsTypeahead", + "so.sprk.feed.describeFeedGenerator", + "so.sprk.feed.getActorFeeds", + "so.sprk.feed.getActorLikes", + "so.sprk.feed.getActorReposts", + "so.sprk.feed.getAuthorFeed", + "so.sprk.feed.getCrosspostThread", + "so.sprk.feed.getFeed", + "so.sprk.feed.getFeedGenerator", + "so.sprk.feed.getFeedGenerators", + "so.sprk.feed.getFeedSkeleton", + "so.sprk.feed.getLikes", + "so.sprk.feed.getPostThread", + "so.sprk.feed.getPosts", + "so.sprk.feed.getRepostedBy", + "so.sprk.feed.getSuggestedFeeds", + "so.sprk.feed.getTimeline", + "so.sprk.feed.searchPosts", + "so.sprk.feed.sendInteractions", + "so.sprk.graph.getBlocks", + "so.sprk.graph.getFollowers", + "so.sprk.graph.getFollows", + "so.sprk.graph.getKnownFollowers", + "so.sprk.graph.getMutes", + "so.sprk.graph.getRelationships", + "so.sprk.graph.getSuggestedFollowsByActor", + "so.sprk.graph.muteActor", + "so.sprk.graph.muteThread", + "so.sprk.graph.unmuteActor", + "so.sprk.graph.unmuteThread", + "so.sprk.labeler.getServices", + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.putPreferences", + "so.sprk.notification.registerPush", + "so.sprk.notification.unregisterPush", + "so.sprk.notification.updateSeen", + "so.sprk.sound.getActorAudios", + "so.sprk.sound.getAudioPosts", + "so.sprk.sound.getAudios", + "so.sprk.sound.getTrendingAudios", + "so.sprk.story.getStories", + "so.sprk.story.getTimeline", + "so.sprk.video.getJobStatus", + "so.sprk.video.getUploadLimits", + "so.sprk.video.uploadVideo" + ] + }, + { + "type": "permission", + "resource": "repo", + "action": ["create", "update", "delete"], + "collection": [ + "so.sprk.actor.profile", + "so.sprk.feed.generator", + "so.sprk.feed.like", + "so.sprk.feed.post", + "so.sprk.feed.reply", + "so.sprk.feed.repost", + "so.sprk.feed.threadgate", + "so.sprk.graph.block", + "so.sprk.graph.follow", + "so.sprk.labeler.service", + "so.sprk.story.post" + ] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authManageFeedDeclarations.json b/lexicons/so/sprk/authManageFeedDeclarations.json new file mode 100644 index 0000000..e75382f --- /dev/null +++ b/lexicons/so/sprk/authManageFeedDeclarations.json @@ -0,0 +1,21 @@ +{ + "lexicon": 1, + "id": "so.sprk.authManageFeedDeclarations", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Feed Declarations", + "title:lang": {}, + "detail": "Configure Spark feed generator declaration records.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": ["create", "update", "delete"], + "collection": ["so.sprk.feed.generator"] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authManageLabelerService.json b/lexicons/so/sprk/authManageLabelerService.json new file mode 100644 index 0000000..f78626a --- /dev/null +++ b/lexicons/so/sprk/authManageLabelerService.json @@ -0,0 +1,21 @@ +{ + "lexicon": 1, + "id": "so.sprk.authManageLabelerService", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Labeler Service", + "title:lang": {}, + "detail": "Configure Spark labeler declaration records.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": ["create", "update", "delete"], + "collection": ["so.sprk.labeler.service"] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authManageModeration.json b/lexicons/so/sprk/authManageModeration.json new file mode 100644 index 0000000..c01e87b --- /dev/null +++ b/lexicons/so/sprk/authManageModeration.json @@ -0,0 +1,34 @@ +{ + "lexicon": 1, + "id": "so.sprk.authManageModeration", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Moderation", + "title:lang": {}, + "detail": "Control personal moderation settings, including blocks, mutes, and moderation-related preferences.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.putPreferences", + "so.sprk.graph.muteActor", + "so.sprk.graph.muteThread", + "so.sprk.graph.unmuteActor", + "so.sprk.graph.unmuteThread" + ] + }, + { + "type": "permission", + "resource": "repo", + "action": ["create", "update", "delete"], + "collection": ["so.sprk.graph.block"] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authManageNotifications.json b/lexicons/so/sprk/authManageNotifications.json new file mode 100644 index 0000000..2963aab --- /dev/null +++ b/lexicons/so/sprk/authManageNotifications.json @@ -0,0 +1,28 @@ +{ + "lexicon": 1, + "id": "so.sprk.authManageNotifications", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Notifications", + "title:lang": {}, + "detail": "View and configure notifications for the Spark app.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.putPreferences", + "so.sprk.notification.registerPush", + "so.sprk.notification.unregisterPush", + "so.sprk.notification.updateSeen" + ] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authManageProfile.json b/lexicons/so/sprk/authManageProfile.json new file mode 100644 index 0000000..a3ea35e --- /dev/null +++ b/lexicons/so/sprk/authManageProfile.json @@ -0,0 +1,21 @@ +{ + "lexicon": 1, + "id": "so.sprk.authManageProfile", + "defs": { + "main": { + "type": "permission-set", + "title": "Manage Spark Profile", + "title:lang": {}, + "detail": "Update Spark profile data.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "repo", + "action": ["create", "update", "delete"], + "collection": ["so.sprk.actor.profile"] + } + ] + } + } +} diff --git a/lexicons/so/sprk/authViewAll.json b/lexicons/so/sprk/authViewAll.json new file mode 100644 index 0000000..76494c3 --- /dev/null +++ b/lexicons/so/sprk/authViewAll.json @@ -0,0 +1,63 @@ +{ + "lexicon": 1, + "id": "so.sprk.authViewAll", + "defs": { + "main": { + "type": "permission-set", + "title": "Read-only Access to Spark Content", + "title:lang": {}, + "detail": "View Spark network content from an account perspective, and read notifications and preferences.", + "detail:lang": {}, + "permissions": [ + { + "type": "permission", + "resource": "rpc", + "inheritAud": true, + "lxm": [ + "so.sprk.actor.getPreferences", + "so.sprk.actor.getProfile", + "so.sprk.actor.getProfiles", + "so.sprk.actor.getSuggestions", + "so.sprk.actor.searchActors", + "so.sprk.actor.searchActorsTypeahead", + "so.sprk.feed.describeFeedGenerator", + "so.sprk.feed.getActorFeeds", + "so.sprk.feed.getActorLikes", + "so.sprk.feed.getActorReposts", + "so.sprk.feed.getAuthorFeed", + "so.sprk.feed.getCrosspostThread", + "so.sprk.feed.getFeed", + "so.sprk.feed.getFeedGenerator", + "so.sprk.feed.getFeedGenerators", + "so.sprk.feed.getFeedSkeleton", + "so.sprk.feed.getLikes", + "so.sprk.feed.getPostThread", + "so.sprk.feed.getPosts", + "so.sprk.feed.getRepostedBy", + "so.sprk.feed.getSuggestedFeeds", + "so.sprk.feed.getTimeline", + "so.sprk.feed.searchPosts", + "so.sprk.graph.getBlocks", + "so.sprk.graph.getFollowers", + "so.sprk.graph.getFollows", + "so.sprk.graph.getKnownFollowers", + "so.sprk.graph.getMutes", + "so.sprk.graph.getRelationships", + "so.sprk.graph.getSuggestedFollowsByActor", + "so.sprk.labeler.getServices", + "so.sprk.notification.getUnreadCount", + "so.sprk.notification.listNotifications", + "so.sprk.notification.updateSeen", + "so.sprk.sound.getActorAudios", + "so.sprk.sound.getAudioPosts", + "so.sprk.sound.getAudios", + "so.sprk.sound.getTrendingAudios", + "so.sprk.story.getStories", + "so.sprk.story.getTimeline", + "so.sprk.video.getUploadLimits" + ] + } + ] + } + } +}