Skip to content

Commit

Permalink
Merge pull request #109 from str4d/lexicon-string-cid
Browse files Browse the repository at this point in the history
Introduce dedicated type for Lexicon string format `cid`
  • Loading branch information
sugyan authored Feb 20, 2024
2 parents 676e3b8 + 06f4657 commit 72cf089
Show file tree
Hide file tree
Showing 29 changed files with 89 additions and 41 deletions.
1 change: 1 addition & 0 deletions atrium-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- All Lexicon string fields with one of the following formats now have the corresponding
dedicated type, instead of `String`:
- `at-identifier` (`atrium_api::types::string::AtIdentifier`)
- `cid` (`atrium_api::types::string::Cid`)
- `datetime` (`atrium_api::types::string::Datetime`)
- `did` (`atrium_api::types::string::Did`)
- `handle` (`atrium_api::types::string::Handle`)
Expand Down
2 changes: 1 addition & 1 deletion atrium-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ keywords.workspace = true
atrium-xrpc.workspace = true
async-trait.workspace = true
chrono = { workspace = true, features = ["serde"] }
cid.workspace = true
http.workspace = true
langtag = { workspace = true, features = ["serde"] }
regex.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_bytes.workspace = true
tokio = { workspace = true, optional = true }
cid = { workspace = true, optional = true }
libipld-core = { workspace = true, optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion atrium-api/src/app/bsky/embed/record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions atrium-api/src/app/bsky/feed/defs.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/app/bsky/feed/get_likes.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/app/bsky/feed/get_reposted_by.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/app/bsky/graph/defs.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/app/bsky/notification/list_notifications.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions atrium-api/src/com/atproto/admin/defs.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/admin/emit_moderation_event.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/admin/get_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/admin/get_subject_status.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/label/defs.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/repo/apply_writes.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/com/atproto/repo/create_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/com/atproto/repo/delete_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions atrium-api/src/com/atproto/repo/get_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/repo/list_records.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions atrium-api/src/com/atproto/repo/put_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/repo/strong_ref.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/get_blob.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/get_blocks.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/get_head.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/get_latest_commit.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/get_record.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/list_blobs.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion atrium-api/src/com/atproto/sync/list_repos.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 72cf089

Please sign in to comment.