flarecms 0.2.11 → 0.2.12
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/api/routes/plugins.d.ts +1 -1
- package/dist/cli/commands.js +5 -0
- package/dist/cli/index.js +5 -0
- package/dist/client/index.js +7534 -7521
- package/dist/index.js +7534 -7521
- package/dist/plugins/adapt-entry.d.ts +1 -1
- package/dist/plugins/context.d.ts +2 -2
- package/dist/plugins/define-plugin.d.ts +1 -1
- package/dist/plugins/hooks.d.ts +2 -2
- package/dist/plugins/index.d.ts +6 -6
- package/dist/plugins/manager.d.ts +3 -3
- package/dist/plugins/middleware.d.ts +1 -1
- package/dist/plugins/noop-sandbox.d.ts +1 -1
- package/dist/plugins/routes.d.ts +2 -2
- package/dist/plugins/sandbox/bridge.d.ts +1 -1
- package/dist/plugins/sandbox/runner.d.ts +2 -2
- package/dist/plugins/sandbox/types.d.ts +1 -1
- package/dist/plugins/sandbox/wrapper.d.ts +1 -1
- package/dist/style.css +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FlareDb } from '../db/index
|
|
2
|
-
import type { PluginContext, PluginCapability } from './types
|
|
1
|
+
import type { FlareDb } from '../db/index';
|
|
2
|
+
import type { PluginContext, PluginCapability } from './types';
|
|
3
3
|
export interface ContextFactoryOptions {
|
|
4
4
|
pluginId: string;
|
|
5
5
|
version: string;
|
package/dist/plugins/hooks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ResolvedPlugin } from './types
|
|
2
|
-
import type { FlareDb } from '../db/index
|
|
1
|
+
import type { ResolvedPlugin } from './types';
|
|
2
|
+
import type { FlareDb } from '../db/index';
|
|
3
3
|
/**
|
|
4
4
|
* HookPipeline manages the registration and execution of hooks across all plugins.
|
|
5
5
|
*/
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { definePlugin } from './define-plugin
|
|
2
|
-
export { PluginManager } from './manager
|
|
3
|
-
export { NoopSandboxRunner, SandboxNotAvailableError } from './noop-sandbox
|
|
4
|
-
export { adaptEntry } from './adapt-entry
|
|
5
|
-
export { createPluginContext } from './context
|
|
6
|
-
export { pluginMiddleware } from './middleware
|
|
1
|
+
export { definePlugin } from './define-plugin';
|
|
2
|
+
export { PluginManager } from './manager';
|
|
3
|
+
export { NoopSandboxRunner, SandboxNotAvailableError } from './noop-sandbox';
|
|
4
|
+
export { adaptEntry } from './adapt-entry';
|
|
5
|
+
export { createPluginContext } from './context';
|
|
6
|
+
export { pluginMiddleware } from './middleware';
|
|
7
7
|
export type { BlockInteraction, BlockResponse, FlarePluginDefinition, FlarePlugin, PluginDescriptor, PluginManifest, PluginContext, SandboxRunner, SandboxRunnerFactory, PluginCapability, SerializedRequest, RouteCtx, } from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type InvokeRouteOptions } from './routes
|
|
2
|
-
import type { ResolvedPlugin, BlockInteraction, BlockResponse } from './types
|
|
3
|
-
import type { FlareDb } from '../db/index
|
|
1
|
+
import { type InvokeRouteOptions } from './routes';
|
|
2
|
+
import type { ResolvedPlugin, BlockInteraction, BlockResponse } from './types';
|
|
3
|
+
import type { FlareDb } from '../db/index';
|
|
4
4
|
/**
|
|
5
5
|
* PluginManager is the central orchestrator for the FlareCMS plugin system.
|
|
6
6
|
* It coordinates hook execution, route handling, and plugin lifecycle.
|
package/dist/plugins/routes.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ResolvedPlugin, SerializedRequest } from './types
|
|
2
|
-
import type { FlareDb } from '../db/index
|
|
1
|
+
import type { ResolvedPlugin, SerializedRequest } from './types';
|
|
2
|
+
import type { FlareDb } from '../db/index';
|
|
3
3
|
export interface InvokeRouteOptions {
|
|
4
4
|
input: unknown;
|
|
5
5
|
request: SerializedRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkerEntrypoint } from 'cloudflare:workers';
|
|
2
|
-
import type { PluginBridgeInterface, PluginBridgeEnv } from './types
|
|
2
|
+
import type { PluginBridgeInterface, PluginBridgeEnv } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* PluginBridge is the RPC gateway that runs in the Host process.
|
|
5
5
|
* It exposes secure methods to the Sandboxed Plugin via Service Bindings.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SandboxRunner, SandboxedPlugin, PluginManifest, SandboxOptions } from '../types
|
|
2
|
-
import type { WorkerLoader } from './types
|
|
1
|
+
import type { SandboxRunner, SandboxedPlugin, PluginManifest, SandboxOptions } from '../types';
|
|
2
|
+
import type { WorkerLoader } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Sandbox Runner implementation for Cloudflare Workers.
|
|
5
5
|
* Uses the dynamic 'Worker Loader' API to spawn V8 isolates.
|
package/dist/style.css
CHANGED
|
@@ -5103,7 +5103,7 @@
|
|
|
5103
5103
|
font-style: normal;
|
|
5104
5104
|
font-display: swap;
|
|
5105
5105
|
font-weight: 100 900;
|
|
5106
|
-
src: url(
|
|
5106
|
+
src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-cyrillic-wght-normal.woff2) format('woff2-variations');
|
|
5107
5107
|
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
|
|
5108
5108
|
}
|
|
5109
5109
|
@font-face {
|
|
@@ -5111,7 +5111,7 @@
|
|
|
5111
5111
|
font-style: normal;
|
|
5112
5112
|
font-display: swap;
|
|
5113
5113
|
font-weight: 100 900;
|
|
5114
|
-
src: url(
|
|
5114
|
+
src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
|
|
5115
5115
|
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
5116
5116
|
}
|
|
5117
5117
|
@font-face {
|
|
@@ -5119,7 +5119,7 @@
|
|
|
5119
5119
|
font-style: normal;
|
|
5120
5120
|
font-display: swap;
|
|
5121
5121
|
font-weight: 100 900;
|
|
5122
|
-
src: url(
|
|
5122
|
+
src: url(https://cdn.jsdelivr.net/npm/@fontsource-variable/geist/files/geist-latin-wght-normal.woff2) format('woff2-variations');
|
|
5123
5123
|
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
5124
5124
|
}
|
|
5125
5125
|
:root {
|