Repository navigation
feat(deepnote-file-schema): update to include block and export zod schema - #71
Conversation
📝 WalkthroughWalkthroughdeepnoteBlockSchema was added to the package public exports and its internal metadata field in Sequence Diagram(s)sequenceDiagram
autonumber
participant Consumer
participant blocks/index.ts as "packages/blocks/index.ts"
participant deepnoteFile as "deserialize-file/deepnote-file-schema"
Note over deepnoteFile: deepnoteBlockSchema definition\n(metadata: z.record(z.any()))
Consumer->>blocks/index.ts: import { deepnoteBlockSchema }
blocks/index.ts->>deepnoteFile: re-export deepnoteBlockSchema
deepnoteFile-->>blocks/index.ts: exported schema
blocks/index.ts-->>Consumer: provides deepnoteBlockSchema
Possibly related PRs
Suggested reviewers
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (5)packages/*/src/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
packages/*/src/**/*📄 CodeRabbit inference engine (CLAUDE.md)
Files:
packages/blocks/src/**/*.{ts,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{md,yml,yaml}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🔇 Additional comments (3)
Comment |
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #71 +/- ##
==========================================
- Coverage 92.88% 92.76% -0.13%
==========================================
Files 23 23
Lines 773 774 +1
Branches 221 221
==========================================
Hits 718 718
- Misses 55 56 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (2)
packages/blocks/src/deserialize-file/deepnote-file-schema.ts(1 hunks)packages/blocks/src/index.ts(1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
packages/*/src/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
packages/*/src/**/*.{ts,tsx}: Use strict type checking and prefer type safety over convenience
Use const for immutable values
Avoid any; use proper type definitions and type guards
Files:
packages/blocks/src/index.tspackages/blocks/src/deserialize-file/deepnote-file-schema.ts
**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
**/*.{ts,tsx}: Follow Biome's lint rules as configured in biome.json
Use literal keys (dot notation) instead of bracket notation when possible
Prefer single quotes for strings (except when avoiding escapes)
Files:
packages/blocks/src/index.tspackages/blocks/src/deserialize-file/deepnote-file-schema.ts
packages/*/src/**/*
📄 CodeRabbit inference engine (CLAUDE.md)
Place source code under packages/*/src/
Files:
packages/blocks/src/index.tspackages/blocks/src/deserialize-file/deepnote-file-schema.ts
packages/blocks/src/**/*.{ts,tsx}
📄 CodeRabbit inference engine (CLAUDE.md)
packages/blocks/src/**/*.{ts,tsx}: In @deepnote/blocks, use ts-dedent for clean multiline template strings
In @deepnote/blocks, use escapePythonString() when embedding strings in generated Python code
Files:
packages/blocks/src/index.tspackages/blocks/src/deserialize-file/deepnote-file-schema.ts
🪛 GitHub Actions: CI
packages/blocks/src/deserialize-file/deepnote-file-schema.ts
[error] 47-47: TS2554: Expected 2-3 arguments, but got 1.
🪛 GitHub Check: Typecheck
packages/blocks/src/deserialize-file/deepnote-file-schema.ts
[failure] 47-47:
Expected 2-3 arguments, but got 1.
🔇 Additional comments (1)
packages/blocks/src/index.ts (1)
3-3: LGTM—clean public API expansion.
|
@coderabbitai resolve |
✅ Actions performedComments resolved and changes approved. |
Summary by CodeRabbit
No user-facing behavior or public API signatures were changed.