@tailor-cms/ce-image-server 0.0.1 → 1.0.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/dist/index.cjs CHANGED
@@ -36,7 +36,8 @@ module.exports = __toCommonJS(src_exports);
36
36
  // ../manifest/dist/index.js
37
37
  var type = "CE_IMAGE";
38
38
  var initState = () => ({
39
- url: ""
39
+ url: "",
40
+ alt: ""
40
41
  });
41
42
  var mocks = {
42
43
  displayContexts: [
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import * as tce_manifest from 'tce-manifest';
2
- import { Element } from 'tce-manifest';
3
- export { initState, mocks, type } from 'tce-manifest';
1
+ import * as _tailor_cms_ce_image_manifest from '@tailor-cms/ce-image-manifest';
2
+ import { Element } from '@tailor-cms/ce-image-manifest';
3
+ export { initState, mocks, type } from '@tailor-cms/ce-image-manifest';
4
4
  import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
5
5
 
6
6
  declare function beforeSave(element: Element, services: HookServices): Element;
@@ -13,7 +13,7 @@ declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof
13
13
  declare const _default: {
14
14
  type: string;
15
15
  hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
16
- initState: tce_manifest.DataInitializer;
16
+ initState: _tailor_cms_ce_image_manifest.DataInitializer;
17
17
  beforeSave: typeof beforeSave;
18
18
  afterSave: typeof afterSave;
19
19
  afterLoaded: typeof afterLoaded;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import * as tce_manifest from 'tce-manifest';
2
- import { Element } from 'tce-manifest';
3
- export { initState, mocks, type } from 'tce-manifest';
1
+ import * as _tailor_cms_ce_image_manifest from '@tailor-cms/ce-image-manifest';
2
+ import { Element } from '@tailor-cms/ce-image-manifest';
3
+ export { initState, mocks, type } from '@tailor-cms/ce-image-manifest';
4
4
  import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
5
5
 
6
6
  declare function beforeSave(element: Element, services: HookServices): Element;
@@ -13,7 +13,7 @@ declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof
13
13
  declare const _default: {
14
14
  type: string;
15
15
  hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
16
- initState: tce_manifest.DataInitializer;
16
+ initState: _tailor_cms_ce_image_manifest.DataInitializer;
17
17
  beforeSave: typeof beforeSave;
18
18
  afterSave: typeof afterSave;
19
19
  afterLoaded: typeof afterLoaded;
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  // ../manifest/dist/index.js
2
2
  var type = "CE_IMAGE";
3
3
  var initState = () => ({
4
- url: ""
4
+ url: "",
5
+ alt: ""
5
6
  });
6
7
  var mocks = {
7
8
  displayContexts: [
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor image element server runtime",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "0.0.1",
6
+ "version": "1.0.0",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@tailor-cms/eslint-config": "0.0.2",
21
21
  "tsup": "^7.2.0",
22
22
  "typescript": "^5.1.6",
23
- "tce-manifest": "npm:@tailor-cms/ce-image-manifest@0.0.1"
23
+ "@tailor-cms/ce-image-manifest": "1.0.0"
24
24
  },
25
25
  "tsup": {
26
26
  "entry": [