Open Cap Table Protocol Canton SDK - v0.2.224
    Preparing search index...

    Function checkDeprecatedFieldsBatch

    • Check multiple objects for deprecated field usage in a single batch operation.

      Parameters

      Returns BatchDeprecatedFieldsResult

      Aggregated result with summary statistics and per-item details

        const result = checkDeprecatedFieldsBatch([
      { objectType: 'StockPlan', data: { stock_class_id: 'sc-1', plan_name: 'Plan A' }, id: 'plan-1' },
      { objectType: 'StockPlan', data: { stock_class_ids: ['sc-2'], plan_name: 'Plan B' }, id: 'plan-2' },
      ]);
      // result.objectsWithDeprecatedFields === 1
      // result.deprecatedFieldSummary === { stock_class_id: 1 }