@sealpixel/plugins 1.0.0-rc.0
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 +8 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +46 -0
- package/dist/index.js.map +1 -0
- package/package.json +55 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# @sealpixel/plugins
|
|
2
|
+
|
|
3
|
+
All first-party Sealpixel plugins re-exported, plus two arrays:
|
|
4
|
+
|
|
5
|
+
- `defaultPlugins` — what a plain editor starts with.
|
|
6
|
+
- `allPlugins` — every first-party plugin, including sticker and watermark, which are published and supported but outside the default set.
|
|
7
|
+
|
|
8
|
+
A client and a server must register the same set.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AnyPlugin } from '@sealpixel/core';
|
|
2
|
+
import { annotatePlugin } from '@sealpixel/plugin-annotate';
|
|
3
|
+
import { cropPlugin } from '@sealpixel/plugin-crop';
|
|
4
|
+
import { fillPlugin } from '@sealpixel/plugin-fill';
|
|
5
|
+
import { filterPlugin } from '@sealpixel/plugin-filter';
|
|
6
|
+
import { finetunePlugin } from '@sealpixel/plugin-finetune';
|
|
7
|
+
import { redactPlugin } from '@sealpixel/plugin-redact';
|
|
8
|
+
import { resizePlugin } from '@sealpixel/plugin-resize';
|
|
9
|
+
export * from '@sealpixel/plugin-annotate';
|
|
10
|
+
export * from '@sealpixel/plugin-crop';
|
|
11
|
+
export * from '@sealpixel/plugin-fill';
|
|
12
|
+
export * from '@sealpixel/plugin-filter';
|
|
13
|
+
export * from '@sealpixel/plugin-finetune';
|
|
14
|
+
export * from '@sealpixel/plugin-frame';
|
|
15
|
+
export * from '@sealpixel/plugin-redact';
|
|
16
|
+
export * from '@sealpixel/plugin-resize';
|
|
17
|
+
export * from '@sealpixel/plugin-sticker';
|
|
18
|
+
export * from '@sealpixel/plugin-watermark';
|
|
19
|
+
export { annotatePlugin, cropPlugin, fillPlugin, filterPlugin, finetunePlugin, redactPlugin, resizePlugin, };
|
|
20
|
+
/**
|
|
21
|
+
* The plugins a plain editor starts with.
|
|
22
|
+
*
|
|
23
|
+
* Sticker and watermark are published and supported but not in this set: add
|
|
24
|
+
* `stickerPlugin` or `watermarkPlugin` to `plugins` to switch them on. The
|
|
25
|
+
* array order does not matter, the registry sorts by each plugin's declared
|
|
26
|
+
* stage, and the default UI supplies the matching tool.
|
|
27
|
+
*/
|
|
28
|
+
export declare const defaultPlugins: readonly AnyPlugin[];
|
|
29
|
+
/**
|
|
30
|
+
* Every first-party plugin, including the ones outside `defaultPlugins`. A
|
|
31
|
+
* client and a server must register the same set, so this is the list to reach
|
|
32
|
+
* for when a host wants all of them rather than the starting set.
|
|
33
|
+
*/
|
|
34
|
+
export declare const allPlugins: readonly AnyPlugin[];
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAK5C,OAAO,EACL,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,YAAY,GACb,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,SAAS,EAS9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAAwD,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { annotatePlugin } from '@sealpixel/plugin-annotate';
|
|
2
|
+
import { cropPlugin } from '@sealpixel/plugin-crop';
|
|
3
|
+
import { fillPlugin } from '@sealpixel/plugin-fill';
|
|
4
|
+
import { filterPlugin } from '@sealpixel/plugin-filter';
|
|
5
|
+
import { finetunePlugin } from '@sealpixel/plugin-finetune';
|
|
6
|
+
import { framePlugin } from '@sealpixel/plugin-frame';
|
|
7
|
+
import { redactPlugin } from '@sealpixel/plugin-redact';
|
|
8
|
+
import { resizePlugin } from '@sealpixel/plugin-resize';
|
|
9
|
+
export * from '@sealpixel/plugin-annotate';
|
|
10
|
+
export * from '@sealpixel/plugin-crop';
|
|
11
|
+
export * from '@sealpixel/plugin-fill';
|
|
12
|
+
export * from '@sealpixel/plugin-filter';
|
|
13
|
+
export * from '@sealpixel/plugin-finetune';
|
|
14
|
+
export * from '@sealpixel/plugin-frame';
|
|
15
|
+
export * from '@sealpixel/plugin-redact';
|
|
16
|
+
export * from '@sealpixel/plugin-resize';
|
|
17
|
+
export * from '@sealpixel/plugin-sticker';
|
|
18
|
+
export * from '@sealpixel/plugin-watermark';
|
|
19
|
+
import { stickerPlugin } from '@sealpixel/plugin-sticker';
|
|
20
|
+
import { watermarkPlugin } from '@sealpixel/plugin-watermark';
|
|
21
|
+
export { annotatePlugin, cropPlugin, fillPlugin, filterPlugin, finetunePlugin, redactPlugin, resizePlugin, };
|
|
22
|
+
/**
|
|
23
|
+
* The plugins a plain editor starts with.
|
|
24
|
+
*
|
|
25
|
+
* Sticker and watermark are published and supported but not in this set: add
|
|
26
|
+
* `stickerPlugin` or `watermarkPlugin` to `plugins` to switch them on. The
|
|
27
|
+
* array order does not matter, the registry sorts by each plugin's declared
|
|
28
|
+
* stage, and the default UI supplies the matching tool.
|
|
29
|
+
*/
|
|
30
|
+
export const defaultPlugins = [
|
|
31
|
+
finetunePlugin,
|
|
32
|
+
filterPlugin,
|
|
33
|
+
redactPlugin,
|
|
34
|
+
annotatePlugin,
|
|
35
|
+
cropPlugin,
|
|
36
|
+
fillPlugin,
|
|
37
|
+
framePlugin,
|
|
38
|
+
resizePlugin,
|
|
39
|
+
];
|
|
40
|
+
/**
|
|
41
|
+
* Every first-party plugin, including the ones outside `defaultPlugins`. A
|
|
42
|
+
* client and a server must register the same set, so this is the list to reach
|
|
43
|
+
* for when a host wants all of them rather than the starting set.
|
|
44
|
+
*/
|
|
45
|
+
export const allPlugins = [...defaultPlugins, stickerPlugin, watermarkPlugin];
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EACL,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,YAAY,GACb,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB;IAClD,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,cAAc;IACd,UAAU;IACV,UAAU;IACV,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAyB,CAAC,GAAG,cAAc,EAAE,aAAa,EAAE,eAAe,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sealpixel/plugins",
|
|
3
|
+
"version": "1.0.0-rc.0",
|
|
4
|
+
"description": "All first-party Sealpixel plugins, with `defaultPlugins` and `allPlugins`.",
|
|
5
|
+
"license": "BUSL-1.1",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/9feet/sealpixel.git",
|
|
9
|
+
"directory": "packages/plugins/preset"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://docs.sealpixel.dev",
|
|
12
|
+
"bugs": "https://github.com/9feet/sealpixel/issues",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"files": [
|
|
16
|
+
"dist",
|
|
17
|
+
"README.md"
|
|
18
|
+
],
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc -p tsconfig.build.json",
|
|
28
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
29
|
+
"test": "vitest run"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@sealpixel/plugin-annotate": "workspace:*",
|
|
33
|
+
"@sealpixel/plugin-crop": "workspace:*",
|
|
34
|
+
"@sealpixel/plugin-fill": "workspace:*",
|
|
35
|
+
"@sealpixel/plugin-filter": "workspace:*",
|
|
36
|
+
"@sealpixel/plugin-finetune": "workspace:*",
|
|
37
|
+
"@sealpixel/plugin-frame": "workspace:*",
|
|
38
|
+
"@sealpixel/plugin-redact": "workspace:*",
|
|
39
|
+
"@sealpixel/plugin-resize": "workspace:*",
|
|
40
|
+
"@sealpixel/plugin-sticker": "workspace:*",
|
|
41
|
+
"@sealpixel/plugin-watermark": "workspace:*"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@sealpixel/core": "workspace:*",
|
|
45
|
+
"zod": "^4.0.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@sealpixel/config": "workspace:*",
|
|
49
|
+
"@sealpixel/core": "workspace:*",
|
|
50
|
+
"@types/node": "^24.0.0",
|
|
51
|
+
"typescript": "^5.9.0",
|
|
52
|
+
"zod": "^4.0.0",
|
|
53
|
+
"vitest": "^4.0.0"
|
|
54
|
+
}
|
|
55
|
+
}
|