@platformos/platformos-check-common 0.0.17 → 0.0.18

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/checks/index.d.ts +1 -1
  3. package/dist/checks/index.js +6 -2
  4. package/dist/checks/index.js.map +1 -1
  5. package/dist/checks/json-literal-quote-style/index.d.ts +2 -0
  6. package/dist/checks/json-literal-quote-style/index.js +42 -0
  7. package/dist/checks/json-literal-quote-style/index.js.map +1 -0
  8. package/dist/checks/liquid-html-syntax-error/checks/InvalidAssignSyntax.d.ts +21 -0
  9. package/dist/checks/liquid-html-syntax-error/checks/InvalidAssignSyntax.js +60 -0
  10. package/dist/checks/liquid-html-syntax-error/checks/InvalidAssignSyntax.js.map +1 -0
  11. package/dist/checks/liquid-html-syntax-error/checks/InvalidOutputPush.d.ts +17 -0
  12. package/dist/checks/liquid-html-syntax-error/checks/InvalidOutputPush.js +37 -0
  13. package/dist/checks/liquid-html-syntax-error/checks/InvalidOutputPush.js.map +1 -0
  14. package/dist/checks/liquid-html-syntax-error/checks/InvalidTagSyntax.js +1 -1
  15. package/dist/checks/liquid-html-syntax-error/index.js +17 -0
  16. package/dist/checks/liquid-html-syntax-error/index.js.map +1 -1
  17. package/dist/checks/partial-call-arguments/extract-undefined-variables.d.ts +14 -0
  18. package/dist/checks/partial-call-arguments/extract-undefined-variables.js +234 -0
  19. package/dist/checks/partial-call-arguments/extract-undefined-variables.js.map +1 -0
  20. package/dist/checks/partial-call-arguments/index.d.ts +2 -0
  21. package/dist/checks/partial-call-arguments/index.js +117 -0
  22. package/dist/checks/partial-call-arguments/index.js.map +1 -0
  23. package/dist/checks/valid-frontmatter/index.d.ts +2 -0
  24. package/dist/checks/valid-frontmatter/index.js +279 -0
  25. package/dist/checks/valid-frontmatter/index.js.map +1 -0
  26. package/dist/frontmatter/index.d.ts +1 -59
  27. package/dist/frontmatter/index.js +6 -298
  28. package/dist/frontmatter/index.js.map +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +2 -2
  31. package/src/checks/index.ts +6 -2
  32. package/src/checks/json-literal-quote-style/index.spec.ts +129 -0
  33. package/src/checks/json-literal-quote-style/index.ts +45 -0
  34. package/src/checks/liquid-html-syntax-error/checks/InvalidAssignSyntax.spec.ts +422 -0
  35. package/src/checks/liquid-html-syntax-error/checks/InvalidAssignSyntax.ts +63 -0
  36. package/src/checks/liquid-html-syntax-error/checks/InvalidOutputPush.spec.ts +104 -0
  37. package/src/checks/liquid-html-syntax-error/checks/InvalidOutputPush.ts +39 -0
  38. package/src/checks/liquid-html-syntax-error/checks/InvalidTagSyntax.spec.ts +86 -2
  39. package/src/checks/liquid-html-syntax-error/checks/InvalidTagSyntax.ts +1 -1
  40. package/src/checks/liquid-html-syntax-error/index.ts +19 -0
  41. package/src/checks/partial-call-arguments/extract-undefined-variables.spec.ts +218 -0
  42. package/src/checks/{metadata-params → partial-call-arguments}/extract-undefined-variables.ts +31 -6
  43. package/src/checks/partial-call-arguments/index.spec.ts +436 -0
  44. package/src/checks/{metadata-params → partial-call-arguments}/index.ts +18 -11
  45. package/src/checks/undefined-object/index.spec.ts +101 -0
  46. package/src/checks/valid-frontmatter/index.spec.ts +666 -0
  47. package/src/checks/valid-frontmatter/index.ts +344 -0
  48. package/src/frontmatter/index.ts +9 -344
  49. package/src/checks/metadata-params/extract-undefined-variables.spec.ts +0 -115
  50. package/src/checks/metadata-params/index.spec.ts +0 -257
