go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/projects/nodes/static/_nextjs/src/store/nodeData.ts (about) 1 /** 2 * Copyright (c) 2024 - Present. Will Charczuk. All rights reserved. 3 * Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository. 4 */ 5 import * as api from '../api/nodes'; 6 7 export interface NodeData { 8 node: api.Node; 9 stabilizationNum?: number; 10 refreshedAt?: Date; 11 getValue: () => Promise<any>; 12 onCollapse: (collapsed: boolean) => Promise<any>; 13 }