@tollwyn/baukasten 3.0.2 → 3.0.3

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.
package/dist/product.d.ts CHANGED
@@ -128,8 +128,8 @@ export interface Product<E extends ProductEnv = ProductEnv> {
128
128
  };
129
129
  };
130
130
  /**
131
- * The day the product's part of its legal texts (`legal`) last changed, as YYYY-MM-DD. The terms
132
- * an account accepts are named by the later of this day and that of the baukasten's part.
131
+ * The day the product's part of its terms (from `legal`) last changed, as YYYY-MM-DD. The terms an
132
+ * account accepts are named by the later of this day and that of the baukasten's part.
133
133
  */
134
134
  termsDate: string;
135
135
  legal: ProductLegal;
@@ -67,7 +67,6 @@ export const de = {
67
67
  return {
68
68
  title: 'Datenschutzerklärung',
69
69
  blocks: [
70
- version(f),
71
70
  paragraph(`Diese Erklärung beschreibt, welche Personendaten ${f.name} bearbeitet, wozu, wo und wie lange. Verantwortlich ist ${who(f)}, erreichbar unter `, mail(FLEET.mailbox), '. Sie folgt dem Bundesgesetz über den Datenschutz (DSG) und, wo sie anwendbar ist, der Datenschutz-Grundverordnung der EU (DSGVO).'),
72
71
  heading('Was wir bearbeiten, wozu und gestützt worauf'),
73
72
  list([
@@ -67,7 +67,6 @@ export const en = {
67
67
  return {
68
68
  title: 'Privacy policy',
69
69
  blocks: [
70
- version(f),
71
70
  paragraph(`This policy explains which personal data ${f.name} processes, why, where and for how long. The controller is ${who(f)}, reachable at `, mail(FLEET.mailbox), '. It follows the Swiss Federal Act on Data Protection (FADP) and, where it applies, the EU General Data Protection Regulation (GDPR).'),
72
71
  heading('What we process, why, and on what basis'),
73
72
  list([
@@ -110,5 +110,8 @@ export declare const FLEET: {
110
110
  /** The mail relay logs each recipient and the state of each delivery; journald keeps it this long. */
111
111
  readonly relayLogDays: 30;
112
112
  };
113
- /** The providers of the fleet that process data for the operator, which the terms name. */
113
+ /**
114
+ * The providers of the fleet that process data for the operator, which the terms name: every fact
115
+ * above with that role, so a new one changes the terms, which promise 30 days of notice of it.
116
+ */
114
117
  export declare const FLEET_PROCESSORS: ("Cloudflare, Inc." | "Hetzner Online GmbH" | "Neon, LLC" | "Infomaniak Network SA")[];
@@ -77,13 +77,8 @@ export const FLEET = {
77
77
  /** The mail relay logs each recipient and the state of each delivery; journald keeps it this long. */
78
78
  relayLogDays: 30
79
79
  };
80
- /** The providers of the fleet that process data for the operator, which the terms name. */
81
- export const FLEET_PROCESSORS = [
82
- FLEET.cloudflare,
83
- FLEET.hoster,
84
- FLEET.neon,
85
- FLEET.stripe,
86
- FLEET.mail
87
- ]
88
- .filter((provider) => provider.role === 'processor')
89
- .map((provider) => provider.name);
80
+ /**
81
+ * The providers of the fleet that process data for the operator, which the terms name: every fact
82
+ * above with that role, so a new one changes the terms, which promise 30 days of notice of it.
83
+ */
84
+ export const FLEET_PROCESSORS = Object.values(FLEET).flatMap((fact) => typeof fact === 'object' && 'role' in fact && fact.role === 'processor' ? [fact.name] : []);
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The day the baukasten's part of the legal texts last changed (legal/, legal.test.ts holds their
3
- * checksum with it); a change to that part sets it anew.
2
+ * The day the baukasten's part of the terms last changed (legal/, legal.test.ts holds their checksum
3
+ * with it); a change to that part sets it anew.
4
4
  */
5
5
  export declare const BAUKASTEN_TERMS_DATE = "2026-10-08";
6
6
  /** The name of the terms from the two days, each YYYY-MM-DD, which sort like their dates. */
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The day the baukasten's part of the legal texts last changed (legal/, legal.test.ts holds their
3
- * checksum with it); a change to that part sets it anew.
2
+ * The day the baukasten's part of the terms last changed (legal/, legal.test.ts holds their checksum
3
+ * with it); a change to that part sets it anew.
4
4
  */
5
5
  export const BAUKASTEN_TERMS_DATE = '2026-10-08';
6
6
  /** The name of the terms from the two days, each YYYY-MM-DD, which sort like their dates. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tollwyn/baukasten",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "What every product built on this kit shares: configuration, log and server, database with two-layer migrations, health, accounts with sessions and API keys, limits, mail, payment through Stripe, the numbers for sales, the frame and pages, the stubs that hang them into a product and the check of a product, the ESLint config and knip preset of its gate, and the tools to test one, its connection test among them; and for a Shopify app its installation with tokens, the frame of the admin, its webhooks, its plan through the Partner API and its privacy text.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",