{"_id":"@cesco_valle/identity-contracts","_rev":"2-425a46437f81f7b19ad6f2cb81d64739","name":"@cesco_valle/identity-contracts","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@cesco_valle/identity-contracts","version":"0.1.0","license":"MIT","_id":"@cesco_valle/identity-contracts@0.1.0","maintainers":[{"name":"cesco_valle","email":"cescovalledev@gmail.com"}],"dist":{"shasum":"92992b63049a3b74385ed1e3ed11a4a0529d7387","tarball":"https://registry.npmjs.org/@cesco_valle/identity-contracts/-/identity-contracts-0.1.0.tgz","fileCount":5,"integrity":"sha512-xoEkJwm+UC1/eIQv69QrMBykc5mubYWxqxy4JNTN9yo84yeZqXT01c8aEvoZoVXobTsIz9D4hwGYmqIJ1K6HjA==","signatures":[{"sig":"MEUCIGDqR7+6SBz64p4bso+ysgKZIEfSXK5wuEG0XQFP41uYAiEA9U9eewh3PgdX82g4qbBmFI8c8Dqp/BpwfQUXCJY2YFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2001},"type":"module","_from":"file:cesco_valle-identity-contracts-0.1.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"cesco_valle","email":"cescovalledev@gmail.com"},"_resolved":"C:\\Users\\frank\\AppData\\Local\\Temp\\a08ed1f5991a03296988b5069f99f811\\cesco_valle-identity-contracts-0.1.0.tgz","_integrity":"sha512-xoEkJwm+UC1/eIQv69QrMBykc5mubYWxqxy4JNTN9yo84yeZqXT01c8aEvoZoVXobTsIz9D4hwGYmqIJ1K6HjA==","_npmVersion":"11.16.0","description":"Shared Zod schemas and TypeScript types for the portfolio identity service surfaces.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"zod":"^4.1.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^4.0.13","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/identity-contracts_0.1.0_1780900173578_0.913172615389743","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cesco_valle/identity-contracts","version":"0.2.0","description":"Shared Zod schemas and TypeScript types for the portfolio identity service surfaces.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/C3SC0-V4113/Identity-Packages.git","directory":"packages/identity-contracts"},"homepage":"https://github.com/C3SC0-V4113/Identity-Packages/tree/main/packages/identity-contracts","type":"module","engines":{"node":">=18"},"sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./shared":{"types":"./dist/shared.d.ts","import":"./dist/shared.js"},"./user":{"types":"./dist/user.d.ts","import":"./dist/user.js"},"./project-admin":{"types":"./dist/project-admin.d.ts","import":"./dist/project-admin.js"},"./admin":{"types":"./dist/admin.d.ts","import":"./dist/admin.js"}},"publishConfig":{"access":"public"},"dependencies":{"zod":"^4.1.12"},"devDependencies":{"tsup":"^8.5.0","typescript":"^5.9.3","vitest":"^4.0.13"},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run --passWithNoTests"},"_id":"@cesco_valle/identity-contracts@0.2.0","bugs":{"url":"https://github.com/C3SC0-V4113/Identity-Packages/issues"},"_integrity":"sha512-MSRfQmRwEPt9cIB42GZwtPpCOAtRNzkMcuiy4VeWB2TEn0Cy5ki+oIa1OSY2ZTCybv1YKi1bwzCwJn3YStzzlQ==","_resolved":"/tmp/9529e9450ddeaff4773d281b401b4593/cesco_valle-identity-contracts-0.2.0.tgz","_from":"file:cesco_valle-identity-contracts-0.2.0.tgz","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-MSRfQmRwEPt9cIB42GZwtPpCOAtRNzkMcuiy4VeWB2TEn0Cy5ki+oIa1OSY2ZTCybv1YKi1bwzCwJn3YStzzlQ==","shasum":"994bcc40b6e1df65b730db507d5766b87a9ae8c4","tarball":"https://registry.npmjs.org/@cesco_valle/identity-contracts/-/identity-contracts-0.2.0.tgz","fileCount":30,"unpackedSize":98817,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@cesco_valle%2fidentity-contracts@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCSMumWu6MvhRPQk9h3HzJzMuQO2gV5Cx1hjuRsrkhIsQIhAMR7REPKQ0mo2ReuudmclN1Xuf+MVzIwFL8iG+qWzwpL"}]},"_npmUser":{"name":"cesco_valle","email":"cescovalledev@gmail.com"},"directories":{},"maintainers":[{"name":"cesco_valle","email":"cescovalledev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/identity-contracts_0.2.0_1781067565953_0.3329931955772829"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-08T06:29:33.425Z","modified":"2026-06-10T04:59:26.367Z","0.1.0":"2026-06-08T06:29:33.711Z","0.2.0":"2026-06-10T04:59:26.098Z"},"license":"MIT","description":"Shared Zod schemas and TypeScript types for the portfolio identity service surfaces.","maintainers":[{"name":"cesco_valle","email":"cescovalledev@gmail.com"}],"readme":"# @cesco_valle/identity-contracts\n\nShared **Zod schemas + inferred TypeScript types** for the portfolio identity\nservice wire contracts. The single source of truth, mirrored 1:1 from\n`identity-service` and consumed by it (server-side validation) and by\n`@cesco_valle/identity-auth-sdk`.\n\nOnly depends on `zod`. ESM-only.\n\n## Install\n\n```bash\nnpm install @cesco_valle/identity-contracts zod\n```\n\n## Entry points\n\nImport from the surface you need:\n\n- `@cesco_valle/identity-contracts/user` — end-user cookie/session surface\n  (`projectAuthLoginRequestSchema`, `projectAuthResponseSchema`,\n  `registerEmailCheckResponseSchema`, …).\n- `@cesco_valle/identity-contracts/project-admin` — project-admin (cookie) surface\n  (memberships, audit logs, sessions, admin-operations list).\n- `@cesco_valle/identity-contracts/admin` — machine-admin surface (the mutation\n  envelope, per-operation payloads, `decideApproval`, read queries).\n- `@cesco_valle/identity-contracts/shared` — common primitives\n  (`projectSummarySchema`, `membershipStatusSchema`, `apiErrorSchema`, …).\n- The package root re-exports `shared` flat plus the `user` / `projectAdmin` /\n  `admin` **namespaces** (e.g. `import { user } from '@cesco_valle/identity-contracts'`).\n\n## Usage\n\n```ts\nimport {\n  projectAuthLoginRequestSchema,\n  type ProjectAuthResponse,\n} from '@cesco_valle/identity-contracts/user';\n\nconst body = projectAuthLoginRequestSchema.parse({ email, password });\n// `ProjectAuthResponse` types the /login response.\n```\n","readmeFilename":"README.md","homepage":"https://github.com/C3SC0-V4113/Identity-Packages/tree/main/packages/identity-contracts","repository":{"type":"git","url":"git+https://github.com/C3SC0-V4113/Identity-Packages.git","directory":"packages/identity-contracts"},"bugs":{"url":"https://github.com/C3SC0-V4113/Identity-Packages/issues"}}