{"_id":"@atlasprotocol/types","_rev":"2-c8ec8f899c5dcc93d5f66cfe3d29fb90","name":"@atlasprotocol/types","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@atlasprotocol/types","version":"0.1.0","keywords":["atlas","atlas-protocol","types","schemas"],"license":"MIT","_id":"@atlasprotocol/types@0.1.0","maintainers":[{"name":"nooblemon_eth","email":"kc@lemonade.social"}],"homepage":"https://github.com/lemonadesocial/atlas-protocol#readme","bugs":{"url":"https://github.com/lemonadesocial/atlas-protocol/issues"},"dist":{"shasum":"e9900c0cfce635c78ce8827a3486d5c76ef3df7d","tarball":"https://registry.npmjs.org/@atlasprotocol/types/-/types-0.1.0.tgz","fileCount":31,"integrity":"sha512-htLXZ3XrRUQ4cX+Mp7VFber+en5zirVnPU+wUBVSdV30RnwOx6KVDHbkEmBbOjmnZO466yN5YopDNoVVCpWoOg==","signatures":[{"sig":"MEUCIQD+oUqqCDTSCJLHGEIw/GYtyDBJzZCgf5uFRbRxzDOHwgIgKWvH9xAGFOlAr5pp43WaZgcY4JzhwtxUHouCnyTqNyc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26065},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"afe9110f5c808ab6cfa2653905a14d6a4784ca7a","scripts":{"lint":"eslint .","test":"vitest run","build":"tsc -p tsconfig.json","clean":"rm -rf dist *.tsbuildinfo","typecheck":"tsc --noEmit -p tsconfig.json","format:check":"prettier --check ."},"_npmUser":{"name":"nooblemon_eth","email":"kc@lemonade.social"},"repository":{"url":"git+https://github.com/lemonadesocial/atlas-protocol.git","type":"git","directory":"packages/types"},"_npmVersion":"10.9.4","description":"Shared TypeScript type definitions for the ATLAS Protocol — events, ticket types, manifests, purchase challenges, W3C VC receipts, and IPFS pinner abstractions.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^2.0.0","typescript":"^5.6.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/types_0.1.0_1777791830753_0.9890365706468158","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@atlasprotocol/types","version":"0.2.0","description":"Shared TypeScript type definitions for the ATLAS Protocol — events, ticket types, manifests, purchase challenges, W3C VC receipts, and IPFS pinner abstractions.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/lemonadesocial/atlas-protocol.git","directory":"packages/types"},"keywords":["atlas","atlas-protocol","types","schemas"],"type":"module","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json","test":"vitest run","lint":"eslint .","format:check":"prettier --check .","typecheck":"tsc --noEmit -p tsconfig.json","clean":"rm -rf dist *.tsbuildinfo"},"devDependencies":{"@types/node":"^24.0.0","typescript":"^5.6.3","vitest":"^2.0.0"},"gitHead":"c43e911bb1ef7a56454e22b39d0498b84ee37333","_id":"@atlasprotocol/types@0.2.0","bugs":{"url":"https://github.com/lemonadesocial/atlas-protocol/issues"},"homepage":"https://github.com/lemonadesocial/atlas-protocol#readme","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-sOaOBO7/7VMBIc+kbd5hDNp9y4YQ2YWccI0974k/IRaB67LfkyznR684cQq0l3dlOMiapcgmQxEtijitaEdf9w==","shasum":"c53c02ac689db89ff7d90d4ee66f4229b7ddca51","tarball":"https://registry.npmjs.org/@atlasprotocol/types/-/types-0.2.0.tgz","fileCount":31,"unpackedSize":26447,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atlasprotocol%2ftypes@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCrDvhDRxpa7qNHY7Xto+HJNSa7q4DHFTglnA5U3Pm2SQIhAPSyArBydpfKPBoSUUa8Q5DOAneBDu02VFEkjMZAkyCe"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f4cebee-d95f-44e8-b6b3-1cf617d456d9"}},"directories":{},"maintainers":[{"name":"nooblemon_eth","email":"kc@lemonade.social"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/types_0.2.0_1777828562244_0.7347529243386344"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-03T07:03:50.671Z","modified":"2026-05-03T17:16:02.731Z","0.1.0":"2026-05-03T07:03:50.958Z","0.2.0":"2026-05-03T17:16:02.397Z"},"bugs":{"url":"https://github.com/lemonadesocial/atlas-protocol/issues"},"license":"MIT","homepage":"https://github.com/lemonadesocial/atlas-protocol#readme","keywords":["atlas","atlas-protocol","types","schemas"],"repository":{"type":"git","url":"git+https://github.com/lemonadesocial/atlas-protocol.git","directory":"packages/types"},"description":"Shared TypeScript type definitions for the ATLAS Protocol — events, ticket types, manifests, purchase challenges, W3C VC receipts, and IPFS pinner abstractions.","maintainers":[{"name":"nooblemon_eth","email":"kc@lemonade.social"}],"readme":"# @atlasprotocol/types\n\nShared TypeScript type definitions for the ATLAS Protocol. This is a pure-types package — no runtime code, no schema validators, no dependencies beyond `typescript` itself.\n\n## What lives here\n\n- **`AtlasEvent`** and supporting interfaces (`AtlasEventLocation`, `AtlasEventOrganizer`, `AtlasEventAvailability`, `AtlasEventStatus`, `AtlasPriceRange`)\n- **`AtlasTicketType`** and supporting interfaces (`AtlasFee`, `AtlasPricing`, `AtlasTicketAvailability`, `AtlasTicketRestrictions`, `AtlasCancellationPolicy`)\n- **`AtlasManifest`** and supporting interfaces\n- **`AtlasPurchaseChallenge`**, **`AtlasPaymentMethod`**, **`AtlasPaymentMethodType`**, **`AtlasPaymentProof`**\n- **`AtlasReceipt`** (W3C VC shape), **`AtlasReceiptCredentialSubject`**, **`AtlasReceiptSettlement`**, **`AtlasReceiptProof`**, **`ReceiptPaymentMethod`**\n- **`Pinner`**, **`PinOptions`**, **`PinResult`**, **`FetchLike`** — IPFS pinning service abstraction\n\n## Why a separate package\n\n`@atlasprotocol/server-sdk` and `@atlasprotocol/ipfs` both need these shapes. Without a shared types package, the two SDKs would form a workspace dependency cycle (server-sdk imports `Pinner` from ipfs; ipfs imports `AtlasEvent` from server-sdk). Lifting the pure type definitions into this package lets each SDK depend only on `@atlasprotocol/types`, which depends on nothing.\n\n## Install\n\n```bash\npnpm add @atlasprotocol/types\n```\n\nMost consumers will not need this directly — `@atlasprotocol/server-sdk` and `@atlasprotocol/ipfs` re-export everything they consume from here for back-compat.\n\n## Adoption\n\nThe protocol types in this package are the canonical definitions consumed across the SDK:\n\n- `@atlasprotocol/server-sdk` imports `AtlasEvent`, `AtlasTicketType`, `AtlasManifest`, `AtlasPurchaseChallenge`, `AtlasReceipt`, and `Pinner` from here. Existing imports from `@atlasprotocol/server-sdk` keep working because server-sdk re-exports the same types — both paths resolve to the identical declarations, so they are mutually assignable.\n- `@atlasprotocol/ipfs` imports `AtlasEvent` (consumed by `generateEventCid`) and the `Pinner` / `PinOptions` / `PinResult` / `FetchLike` interfaces from here. The four bundled pinner implementations (`PinataPinner`, `Web3StoragePinner`, `FilebasePinner`, `KuboPinner`) all implement the canonical `Pinner` from `@atlasprotocol/types`.\n- `@atlasprotocol/connector-framework` imports `AtlasEvent` and `AtlasTicketType` from here directly.\n\nNew consumer code can import from `@atlasprotocol/types` directly; old code that imports the same names from `@atlasprotocol/server-sdk` or `@atlasprotocol/ipfs` continues to compile unchanged.\n","readmeFilename":"README.md"}