{"_id":"@alptalhayazar/planning-poker-relay-events","_rev":"7-34027f619db08a188aec3bd3af9f09c5","name":"@alptalhayazar/planning-poker-relay-events","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.1.0","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.1.0","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"3041e9811077ec9b151898ca10a2981fe7abd61e","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.1.0.tgz","fileCount":8,"integrity":"sha512-2AvW6qeuUf7AxhaQiRkOXF118ZusAxQHA05BIXj3/PE/rUX6KrC65KqTZaT99DtTJR31/M4O2TxWQDrgL8oZ5A==","signatures":[{"sig":"MEYCIQDGxgZOYIEI2dDZnP09VMnsRQZqnGKhS4gMehRYyB1EUwIhAIUVRSvf9wLp+IpbmJAQa2gM1wZRVGmbKR5R0wfBGN1n","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25302},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1be4077d633f7e262d304c27cc5e4b885538e7a0","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^4.1.12"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.1.0_1763660088415_0.556984230716635","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.1.3","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.1.3","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"47e2a4184b2806e5cd82f07e7782e42b407e2065","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.1.3.tgz","fileCount":8,"integrity":"sha512-DcbLGUiyjOYrUauaIWgWD4CVQuZTKfP21m1ajkDC1NQOWpSMv9SjSfid8ywc9eICt12myofuVRMhZiqzcdrUSg==","signatures":[{"sig":"MEUCIBykYkiByLRGCWfXZPnHSF6NIsGY/F3iSJkcZYvLtQXfAiEAzFMvIrmFmvwInuztKvZ/rrZ4DZDXBtEHJh1cCFFxfdI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35758},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1e3bafc105a3b311d539f0fd9454fd80fab23551","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.23.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.1.3_1763755917602_0.9794831651086313","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.1.4","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.1.4","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"20297b64c98f378b6a0b3697650074d71372d57b","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.1.4.tgz","fileCount":8,"integrity":"sha512-OMWs1CC33Fm4ujtfE7nqS2CSNDo3eLUqcW2gqwJDhZSQkuS57x8N4SCAcUkkFJxNnJToYY3I5XdpUfxmx3DbKA==","signatures":[{"sig":"MEUCIHdU4mbmIROK5Ia5GDhgwSVWUoZGV/MIwDEU/GIeo8LkAiEAuUdiBPZNMYkpdA7zM9CWjCTV3dP3Jz50yomADgCmuqw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43201},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1e3bafc105a3b311d539f0fd9454fd80fab23551","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.23.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.1.4_1763897426753_0.09597099989181124","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.1.5","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.1.5","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"80f63c5c8e82ba67128642f4fdf0eb3e2d2ae2c0","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.1.5.tgz","fileCount":8,"integrity":"sha512-G8aKIt3eJ1wB3UeFmYMyqUsIYXAw47ws9wD4RPuMS9hTrMbOkzEfHPlpsWZwgWXxGWAmE45iDgGEom0733dsCg==","signatures":[{"sig":"MEUCIQD0+YJel3lbsvMPgsFgNis4POI6g6/ZSlrVAlZEVTRumwIgbwxMzlinbs0chBqfko14KzTWzNFtrIJclmQBSr+xzvQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41331},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6b615259140a34d57636916c59ab1bb0aa751433","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.23.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.1.5_1763898393047_0.17207596160274075","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.1.6","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.1.6","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"e9e6d4fb7318f8f8f6b1af0fa02c68600ab6f690","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.1.6.tgz","fileCount":8,"integrity":"sha512-/MXKtVFVwfu9OfxpiLpQwzwFWOYhqLo+ZLiLaLEpJSq6i6Y4wj0MaMAVQRWTG5PbmvKNKkU5O5h3au8YWjsTGQ==","signatures":[{"sig":"MEYCIQChRawchnzPkS+PAqCeoHNfs1n2/W6uUS2KjMkCnHhIvAIhAL2/yc/JSqpev8sTMhvcCUe1Gr4NwKp6nVEtHROVGOoG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58646},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2a35c727a84fe0dba26a5cc36deb09caa755ae54","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.23.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.1.6_1763902060981_0.8589743730892518","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.2.0","license":"MIT","_id":"@alptalhayazar/planning-poker-relay-events@0.2.0","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"dist":{"shasum":"95c86620d51a59e420868ef1a4f67499ab50af87","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.2.0.tgz","fileCount":8,"integrity":"sha512-WDf7W881pJsH6tqKbRRKAIMqmKhnc0/qug6wgsPna636St7YC4DSBLHMGXoS+LxAArKoM+hRoBz8dxstCi0TDQ==","signatures":[{"sig":"MEUCIFQyupmpNFIYWdlJE+HSMkyrar7hzP8FbuETBWQUD+0UAiEA3CLlOHr1kwcprCqanoFkzJIGykUgJfIbJUfg32nWyPg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109428},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1b08d28a9070c58d9a321aaf5e6770d5b19e4a5e","scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"_npmVersion":"11.6.2","description":"Shared event contracts for the Planning Poker relay and integrations.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.23.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/planning-poker-relay-events_0.2.0_1763915094108_0.8951003526876962","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@alptalhayazar/planning-poker-relay-events","version":"0.2.1","description":"Shared event contracts for the Planning Poker relay and integrations.","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"build":"tsup src/index.ts --format esm,cjs --dts --clean --target node20","prepublishOnly":"npm run build"},"license":"MIT","engines":{"node":">=20"},"dependencies":{"zod":"^3.23.8"},"devDependencies":{"@types/node":"^24.10.1","tsup":"^8.5.1","typescript":"^5.9.3"},"gitHead":"1b08d28a9070c58d9a321aaf5e6770d5b19e4a5e","_id":"@alptalhayazar/planning-poker-relay-events@0.2.1","_nodeVersion":"22.20.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-QS3FOOuNzPhSoMxMAdmP9dPFxdIAPSNks5kaGco8GbKbAc8ITKWCOOAUg+ouD8FdnsZ3qvBoiU+J6zFyYzHUrg==","shasum":"da5ed631964f6c776ecea3f85129c6db5e3aa1d7","tarball":"https://registry.npmjs.org/@alptalhayazar/planning-poker-relay-events/-/planning-poker-relay-events-0.2.1.tgz","fileCount":8,"unpackedSize":109459,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDc9/4cVxXeuMZirYOqhj9Macexg3OooQu2g7YZ9njFewIgRzOJR1veguTTygM2r6f0bqnp/pTLic4Bsu/UadkoCDw="}]},"_npmUser":{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"},"directories":{},"maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/planning-poker-relay-events_0.2.1_1763915753235_0.33165504565715564"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-20T17:34:48.340Z","modified":"2025-11-23T16:35:53.611Z","0.1.0":"2025-11-20T17:34:48.606Z","0.1.3":"2025-11-21T20:11:57.771Z","0.1.4":"2025-11-23T11:30:26.999Z","0.1.5":"2025-11-23T11:46:33.258Z","0.1.6":"2025-11-23T12:47:41.184Z","0.2.0":"2025-11-23T16:24:54.295Z","0.2.1":"2025-11-23T16:35:53.438Z"},"license":"MIT","description":"Shared event contracts for the Planning Poker relay and integrations.","maintainers":[{"name":"alptalhayazar","email":"pats-shellac.0u@icloud.com"}],"readme":"# @planning-poker/relay-events\n\nShared event contracts for the Planning Poker relay and integrations. Provides the canonical Zod schemas and TypeScript types so the relay and client apps agree on event names and payload shapes.\n\n## Events\n\n- `session.snapshot` — `{ snapshot?: Record<string, unknown> }`\n- `vote.cast` — `{ issueKey: string; participantId: string; value?: string }` (value is optional to keep votes private until reveal)\n- `votes.cleared` — `{ issueKey: string; actorId: string }`\n- `issue.revealed` — `{ issueKey: string; actorId: string }`\n- `issue.advance` — `{ fromIssueKey?: string; toIssueKey: string; actorId: string }`\n- `participant.joined` — `{ participantId: string; displayName: string }`\n- `participant.left` — `{ participantId: string }`\n- `session.joined` — `{ participantId: string; displayName: string }`\n- `session.backlogUpdated` — `{ issueCount: number; actorId: string }`\n\n## Usage\n\n```ts\nimport {\n  relayEventEnvelopeSchema,\n  type RelayEventName,\n  type RelayEventPayload,\n} from '@planning-poker/relay-events';\n\nfunction handleEnvelope(envelope: unknown) {\n  const parsed = relayEventEnvelopeSchema.parse(envelope);\n  const payload: RelayEventPayload<typeof parsed.event> = parsed.payload;\n  // your logic\n}\n```\n\nIf you publish this package to npm/GitHub Packages, consumers can install it with:\n\n```bash\nnpm install @planning-poker/relay-events\n```\n\n## CI publishing\n\nMain branch publishes `@planning-poker/relay-events` via GitHub Actions (`.github/workflows/publish-relay-events.yml`). Add `NPM_TOKEN` (publishable npm token) to repo secrets before relying on it.\n","readmeFilename":"README.md"}