mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-14 23:07:29 +00:00
Add communication account plugin scaffolds
This commit is contained in:
parent
5cfeea6b57
commit
c23ce42948
48 changed files with 1949 additions and 13 deletions
49
plugins/social-accounts/src/providers/index.ts
Normal file
49
plugins/social-accounts/src/providers/index.ts
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
import type { LogicSrcAccountProviderManifest } from "@logicsrc/account-core";
|
||||
|
||||
export const socialAccountProviderManifests: LogicSrcAccountProviderManifest[] = [
|
||||
{
|
||||
id: "mastodon",
|
||||
name: "Mastodon",
|
||||
kind: "social",
|
||||
authMethods: ["oauth2"],
|
||||
capabilities: ["social.profile.read", "social.post.draft", "social.post.publish", "social.mentions.read"],
|
||||
defaultScopes: ["read:accounts", "read:statuses", "write:statuses"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "bluesky",
|
||||
name: "Bluesky",
|
||||
kind: "social",
|
||||
authMethods: ["api_key"],
|
||||
capabilities: ["social.profile.read", "social.post.draft", "social.post.publish"],
|
||||
defaultScopes: ["atproto.session", "atproto.repo.read", "atproto.repo.write"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "github",
|
||||
name: "GitHub",
|
||||
kind: "social",
|
||||
authMethods: ["oauth2", "api_key"],
|
||||
capabilities: ["social.profile.read", "social.post.draft", "social.post.publish"],
|
||||
defaultScopes: ["read:user", "repo"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "x",
|
||||
name: "X / Twitter",
|
||||
kind: "social",
|
||||
authMethods: ["oauth2", "api_key"],
|
||||
capabilities: ["social.profile.read", "social.post.draft", "social.post.publish", "social.mentions.read", "social.analytics.read"],
|
||||
defaultScopes: ["tweet.read", "tweet.write", "users.read", "offline.access"],
|
||||
status: "planned"
|
||||
},
|
||||
{
|
||||
id: "reddit",
|
||||
name: "Reddit",
|
||||
kind: "social",
|
||||
authMethods: ["oauth2"],
|
||||
capabilities: ["social.profile.read", "social.post.draft", "social.post.publish", "social.comments.read"],
|
||||
defaultScopes: ["identity", "read", "submit"],
|
||||
status: "planned"
|
||||
}
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue