-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
672 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
NODE_ENV="test" | ||
PORT=3000 | ||
DB_PATH=":memory:" | ||
DID="did:example:123" | ||
PASSWORD="password" | ||
SERVICE="https://bsky.social" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
dist | ||
.env | ||
*.db* | ||
cursor.txt |
18 changes: 10 additions & 8 deletions
18
lexicons/social/psky/feed/post.json → lexicons/social/psky/chat/message.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "social.psky.chat.room", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "A Picosky room belonging to the user.", | ||
"key": "tid", | ||
"record": { | ||
"type": "object", | ||
"required": ["name"], | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"maxGraphemes": 32, | ||
"maxLength": 320 | ||
}, | ||
"languages": { | ||
"type": "array", | ||
"maxLength": 3, | ||
"items": { "type": "string", "format": "language" } | ||
}, | ||
"topic": { | ||
"type": "string", | ||
"maxLength": 2560, | ||
"maxGraphemes": 256, | ||
"description": "Topic title of the room." | ||
}, | ||
"tags": { | ||
"type": "array", | ||
"maxLength": 20, | ||
"items": { "type": "string" } | ||
}, | ||
"allowlist": { | ||
"type": "ref", | ||
"ref": "#modlistRef", | ||
"description": "List of users allowed to send messages in the room." | ||
}, | ||
"denylist": { | ||
"type": "ref", | ||
"ref": "#modlistRef", | ||
"description": "List of users disallowed to send messages in the room." | ||
} | ||
} | ||
} | ||
}, | ||
"modlistRef": { | ||
"type": "object", | ||
"required": ["active", "users"], | ||
"properties": { | ||
"active": { "type": "boolean", "default": false }, | ||
"users": { | ||
"type": "array", | ||
"items": { "type": "string", "format": "did" } | ||
} | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.