@alteran/astro 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/index.js +0 -11
  3. package/migrations/0000_neat_havok.sql +38 -0
  4. package/migrations/0001_moaning_silverclaw.sql +27 -0
  5. package/migrations/0002_eager_baron_strucker.sql +4 -0
  6. package/migrations/0003_lively_baron_strucker.sql +1 -0
  7. package/migrations/0004_skinny_domino.sql +6 -0
  8. package/migrations/meta/0000_snapshot.json +226 -0
  9. package/migrations/meta/0001_snapshot.json +310 -0
  10. package/migrations/meta/0002_snapshot.json +341 -0
  11. package/migrations/meta/0003_snapshot.json +349 -0
  12. package/migrations/meta/0004_snapshot.json +389 -0
  13. package/migrations/meta/_journal.json +41 -0
  14. package/package.json +3 -2
  15. package/src/pages/debug/db/commits.ts +1 -1
  16. package/src/pages/debug/gc/blobs.ts +1 -1
  17. package/src/pages/debug/record.ts +1 -1
  18. package/src/pages/xrpc/com.atproto.identity.updateHandle.ts +1 -1
  19. package/src/pages/xrpc/com.atproto.repo.applyWrites.ts +3 -3
  20. package/src/pages/xrpc/com.atproto.repo.createRecord.ts +5 -5
  21. package/src/pages/xrpc/com.atproto.repo.deleteRecord.ts +5 -5
  22. package/src/pages/xrpc/com.atproto.repo.describeRepo.ts +1 -1
  23. package/src/pages/xrpc/com.atproto.repo.getRecord.ts +1 -1
  24. package/src/pages/xrpc/com.atproto.repo.listRecords.ts +1 -1
  25. package/src/pages/xrpc/com.atproto.repo.putRecord.ts +5 -5
  26. package/src/pages/xrpc/com.atproto.repo.uploadBlob.ts +5 -5
  27. package/src/pages/xrpc/com.atproto.server.createSession.ts +3 -3
  28. package/src/pages/xrpc/com.atproto.server.refreshSession.ts +4 -4
  29. package/src/pages/xrpc/com.atproto.sync.getBlocks.json.ts +2 -2
  30. package/src/pages/xrpc/com.atproto.sync.getBlocks.ts +3 -3
  31. package/src/pages/xrpc/com.atproto.sync.getCheckout.json.ts +3 -3
  32. package/src/pages/xrpc/com.atproto.sync.getCheckout.ts +1 -1
  33. package/src/pages/xrpc/com.atproto.sync.getHead.ts +1 -1
  34. package/src/pages/xrpc/com.atproto.sync.getLatestCommit.ts +1 -1
  35. package/src/pages/xrpc/com.atproto.sync.getRecord.ts +2 -2
  36. package/src/pages/xrpc/com.atproto.sync.getRepo.json.ts +3 -3
  37. package/src/pages/xrpc/com.atproto.sync.getRepo.range.ts +1 -1
  38. package/src/pages/xrpc/com.atproto.sync.getRepo.ts +1 -1
  39. package/src/pages/xrpc/com.atproto.sync.listBlobs.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  import type { APIContext } from 'astro';
2
- import { RepoManager } from '@alteran/services/repo-manager';
3
- import { encodeRecordBlock } from '@alteran/services/car';
2
+ import { RepoManager } from '../../services/repo-manager';
3
+ import { encodeRecordBlock } from '../../services/car';
4
4
  import * as dagCbor from '@ipld/dag-cbor';
5
5
  import { CID } from 'multiformats/cid';
6
6
  import { sha256 } from 'multiformats/hashes/sha2';
@@ -1,7 +1,7 @@
1
1
  import type { APIContext } from 'astro';
2
- import { getRoot as getRepoRoot } from '@alteran/db/repo';
3
- import { listRecords as dalListRecords } from '@alteran/db/dal';
4
- import { tryParse } from '@alteran/lib/util';
2
+ import { getRoot as getRepoRoot } from '../../db/repo';
3
+ import { listRecords as dalListRecords } from '../../db/dal';
4
+ import { tryParse } from '../../lib/util';
5
5
 
6
6
  export const prerender = false;
7
7
 
@@ -1,5 +1,5 @@
1
1
  import type { APIContext } from 'astro';
2
- import { buildRepoCarRange } from '@alteran/services/car';
2
+ import { buildRepoCarRange } from '../../services/car';
3
3
 
4
4
  export const prerender = false;
5
5
 
@@ -1,5 +1,5 @@
1
1
  import type { APIContext } from 'astro';
2
- import { buildRepoCar } from '@alteran/services/car';
2
+ import { buildRepoCar } from '../../services/car';
3
3
 
4
4
  export const prerender = false;
5
5
 
@@ -1,6 +1,6 @@
1
1
  import type { APIContext } from 'astro';
2
2
  import { drizzle } from 'drizzle-orm/d1';
3
- import { blob_ref } from '@alteran/db/schema';
3
+ import { blob_ref } from '../../db/schema';
4
4
  import { eq, gt, and } from 'drizzle-orm';
5
5
 
6
6
  export const prerender = false;