@jhb.software/payload-alt-text-plugin 0.9.0 → 0.9.1
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/exports/server.d.ts +6 -0
- package/dist/exports/server.js +6 -1
- package/dist/exports/server.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/exports/server.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
export { AltTextHealthWidget } from '../components/AltTextHealthWidget.js';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Import `getAltTextHealth` from the package root
|
|
4
|
+
* (`@jhb.software/payload-alt-text-plugin`) instead. This entrypoint re-exports
|
|
5
|
+
* the admin widget, which pulls in `@payloadcms/ui`/`.scss`, so importing the
|
|
6
|
+
* util from here breaks `payload generate:*` and any non-bundler consumer.
|
|
7
|
+
*/
|
|
2
8
|
export { getAltTextHealth } from '../utilities/altTextHealth.js';
|
|
3
9
|
export type { AltTextHealthError, AltTextHealthErrorCode, AltTextHealthScan, AltTextHealthScanCollection, } from '../utilities/altTextHealth.js';
|
package/dist/exports/server.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export { AltTextHealthWidget } from '../components/AltTextHealthWidget.js';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Import `getAltTextHealth` from the package root
|
|
4
|
+
* (`@jhb.software/payload-alt-text-plugin`) instead. This entrypoint re-exports
|
|
5
|
+
* the admin widget, which pulls in `@payloadcms/ui`/`.scss`, so importing the
|
|
6
|
+
* util from here breaks `payload generate:*` and any non-bundler consumer.
|
|
7
|
+
*/ export { getAltTextHealth } from '../utilities/altTextHealth.js';
|
|
3
8
|
|
|
4
9
|
//# sourceMappingURL=server.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/server.ts"],"sourcesContent":["export { AltTextHealthWidget } from '../components/AltTextHealthWidget.js'\nexport { getAltTextHealth } from '../utilities/altTextHealth.js'\nexport type {\n AltTextHealthError,\n AltTextHealthErrorCode,\n AltTextHealthScan,\n AltTextHealthScanCollection,\n} from '../utilities/altTextHealth.js'\n"],"names":["AltTextHealthWidget","getAltTextHealth"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,uCAAsC;
|
|
1
|
+
{"version":3,"sources":["../../src/exports/server.ts"],"sourcesContent":["export { AltTextHealthWidget } from '../components/AltTextHealthWidget.js'\n\n/**\n * @deprecated Import `getAltTextHealth` from the package root\n * (`@jhb.software/payload-alt-text-plugin`) instead. This entrypoint re-exports\n * the admin widget, which pulls in `@payloadcms/ui`/`.scss`, so importing the\n * util from here breaks `payload generate:*` and any non-bundler consumer.\n */\nexport { getAltTextHealth } from '../utilities/altTextHealth.js'\nexport type {\n AltTextHealthError,\n AltTextHealthErrorCode,\n AltTextHealthScan,\n AltTextHealthScanCollection,\n} from '../utilities/altTextHealth.js'\n"],"names":["AltTextHealthWidget","getAltTextHealth"],"mappings":"AAAA,SAASA,mBAAmB,QAAQ,uCAAsC;AAE1E;;;;;CAKC,GACD,SAASC,gBAAgB,QAAQ,gCAA+B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,6 @@ export { payloadAltTextPlugin } from './plugin.js';
|
|
|
2
2
|
export { openAIResolver } from './resolvers/openAI.js';
|
|
3
3
|
export * from './resolvers/types.js';
|
|
4
4
|
export type { AltTextCollectionConfig, IncomingAltTextPluginConfig as AltTextPluginConfig, } from './types/AltTextPluginConfig.js';
|
|
5
|
+
export { getAltTextHealth } from './utilities/altTextHealth.js';
|
|
6
|
+
export type { AltTextHealthError, AltTextHealthErrorCode, AltTextHealthScan, AltTextHealthScanCollection, } from './utilities/altTextHealth.js';
|
|
5
7
|
export { matchesMimeType, validateAltText } from './utilities/mimeTypes.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { payloadAltTextPlugin } from './plugin.js';
|
|
2
2
|
export { openAIResolver } from './resolvers/openAI.js';
|
|
3
3
|
export * from './resolvers/types.js';
|
|
4
|
+
export { getAltTextHealth } from './utilities/altTextHealth.js';
|
|
4
5
|
export { matchesMimeType, validateAltText } from './utilities/mimeTypes.js';
|
|
5
6
|
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { payloadAltTextPlugin } from './plugin.js'\nexport { openAIResolver } from './resolvers/openAI.js'\nexport * from './resolvers/types.js'\nexport type {\n AltTextCollectionConfig,\n IncomingAltTextPluginConfig as AltTextPluginConfig,\n} from './types/AltTextPluginConfig.js'\nexport { matchesMimeType, validateAltText } from './utilities/mimeTypes.js'\n"],"names":["payloadAltTextPlugin","openAIResolver","matchesMimeType","validateAltText"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,cAAa;AAClD,SAASC,cAAc,QAAQ,wBAAuB;AACtD,cAAc,uBAAsB;AAKpC,SAASC,eAAe,EAAEC,eAAe,QAAQ,2BAA0B"}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { payloadAltTextPlugin } from './plugin.js'\nexport { openAIResolver } from './resolvers/openAI.js'\nexport * from './resolvers/types.js'\nexport type {\n AltTextCollectionConfig,\n IncomingAltTextPluginConfig as AltTextPluginConfig,\n} from './types/AltTextPluginConfig.js'\nexport { getAltTextHealth } from './utilities/altTextHealth.js'\nexport type {\n AltTextHealthError,\n AltTextHealthErrorCode,\n AltTextHealthScan,\n AltTextHealthScanCollection,\n} from './utilities/altTextHealth.js'\nexport { matchesMimeType, validateAltText } from './utilities/mimeTypes.js'\n"],"names":["payloadAltTextPlugin","openAIResolver","getAltTextHealth","matchesMimeType","validateAltText"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,cAAa;AAClD,SAASC,cAAc,QAAQ,wBAAuB;AACtD,cAAc,uBAAsB;AAKpC,SAASC,gBAAgB,QAAQ,+BAA8B;AAO/D,SAASC,eAAe,EAAEC,eAAe,QAAQ,2BAA0B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jhb.software/payload-alt-text-plugin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "A Payload CMS plugin that adds AI-powered alt text generation for images.",
|
|
5
5
|
"bugs": "https://github.com/jhb-software/payload-plugins/issues",
|
|
6
6
|
"repository": {
|