AccountValueNode.ts 291 B

123456789101112
  1. import type { AccountValueNode } from '@kinobi-so/node-types';
  2. import { camelCase } from '../shared';
  3. export function accountValueNode(name: string): AccountValueNode {
  4. return Object.freeze({
  5. kind: 'accountValueNode',
  6. // Data.
  7. name: camelCase(name),
  8. });
  9. }