Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.0 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ApiGroupMetaDisplayOrder } from './apiGroupMetaDisplayOrder';
import type { ApiGroupMetaNextCursor } from './apiGroupMetaNextCursor';

/**
 * API representation of group metadata.

Items belonging to this group are referenced by `item_ids`, each of which
looks up an entry in `GroupedSoupPage.items` (a normalized pool).
 */
export interface ApiGroupMeta {
  /** Display order for sorting groups (lower = first) */
  display_order?: ApiGroupMetaDisplayOrder;
  /** Ordered ids of items in this group for the current page.
Each id keys into `GroupedSoupPage.items`. */
  item_ids: string[];
  /** Group key - format depends on group_by field */
  key: string;
  /** Human-readable label for the group */
  label: string;
  /** Cursor to load more items specifically from this group */
  next_cursor?: ApiGroupMetaNextCursor;
  /**
   * Total count of items in this group across all pages
   * @minimum 0
   */
  total_count: number;
}