@or-sdk/views 0.24.2 → 0.24.4-beta.445.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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.24.3](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/views@0.24.2...@or-sdk/views@0.24.3) (2022-06-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix watch, better build ([b3e8528](https://gitlab.com/onereach/platform/or-sdk-next/commit/b3e85287dae5b53b892fcefc48348094dac8a0cc))
12
+
13
+
14
+
6
15
  ### [0.24.2](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/views@0.24.1...@or-sdk/views@0.24.2) (2022-06-20)
7
16
 
8
17
  **Note:** Version bump only for package @or-sdk/views
@@ -16,3 +16,4 @@ export declare class Views implements Taggable<View> {
16
16
  addTags(source: View, tagNames: string[]): Promise<View>;
17
17
  removeTags(source: View, tagNames: string[]): Promise<View>;
18
18
  }
19
+ //# sourceMappingURL=Views.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Views.d.ts","sourceRoot":"","sources":["../../src/Views.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAA4B,6BAA6B,EAAyC,MAAM,kBAAkB,CAAC;AAClI,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAa5C,OAAO,EAAQ,QAAQ,EAA0C,MAAM,cAAc,CAAC;AAStF,qBAAa,KAAM,YAAW,QAAQ,CAAC,IAAI,CAAC;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAClC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAO;gBAShB,MAAM,EAAE,WAAW;IAiBzB,IAAI;IAaG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IA6BhC,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAoClC,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAUrC,UAAU,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAgCvC,UAAU,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCvC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAoClE,OAAO,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IA4BxD,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAqBzE"}
@@ -8,3 +8,4 @@ export declare const QUERY_UPDATE = "mutation update($entity: EntityType!, $data
8
8
  export declare const QUERY_UPDATE_CROSSACCOUNT = "mutation updateCrossAccount($entity: EntityType!, $data: UpdateInput!, $accountId: String!) {\n updateCrossAccount(entity: $entity, data: $data, accountId: $accountId) {\n ... on View {\n id\n cardIds\n linkId\n mirrorCardIds\n schemaVersion\n dateCreated\n dateModified\n data {\n data\n form {\n code\n data\n style\n template\n }\n presentation {\n code\n data\n style\n template\n }\n }\n linkType\n reference\n template {\n category\n description\n help\n icon\n iconUrl\n implicitly\n label\n publishedBy\n tags\n type\n version\n }\n }\n }\n}";
9
9
  export declare const QUERY_DELETE = "mutation deleteTemporarily($entity: EntityType!, $data: DeleteInput!) {\n deleteTemporarily(entity: $entity, data: $data) {\n ... on AsyncRequest {\n requestId\n }\n }\n}";
10
10
  export declare const ENTITY_NAME = "VIEW";
11
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,wlBA+BtB,CAAC;AAEF,eAAO,MAAM,uBAAuB,snBA+BnC,CAAC;AAEF,eAAO,MAAM,SAAS,iuBA0CpB,CAAC;AAEH,eAAO,MAAM,sBAAsB,qyBA0CjC,CAAC;AAEH,eAAO,MAAM,YAAY,uuBA0CvB,CAAC;AAEH,eAAO,MAAM,yBAAyB,2yBA0CpC,CAAC;AAEH,eAAO,MAAM,YAAY,uuBA0CvB,CAAC;AAEH,eAAO,MAAM,yBAAyB,2yBA0CpC,CAAC;AAEH,eAAO,MAAM,YAAY,4LAMvB,CAAC;AAEH,eAAO,MAAM,WAAW,SAAS,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { Views } from './Views';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,cAAc,SAAS,CAAC"}
@@ -87,3 +87,4 @@ export declare type View = {
87
87
  template: null;
88
88
  deletedDate?: string;
89
89
  };
90
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,oBAAY,WAAW,GAAG;IAIxB,KAAK,EAAE,KAAK,CAAC;IAKb,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,IAAI,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,EAAE,MA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AAkB,CAAC,EAAE,MAAM,CAAC;YAC5B,iBAAiB,CAAC,EAAE;gBAClB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;gBACjB,IAAI,CAAC,EAAE,OAAO,CAAC;gBACf,YAAY,CAAC,EAAE,OAAO,CAAC;gBACvB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;gBAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;gBACjB,KAAK,CAAC,EAAE,MAAM,CAAC;aAChB,CAAC;YACF,8BAA8B,CAAC,EAAE,OAAO,CAAC;YACzC,YAAY,CAAC,EAAE;gBACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;aACxB,CAAC;SACH,CAAC;QACF,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,CAAC,EAAE;gBACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;aACxB,CAAC;YACF,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;QACF,YAAY,EAAE;YACZ,IAAI,EAAE,MAAM,CAAC;YACb,IAAI,CAAC,EAAE;gBACL,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;aACxB,CAAC;YACF,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,CAAC;IACF,QAAQ,EAAE,IAAI,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { View } from '../types';
2
2
  declare function addTagIds(source: View, tagIds: string[]): View;
3
3
  export default addTagIds;
4
+ //# sourceMappingURL=addTagsIds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addTagsIds.d.ts","sourceRoot":"","sources":["../../../src/utils/addTagsIds.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACL,MAAM,UAAU,CAAC;AAElB,iBAAS,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAQvD;AAED,eAAe,SAAS,CAAC"}
@@ -4,3 +4,4 @@ declare function filterTagIds(source: View, tagIdsToFilter: string[]): {
4
4
  existingIds: string[];
5
5
  };
6
6
  export default filterTagIds;
7
+ //# sourceMappingURL=filterTagIds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filterTagIds.d.ts","sourceRoot":"","sources":["../../../src/utils/filterTagIds.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACL,MAAM,UAAU,CAAC;AAElB,iBAAS,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG;IAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAC;CAAE,CAoB1G;AAED,eAAe,YAAY,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { default as filterTagIds } from './filterTagIds';
2
2
  export { default as addTagsIds } from './addTagsIds';
3
3
  export { default as removeTagIds } from './removeTagIds';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { View } from '../types';
2
2
  declare function removeTagIds(source: View, tagIds: string[]): View;
3
3
  export default removeTagIds;
4
+ //# sourceMappingURL=removeTagIds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeTagIds.d.ts","sourceRoot":"","sources":["../../../src/utils/removeTagIds.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACL,MAAM,UAAU,CAAC;AAElB,iBAAS,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAQ1D;AAED,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,20 +1,25 @@
1
1
  {
2
- "version": "0.24.2",
3
2
  "name": "@or-sdk/views",
3
+ "version": "0.24.4-beta.445.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "scripts": {
8
- "build": "npm run clean && concurrently \"npm run build:cjs\" \"npm run build:esm\" \"npm run build:types\"",
9
- "build:watch": "concurrently -r --hide 1,2 \"npm run build:watch:cjs\" \"npm run build:watch:esm\" \"npm run build:watch:types\"",
8
+ "build": "npm run clean && npm run build:esm && npm run build:cjs",
10
9
  "build:cjs": "tsc --project tsconfig.json",
11
- "build:watch:cjs": "tsc --project tsconfig.json -w",
12
10
  "build:esm": "tsc --project tsconfig.esm.json",
13
- "build:watch:esm": "tsc --project tsconfig.esm.json -w",
14
11
  "build:types": "tsc --project tsconfig.types.json",
12
+ "build:watch": "concurrently -r --hide 1,2 \"npm run build:watch:cjs\" \"npm run build:watch:esm\" \"npm run build:watch:types\"",
13
+ "build:watch:cjs": "tsc --project tsconfig.json -w",
14
+ "build:watch:esm": "tsc --project tsconfig.esm.json -w",
15
15
  "build:watch:types": "tsc --project tsconfig.types.json -w",
16
16
  "clean": "rm -rf ./dist",
17
- "dev": "tsc --project tsconfig.dev.json -w"
17
+ "dev": "npm run build:watch:esm"
18
+ },
19
+ "dependencies": {
20
+ "@or-sdk/base": "^0.25.2-beta.445.0",
21
+ "@or-sdk/data-hub": "^0.23.11-beta.445.0",
22
+ "@or-sdk/tags": "^0.24.4-beta.445.0"
18
23
  },
19
24
  "devDependencies": {
20
25
  "concurrently": "^6.4.0",
@@ -22,11 +27,5 @@
22
27
  },
23
28
  "publishConfig": {
24
29
  "access": "public"
25
- },
26
- "dependencies": {
27
- "@or-sdk/base": "^0.25.0",
28
- "@or-sdk/data-hub": "^0.23.9",
29
- "@or-sdk/tags": "^0.24.2"
30
- },
31
- "gitHead": "a9bf0b2923fd377bfce8b298eaf823ad0c9f8160"
30
+ }
32
31
  }
package/tsconfig.dev.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "extends": "./tsconfig.esm.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types",
4
+ "declarationDir": "./dist/types",
5
5
  "rootDir": "./src",
6
- "declaration": true,
6
+ "declaration": true
7
7
  }
8
8
  }
package/tsconfig.esm.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "outDir": "./dist/esm",
5
+ "declarationDir": "./dist/types",
4
6
  "module": "ES6",
5
7
  "target": "es6",
6
- "outDir": "./dist/esm/",
7
- "rootDir": "./src"
8
+ "rootDir": "./src",
9
+ "declaration": true,
10
+ "declarationMap": true
8
11
  }
9
- }
12
+ }
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types/",
4
+ "outDir": "./dist/types",
5
5
  "rootDir": "./src",
6
6
  "declaration": true,
7
+ "declarationMap": true,
7
8
  "emitDeclarationOnly": true
8
9
  }
9
10
  }