@@ -1,301 +1,9 @@
1
1
  "use strict";
2
- /**
3
- * Frontmatter schema definitions for platformOS Liquid file types.
4
- *
5
- * Each Liquid file type in platformOS has a YAML frontmatter section at the
6
- * top of the file that configures server-side behaviour. The schema for each
7
- * type is different — Pages have slug/layout, Emails have to/from/subject, etc.
8
- *
9
- * This module provides:
10
- * - FrontmatterFieldSchema — type definition for a single field
11
- * - FrontmatterSchema — type definition for a complete schema
12
- * - FRONTMATTER_SCHEMAS — per-type schemas keyed by PlatformOSFileType
13
- * - getFrontmatterSchema() — convenience lookup that returns undefined for
14
- * types without a frontmatter schema
15
- */
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.FRONTMATTER_SCHEMAS = void 0;
18
- exports.getFrontmatterSchema = getFrontmatterSchema;
19
- const platformos_common_1 = require("@platformos/platformos-common");
20
- // ─── Schemas ──────────────────────────────────────────────────────────────────
21
- /**
22
- * Per-type frontmatter schemas.
23
- *
24
- * Only Liquid file types are present here — GraphQL, YAML, and Asset types
25
- * do not use frontmatter.
26
- *
27
- * Field lists are based on real-world usage in platformOS apps. Set
28
- * `allowAdditionalFields: true` (the default) everywhere so that apps using
29
- * custom/undocumented keys don't get false-positive warnings until the schemas
30
- * are finalised.
31
- */
32
- exports.FRONTMATTER_SCHEMAS = {
33
- // ── Page ─────────────────────────────────────────────────────────────────────
34
- [platformos_common_1.PlatformOSFileType.Page]: {
35
- name: 'Page',
36
- fields: {
37
- slug: {
38
- type: 'string',
39
- description: 'URL slug for this page. Supports dynamic segments (e.g. users/:id).',
40
- },
41
- layout: {
42
- type: 'string',
43
- description: 'Layout template to wrap this page (path relative to app root, no extension).',
44
- },
45
- layout_name: {
46
- type: 'string',
47
- description: 'Alias for layout.',
48
- deprecated: true,
49
- deprecatedMessage: 'Use `layout` instead of `layout_name`.',
50
- },
51
- method: {
52
- type: 'string',
53
- description: 'HTTP method this page responds to (get, post, put, patch, delete).',
54
- },
55
- authorization_policies: {
56
- type: 'array',
57
- description: 'List of authorization policy names that must pass before rendering.',
58
- },
59
- response_headers: {
60
- type: 'string',
61
- description: 'Liquid template that renders a JSON object of HTTP response headers.',
62
- },
63
- metadata: {
64
- type: 'object',
65
- description: 'Arbitrary metadata object (e.g. SEO title/description, robots directives).',
66
- },
67
- max_deep_level: {
68
- type: 'integer',
69
- description: 'Maximum number of dynamic URL segments to capture.',
70
- },
71
- searchable: {
72
- type: 'boolean',
73
- description: 'Whether this page is included in platformOS search indexes.',
74
- },
75
- format: {
76
- type: 'string',
77
- description: 'Response format (html, json, xml, csv, …). Often encoded in the filename.',
78
- },
79
- },
80
- allowAdditionalFields: true,
81
- },
82
- // ── Layout ───────────────────────────────────────────────────────────────────
83
- [platformos_common_1.PlatformOSFileType.Layout]: {
84
- name: 'Layout',
85
- fields: {
86
- name: {
87
- type: 'string',
88
- description: 'Identifier used to reference this layout from pages.',
89
- },
90
- },
91
- allowAdditionalFields: true,
92
- },
93
- // ── Partial ──────────────────────────────────────────────────────────────────
94
- [platformos_common_1.PlatformOSFileType.Partial]: {
95
- name: 'Partial',
96
- fields: {
97
- metadata: {
98
- type: 'object',
99
- description: 'Partial metadata. `metadata.params` declares accepted parameters; `metadata.name` is a human-readable label for the style guide.',
100
- },
101
- },
102
- allowAdditionalFields: true,
103
- },
104
- // ── AuthorizationPolicy ──────────────────────────────────────────────────────
105
- [platformos_common_1.PlatformOSFileType.Authorization]: {
106
- name: 'AuthorizationPolicy',
107
- fields: {
108
- name: {
109
- type: 'string',
110
- required: true,
111
- description: 'Unique identifier for this authorization policy.',
112
- },
113
- redirect_to: {
114
- type: 'string',
115
- description: 'URL to redirect the user to when the policy fails.',
116
- },
117
- flash_alert: {
118
- type: 'string',
119
- description: 'Flash alert message shown after a failed authorization redirect.',
120
- },
121
- flash_notice: {
122
- type: 'string',
123
- description: 'Flash notice message shown after a failed authorization redirect.',
124
- },
125
- },
126
- allowAdditionalFields: true,
127
- },
128
- // ── Email ────────────────────────────────────────────────────────────────────
129
- [platformos_common_1.PlatformOSFileType.Email]: {
130
- name: 'Email',
131
- fields: {
132
- to: {
133
- type: 'string',
134
- required: true,
135
- description: 'Recipient email address (may use Liquid).',
136
- },
137
- from: {
138
- type: 'string',
139
- description: 'Sender email address.',
140
- },
141
- reply_to: {
142
- type: 'string',
143
- description: 'Reply-to email address.',
144
- },
145
- cc: {
146
- type: 'string',
147
- description: 'Carbon-copy recipients.',
148
- },
149
- bcc: {
150
- type: 'string',
151
- description: 'Blind carbon-copy recipients.',
152
- },
153
- subject: {
154
- type: 'string',
155
- required: true,
156
- description: 'Email subject line (may use Liquid).',
157
- },
158
- layout_path: {
159
- type: 'string',
160
- description: 'Layout partial to wrap the email body.',
161
- },
162
- delay: {
163
- type: 'integer',
164
- description: 'Seconds to delay delivery after being triggered.',
165
- },
166
- enabled: {
167
- type: 'boolean',
168
- description: 'When false, this email is never sent. Defaults to true.',
169
- },
170
- trigger_condition: {
171
- type: ['boolean', 'string'],
172
- description: 'Liquid expression or boolean; email is only sent when this evaluates to true.',
173
- },
174
- },
175
- allowAdditionalFields: true,
176
- },
177
- // ── ApiCall ──────────────────────────────────────────────────────────────────
178
- [platformos_common_1.PlatformOSFileType.ApiCall]: {
179
- name: 'ApiCall',
180
- fields: {
181
- to: {
182
- type: 'string',
183
- required: true,
184
- description: 'Target URL for the HTTP request (may use Liquid).',
185
- },
186
- request_type: {
187
- type: 'string',
188
- required: true,
189
- description: 'HTTP method: GET, POST, PUT, PATCH, or DELETE.',
190
- },
191
- request_headers: {
192
- type: 'string',
193
- description: 'Liquid template rendering a JSON object of request headers.',
194
- },
195
- headers: {
196
- type: 'string',
197
- description: 'Alias for request_headers.',
198
- deprecated: true,
199
- deprecatedMessage: 'Use `request_headers` instead of `headers`.',
200
- },
201
- callback: {
202
- type: 'string',
203
- description: 'Liquid template executed after the HTTP response is received.',
204
- },
205
- delay: {
206
- type: 'integer',
207
- description: 'Seconds to delay the request after being triggered.',
208
- },
209
- enabled: {
210
- type: 'boolean',
211
- description: 'When false, this API call is never executed. Defaults to true.',
212
- },
213
- trigger_condition: {
214
- type: ['boolean', 'string'],
215
- description: 'Liquid expression or boolean; call is only made when this evaluates to true.',
216
- },
217
- format: {
218
- type: 'string',
219
- description: 'Request body encoding format (http, json, …).',
220
- },
221
- },
222
- allowAdditionalFields: true,
223
- },
224
- // ── Sms ──────────────────────────────────────────────────────────────────────
225
- [platformos_common_1.PlatformOSFileType.Sms]: {
226
- name: 'SMS',
227
- fields: {
228
- to: {
229
- type: 'string',
230
- required: true,
231
- description: 'Recipient phone number in E.164 format (may use Liquid).',
232
- },
233
- delay: {
234
- type: 'integer',
235
- description: 'Seconds to delay sending after being triggered.',
236
- },
237
- enabled: {
238
- type: 'boolean',
239
- description: 'When false, this SMS is never sent. Defaults to true.',
240
- },
241
- trigger_condition: {
242
- type: ['boolean', 'string'],
243
- description: 'Liquid expression or boolean; SMS is only sent when this evaluates to true.',
244
- },
245
- },
246
- allowAdditionalFields: true,
247
- },
248
- // ── Migration ────────────────────────────────────────────────────────────────
249
- [platformos_common_1.PlatformOSFileType.Migration]: {
250
- name: 'Migration',
251
- fields: {},
252
- allowAdditionalFields: true,
253
- },
254
- // ── FormConfiguration ────────────────────────────────────────────────────────
255
- [platformos_common_1.PlatformOSFileType.FormConfiguration]: {
256
- name: 'FormConfiguration',
257
- fields: {
258
- name: {
259
- type: 'string',
260
- required: true,
261
- description: 'Unique identifier for this form, used in include_form / function calls.',
262
- },
263
- resource: {
264
- type: ['string', 'object'],
265
- description: 'Model or resource type this form operates on.',
266
- },
267
- resource_owner: {
268
- type: 'string',
269
- description: 'Who owns the resource being created/updated.',
270
- },
271
- fields: {
272
- type: 'object',
273
- description: 'Field definitions — what data this form accepts and validates.',
274
- },
275
- redirect_to: {
276
- type: 'string',
277
- description: 'URL to redirect to after a successful form submission.',
278
- },
279
- flash_notice: {
280
- type: 'string',
281
- description: 'Flash notice message shown after a successful submission.',
282
- },
283
- flash_alert: {
284
- type: 'string',
285
- description: 'Flash alert message shown after a failed submission.',
286
- },
287
- },
288
- allowAdditionalFields: true,
289
- },
290
- };
291
- // ─── Lookup helper ────────────────────────────────────────────────────────────
292
- /**
293
- * Returns the frontmatter schema for a given file type, or undefined if no
294
- * schema is defined for that type (e.g. GraphQL, YAML, Asset types).
295
- */
296
- function getFrontmatterSchema(fileType) {
297
- if (fileType === undefined)
298
- return undefined;
299
- return exports.FRONTMATTER_SCHEMAS[fileType];
300
- }
3
+ exports.getFrontmatterSchema = exports.FRONTMATTER_SCHEMAS = void 0;
4
+ // Frontmatter schemas and types live in platformos-common so they can be used
5
+ // by other packages without depending on the full linting engine.
6
+ var platformos_common_1 = require("@platformos/platformos-common");
7
+ Object.defineProperty(exports, "FRONTMATTER_SCHEMAS", { enumerable: true, get: function () { return platformos_common_1.FRONTMATTER_SCHEMAS; } });
8
+ Object.defineProperty(exports, "getFrontmatterSchema", { enumerable: true, get: function () { return platformos_common_1.getFrontmatterSchema; } });
301
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/frontmatter/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAqUH,oDAKC;AAxUD,qEAAmE;AAkCnE,iFAAiF;AAEjF;;;;;;;;;;GAUG;AACU,QAAA,mBAAmB,GAA2D;IACzF,gFAAgF;IAChF,CAAC,sCAAkB,CAAC,IAAI,CAAC,EAAE;QACzB,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE;YACN,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;aACnF;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8EAA8E;aAC5F;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mBAAmB;gBAChC,UAAU,EAAE,IAAI;gBAChB,iBAAiB,EAAE,wCAAwC;aAC5D;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oEAAoE;aAClF;YACD,sBAAsB,EAAE;gBACtB,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,qEAAqE;aACnF;YACD,gBAAgB,EAAE;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,sEAAsE;aACpF;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4EAA4E;aAC1F;YACD,cAAc,EAAE;gB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