@stacksjs/cms 0.75.528 → 0.75.535

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.
@@ -1,5 +1,4 @@
1
1
  import type { BlockDefinition, PageBlock, ValidateBlocksResult } from './types';
2
- export declare function defineBlock(definition: BlockDefinition): BlockDefinition;
3
2
  /** Register blocks. Later registrations win, so an app can replace a default. */
4
3
  export declare function registerBlocks(definitions: BlockDefinition[]): void;
5
4
  export declare function getBlock(type: string): BlockDefinition | undefined;
@@ -58,6 +58,7 @@ export declare interface EditablePageDocument {
58
58
  blocks: PageBlock[]
59
59
  }
60
60
  declare class PageDocumentError extends Error {
61
+ /** @defaultValue 422 */
61
62
  readonly status: number;
62
63
  readonly details?: unknown;
63
64
  constructor(message: string, details?: unknown);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/cms",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.528",
5
+ "version": "0.75.535",
6
6
  "description": "Stacks cms utilities.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -58,14 +58,14 @@
58
58
  "prepublishOnly": "bun run build"
59
59
  },
60
60
  "dependencies": {
61
- "@stacksjs/database": "0.75.528",
62
- "@stacksjs/error-handling": "0.75.528",
63
- "@stacksjs/orm": "0.75.528",
64
- "@stacksjs/path": "0.75.528",
65
- "@stacksjs/sites": "0.75.528",
66
- "@stacksjs/slug": "0.75.528",
67
- "@stacksjs/stx": "0.2.807",
68
- "@stacksjs/validation": "0.75.528",
61
+ "@stacksjs/database": "0.75.535",
62
+ "@stacksjs/error-handling": "0.75.535",
63
+ "@stacksjs/orm": "0.75.535",
64
+ "@stacksjs/path": "0.75.535",
65
+ "@stacksjs/sites": "0.75.535",
66
+ "@stacksjs/slug": "0.75.535",
67
+ "@stacksjs/stx": "0.2.842",
68
+ "@stacksjs/validation": "0.75.535",
69
69
  "ts-medium-editor": "^0.2.0",
70
70
  "ts-slug": "^0.2.1",
71
71
  "ts-spreadsheets": "^0.2.5"