contensis-cli 1.5.1-beta.2 → 1.5.1-beta.21

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/src/util/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ContentType, Component } from 'contensis-core-api';
1
2
  import { ICreateTag, ICreateTagGroup } from 'contensis-management-api';
2
3
  import mergeWith from 'lodash/mergeWith';
3
4
  import { Logger } from './logger';
@@ -40,16 +41,3 @@ export const Logging = async (language = 'en-GB') => {
40
41
  Log: Logger,
41
42
  };
42
43
  };
43
-
44
- export const splitTagsAndGroups = (
45
- tagsAndGroups: unknown[] = [],
46
- tags: ICreateTag[] = [],
47
- groups: ICreateTagGroup[] = []
48
- ) => {
49
- for (const item of tagsAndGroups) {
50
- if (isObject(item) && 'id' in item) {
51
- if ('name' in item) groups.push(item as ICreateTagGroup);
52
- else tags.push(item as ICreateTag);
53
- }
54
- }
55
- };
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const LIB_VERSION = "1.5.1-beta.2";
1
+ export const LIB_VERSION = "1.5.1-beta.21";