temporary changes to move to main machine

This commit is contained in:
jonny 2024-01-05 15:40:11 -08:00
parent 37478dc5c5
commit a313ecc890
5 changed files with 1033 additions and 4776 deletions

6
.gitignore vendored
View File

@ -127,4 +127,8 @@ dist
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*
*.sqlite
*.bak
*.ipynb_checkpoints

File diff suppressed because one or more lines are too long

View File

@ -12,12 +12,12 @@
"build": "tsc"
},
"dependencies": {
"@atproto/api": "^0.3.7",
"@atproto/did-resolver": "^0.1.0",
"@atproto/lexicon": "^0.1.0",
"@atproto/repo": "^0.1.0",
"@atproto/uri": "^0.0.2",
"@atproto/xrpc-server": "^0.2.0",
"@atproto/api": "^0.6.20",
"@atproto/identity": "^0.2.1",
"@atproto/lexicon": "^0.2.2",
"@atproto/repo": "^0.3.2",
"@atproto/syntax": "^0.1.2",
"@atproto/xrpc-server": "^0.3.2",
"better-sqlite3": "^8.3.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",

View File

@ -96,7 +96,7 @@ export const getOpsByType = async (evt: Commit): Promise<OperationsByType> => {
const record = cborToLexRecord(recordBytes)
const create = { uri, cid: op.cid.toString(), author: evt.repo }
// console.dir(record, {depth: null})
console.log(record)
// console.log(record)
if (collection === ids.AppBskyFeedPost && isPost(record)) {
opsByType.posts.creates.push({ record, ...create })
} else if (collection === ids.AppBskyFeedRepost && isRepost(record)) {

907
yarn.lock

File diff suppressed because it is too large Load Diff