@cyc-seattle/platform 1.40.1 → 1.41.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.
@@ -71,6 +71,7 @@ export interface Schema {
71
71
  sync_leases: SyncLeases[];
72
72
  sync_runs: SyncRuns[];
73
73
  sync_tasks: SyncTasks[];
74
+ venues: Venues[];
74
75
  version_set_members: VersionSetMembers[];
75
76
  version_sets: VersionSets[];
76
77
  website_categories: WebsiteCategories[];
@@ -439,12 +440,19 @@ export interface OrganizationCostAccounts {
439
440
  cost_type: "coach_wages" | "salaries" | "payroll_tax" | "ribs" | "boat_maintenance" | "resources" | "travel" | "cogs" | "card_fees";
440
441
  account_id: string | Accounts;
441
442
  }
442
- /** A legal entity that keeps its own books. The fiscal year is set here, per organization. */
443
+ /** Yacht clubs, class associations, regional organizers, governing bodies and sailing centers, and our own organizations, which keep their own books. Only an admin changes them. */
443
444
  export interface Organizations {
444
445
  id: string;
445
446
  name: string;
446
- /** The month the fiscal year starts in. */
447
- fiscal_year_start_month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
447
+ /** What people call it for short, such as its initials. */
448
+ short_name: string | null;
449
+ /** Ours keeps its own books and plans here. The rest are the clubs and organizers we sail with. A new organization starts as Ours, so change it for anyone else. */
450
+ kind: "own" | "yacht_club" | "class_association" | "regional_organizer" | "governing_body" | "sailing_center";
451
+ /** Its website's address, starting https://. */
452
+ website: string | null;
453
+ logo: string | null;
454
+ /** The month the fiscal year starts in. Only for our own organizations. */
455
+ fiscal_year_start_month: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | null;
448
456
  }
449
457
  /** One row for each person the club knows. */
450
458
  export interface People {
@@ -1100,6 +1108,17 @@ export interface SyncTasks {
1100
1108
  /** Set once the task has failed too many times. It keeps retrying; this flags it for staff. */
1101
1109
  needs_attention: boolean;
1102
1110
  }
1111
+ /** Where events are sailed, and who runs each place. Only an admin changes them. */
1112
+ export interface Venues {
1113
+ id: string;
1114
+ name: string;
1115
+ /** The organization that runs it. */
1116
+ organization_id: string | Organizations;
1117
+ /** Its street address, or where to find it. */
1118
+ address: string | null;
1119
+ /** Other names it goes by, such as on a regatta's notice of race. */
1120
+ aliases: string[] | null;
1121
+ }
1103
1122
  /** One plan in a Financial Plan: the copy of the plan it holds. Add or remove one only while the Financial Plan is a draft. */
1104
1123
  export interface VersionSetMembers {
1105
1124
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyc-seattle/platform",
3
- "version": "1.40.1",
3
+ "version": "1.41.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",
@@ -65,7 +65,7 @@
65
65
  "devDependencies": {
66
66
  "@amiceli/vitest-cucumber": "7.0.0",
67
67
  "@commander-js/extra-typings": "^13.1.0",
68
- "@cyc-seattle/clubspot-sdk": "^0.3.0",
68
+ "@cyc-seattle/clubspot-sdk": "^0.4.1",
69
69
  "@cyc-seattle/commodore": "^0.1.0",
70
70
  "@cyc-seattle/gsuite-sdk": "^0.3.0",
71
71
  "@cyc-seattle/ts-config": "^0.1.2",
@@ -81,7 +81,6 @@
81
81
  "@types/js-yaml": "4.0.9",
82
82
  "@types/luxon": "^3.7.6",
83
83
  "@types/node": "^22.19.1",
84
- "@types/parse": "^3.0.9",
85
84
  "esbuild": "0.28.2",
86
85
  "eslint": "^9.39.5",
87
86
  "google-auth-library": "^11.3.0",