← Files BranchaARCHIVED FILE

skills/brancha/app/src/server/nodes/node.types.ts

349 Bytes · Oct 2, 2026 · 00:29 UTC

↓ Download file

import type { NodeType } from '../../shared/types.js';

export type Node = {
  id: string;
  project_id: string;
  parent_id: string | null;
  position: number;
  type: NodeType;
  title: string;
  content: string | null;
  created_at: string;
  updated_at: string;
};

export type TreeNode = Node & {
  seq: number;
  artifact_revision: string;
};

SHA-256: 648f35ee2bf5f7cb05446806b723bd3b394c7f527ca03eb6dab7de55ab2df9c1