🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@nylas/notebook-api

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@nylas/notebook-api

API demo for Nylas Notetaker

canary
latest
npmnpm
Version
0.0.1
Version published
Maintainers
0
Created
Source

Notebook API

Rest API written in NodeJS/Typescript. Fastify, Posgres.

Drizzle ORM Workflow

Generate a Migration File

# Generate a migration
npx drizzle-kit generate --name=init

Scans schema.ts and creates a migration file based on changes.
Run this after modifying your schema (adding/removing/modifying tables).


# Run migrations
npx drizzle-kit migrate

# On local you can use
npx drizzle-kit push

Webhooks

To debug webhooks, you can use:

cloudflared tunnel --url http://localhost:4000

Bucket


# gcloud projects list
#  gcloud iam service-accounts list

gcloud projects add-iam-policy-binding nylas-453608 \
    --member="serviceAccount:my-service-account@nylas-453608.iam.gserviceaccount.com" \
    --role="roles/storage.admin"


FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts