@revealui/core 0.5.4 → 0.5.5
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/README.md +2 -2
- package/dist/client/richtext/RichTextEditor.js +1 -1
- package/dist/features.d.ts +1 -1
- package/dist/features.js +1 -1
- package/dist/generated/types/cms.d.ts +1 -1
- package/dist/generated/types/cms.js +1 -1
- package/dist/license.d.ts +1 -1
- package/dist/license.js +1 -1
- package/dist/types/extensions.d.ts +1 -1
- package/dist/types/extensions.js +1 -1
- package/dist/types/generated.d.ts +1 -1
- package/dist/types/generated.js +1 -1
- package/dist/types/legacy.d.ts +1 -1
- package/dist/types/legacy.js +1 -1
- package/package.json +12 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @revealui/core
|
|
2
2
|
|
|
3
|
-
The core
|
|
3
|
+
The core runtime engine for RevealUI — collections, admin UI, rich text, security, observability, and plugins.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -155,7 +155,7 @@ pnpm dev
|
|
|
155
155
|
|
|
156
156
|
## JOSHUA Alignment
|
|
157
157
|
|
|
158
|
-
- **Sovereign**: Self-hosted
|
|
158
|
+
- **Sovereign**: Self-hosted runtime engine — no SaaS dependency for content management, auth, or storage
|
|
159
159
|
- **Unified**: One `buildConfig()` call wires collections, globals, plugins, security, and feature gates into a single configuration
|
|
160
160
|
- **Adaptive**: Plugin system and tier-based feature gating let the platform evolve without breaking existing deployments
|
|
161
161
|
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
3
3
|
/**
|
|
4
4
|
* RevealUI Rich Text Editor
|
|
5
5
|
*
|
|
6
|
-
* A
|
|
6
|
+
* A Lexical-based rich text editor component.
|
|
7
7
|
* Supports configurable features, onChange callbacks, and initial state.
|
|
8
8
|
*/
|
|
9
9
|
import { CodeHighlightNode, CodeNode } from '@lexical/code';
|
package/dist/features.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Feature flag system for RevealUI Pro/Enterprise tiers.
|
|
3
3
|
*
|
|
4
4
|
* Gates premium features based on the current license tier.
|
|
5
|
-
* Free (OSS) users get the core
|
|
5
|
+
* Free (OSS) users get the core runtime engine.
|
|
6
6
|
* Pro/Enterprise users unlock AI, advanced sync, dashboard, etc.
|
|
7
7
|
*
|
|
8
8
|
* @dependencies
|
package/dist/features.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Feature flag system for RevealUI Pro/Enterprise tiers.
|
|
3
3
|
*
|
|
4
4
|
* Gates premium features based on the current license tier.
|
|
5
|
-
* Free (OSS) users get the core
|
|
5
|
+
* Free (OSS) users get the core runtime engine.
|
|
6
6
|
* Pro/Enterprise users unlock AI, advanced sync, dashboard, etc.
|
|
7
7
|
*
|
|
8
8
|
* @dependencies
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was automatically generated and copied from ./apps/
|
|
2
|
+
* This file was automatically generated and copied from ./apps/admin/src/types/revealui.ts
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, regenerate the source file and re-run this script.
|
|
4
4
|
*
|
|
5
5
|
* Last updated: 2026-01-16T04:18:38.750Z
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/**
|
|
3
|
-
* This file was automatically generated and copied from ./apps/
|
|
3
|
+
* This file was automatically generated and copied from ./apps/admin/src/types/revealui.ts
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, regenerate the source file and re-run this script.
|
|
5
5
|
*
|
|
6
6
|
* Last updated: 2026-01-16T04:18:38.750Z
|
package/dist/license.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ export type LicenseTier = 'free' | 'pro' | 'max' | 'enterprise';
|
|
|
11
11
|
/** Decoded license payload schema */
|
|
12
12
|
declare const licensePayloadSchema: z.ZodObject<{
|
|
13
13
|
tier: z.ZodEnum<{
|
|
14
|
-
pro: "pro";
|
|
15
14
|
max: "max";
|
|
15
|
+
pro: "pro";
|
|
16
16
|
enterprise: "enterprise";
|
|
17
17
|
}>;
|
|
18
18
|
customerId: z.ZodString;
|
package/dist/license.js
CHANGED
|
@@ -34,7 +34,7 @@ const licensePayloadSchema = z.object({
|
|
|
34
34
|
exp: z.number().optional(),
|
|
35
35
|
});
|
|
36
36
|
const DEFAULT_CACHE_CONFIG = {
|
|
37
|
-
ttlMs:
|
|
37
|
+
ttlMs: 60 * 1000, // 60 seconds — revoked licenses lose access within 1 min
|
|
38
38
|
};
|
|
39
39
|
let cacheConfig = { ...DEFAULT_CACHE_CONFIG };
|
|
40
40
|
let cachedAt = 0;
|
package/dist/types/extensions.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This file re-exports types from @revealui/core/generated.
|
|
6
6
|
*
|
|
7
7
|
* Types are generated from:
|
|
8
|
-
* - CMS config: apps/
|
|
8
|
+
* - CMS config: apps/admin/revealui.config.ts
|
|
9
9
|
*/
|
|
10
10
|
export type { Config as GeneratedConfig } from '../generated/types/cms.js';
|
|
11
11
|
export type GeneratedTypes = import('../generated/types/cms.js').Config;
|
package/dist/types/generated.js
CHANGED
package/dist/types/legacy.d.ts
CHANGED
package/dist/types/legacy.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revealui/core",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.5.5",
|
|
4
|
+
"description": "Runtime engine, REST API, auth, rich text, admin UI, and plugins for RevealUI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@electric-sql/pglite": "^0.4.2",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"pg": "^8.18.0",
|
|
25
25
|
"yjs": "^13.6.29",
|
|
26
26
|
"zod": "^4.3.6",
|
|
27
|
-
"@revealui/cache": "0.1.
|
|
28
|
-
"@revealui/contracts": "1.3.
|
|
29
|
-
"@revealui/resilience": "0.2.
|
|
30
|
-
"@revealui/security": "0.2.
|
|
31
|
-
"@revealui/utils": "0.3.
|
|
27
|
+
"@revealui/cache": "0.1.3",
|
|
28
|
+
"@revealui/contracts": "1.3.6",
|
|
29
|
+
"@revealui/resilience": "0.2.3",
|
|
30
|
+
"@revealui/security": "0.2.6",
|
|
31
|
+
"@revealui/utils": "0.3.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/json-schema": "^7.0.15",
|
|
@@ -289,6 +289,11 @@
|
|
|
289
289
|
},
|
|
290
290
|
"type": "module",
|
|
291
291
|
"types": "./dist/index.d.ts",
|
|
292
|
+
"repository": {
|
|
293
|
+
"type": "git",
|
|
294
|
+
"url": "https://github.com/RevealUIStudio/revealui.git",
|
|
295
|
+
"directory": "packages/core"
|
|
296
|
+
},
|
|
292
297
|
"scripts": {
|
|
293
298
|
"build": "tsc",
|
|
294
299
|
"clean": "rm -rf dist",
|