@cyc-seattle/platform 1.51.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -79,7 +79,7 @@ export function bookBudgetLines(ctx, booker) {
79
79
  line_key: `budget:${line.key}`,
80
80
  line_name: line.name,
81
81
  explanation: line.name,
82
- mtdc_share: line.excluded_from_mtdc ? 0 : 1,
82
+ mtdc_share: line.in_mtdc ? 1 : 0,
83
83
  });
84
84
  }
85
85
  }
@@ -51,7 +51,7 @@ export function bookRevenue(ctx) {
51
51
  for (const charge of ctx.data.plan_revenue_charges) {
52
52
  if (!(charge.product_kinds ?? []).includes(product.kind))
53
53
  continue;
54
- book(charge.account_id, total * charge.rate, `charge:${charge.key}`, charge.name, `${charge.name}: ${charge.rate} × revenue`, charge.excluded_from_mtdc ? 0 : 1);
54
+ book(charge.account_id, total * charge.rate, `charge:${charge.key}`, charge.name, `${charge.name}: ${charge.rate} × revenue`, charge.in_mtdc ? 1 : 0);
55
55
  }
56
56
  }
57
57
  }
@@ -192,8 +192,8 @@ export interface PlanBudgetLine extends Versioned {
192
192
  cost_center_key: Id | null;
193
193
  amount_cents: number;
194
194
  fiscal_year: number;
195
- /** Set for a cost 2 CFR 200.1 leaves out of MTDC, such as equipment or participant support. */
196
- excluded_from_mtdc: boolean;
195
+ /** Whether it counts toward MTDC; cleared for a cost 2 CFR 200.1 leaves out, such as equipment or participant support. */
196
+ in_mtdc: boolean;
197
197
  note: string | null;
198
198
  }
199
199
  /**
@@ -274,7 +274,8 @@ export interface PlanRevenueCharge extends Versioned {
274
274
  product_kinds: ProductKind[] | null;
275
275
  /** A revenue account adds revenue; an expense account adds a cost. */
276
276
  account_id: Id;
277
- excluded_from_mtdc: boolean;
277
+ /** Whether it counts toward MTDC; cleared for one 2 CFR 200.1 leaves out, such as scholarships. */
278
+ in_mtdc: boolean;
278
279
  note: string | null;
279
280
  }
280
281
  /** A day the organization is closed, such as Labor Day. */
@@ -681,8 +681,8 @@ export interface PlanBudgetLines {
681
681
  /** In cents: 12500 is $125.00. */
682
682
  amount_cents: number;
683
683
  fiscal_year: number;
684
- /** Set for a cost left out of modified total direct costs (MTDC), such as equipment. */
685
- excluded_from_mtdc: boolean;
684
+ /** Counts toward modified total direct costs (MTDC). Clear it for a cost 2 CFR 200.1 leaves out, such as equipment. */
685
+ in_mtdc: boolean;
686
686
  note: string | null;
687
687
  }
688
688
  /** Something lasting CSC means to buy, ranked with the most needed first. */
@@ -965,8 +965,8 @@ export interface PlanRevenueCharges {
965
965
  product_kinds: ("program" | "charter" | "storage_lease" | "merchandise" | "event_hosting" | "other")[] | null;
966
966
  /** A revenue account adds revenue, such as card fees families pay. An expense account adds a cost. */
967
967
  account_id: string | Accounts;
968
- /** Set for a charge 2 CFR 200.1 leaves out of MTDC, such as scholarships. */
969
- excluded_from_mtdc: boolean;
968
+ /** Counts toward MTDC. Clear it for a charge 2 CFR 200.1 leaves out, such as scholarships. */
969
+ in_mtdc: boolean;
970
970
  note: string | null;
971
971
  }
972
972
  /** Hours of a salaried position booked to a product. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyc-seattle/platform",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "description": "Pulumi components for CYC's shared Google Cloud platform: WebService, the platform outputs reader, and the stacks that build the platform",
5
5
  "author": "CYC Community Sailing Center",
6
6
  "license": "Apache-2.0",