@transcend-io/cli 4.61.0 → 4.62.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/build/codecs.d.ts +0 -2
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +1 -2
- package/build/codecs.js.map +1 -1
- package/build/graphql/gqls/attribute.d.ts.map +1 -1
- package/build/graphql/gqls/attribute.js +1 -2
- package/build/graphql/gqls/attribute.js.map +1 -1
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js.map +1 -1
- package/build/graphql/setResourceAttributes.d.ts +2 -2
- package/build/graphql/setResourceAttributes.d.ts.map +1 -1
- package/build/graphql/syncAttribute.d.ts.map +1 -1
- package/build/graphql/syncAttribute.js +2 -1
- package/build/graphql/syncAttribute.js.map +1 -1
- package/build/tmp-attribute-key.d.ts +3 -23
- package/build/tmp-attribute-key.d.ts.map +1 -1
- package/build/tmp-attribute-key.js +10 -20
- package/build/tmp-attribute-key.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
import { AttributeSupportedResourceType } from '@transcend-io/privacy-types';
|
|
2
|
-
/**
|
|
3
|
-
* Resources that can be assigned attributes
|
|
4
|
-
* TODO: https://transcend.height.app/T-23523 - remove this enum after ROPA view is deprecated
|
|
5
|
-
*/
|
|
6
|
-
export declare const AttributeResourceType: {
|
|
7
|
-
/** Ropa */
|
|
8
|
-
ROPA: "ROPA";
|
|
9
|
-
DataSilo: AttributeSupportedResourceType.DataSilo;
|
|
10
|
-
SubDataPoint: AttributeSupportedResourceType.SubDataPoint;
|
|
11
|
-
AirgapCookie: AttributeSupportedResourceType.AirgapCookie;
|
|
12
|
-
AirgapDataFlow: AttributeSupportedResourceType.AirgapDataFlow;
|
|
13
|
-
Request: AttributeSupportedResourceType.Request;
|
|
14
|
-
Vendor: AttributeSupportedResourceType.Vendor;
|
|
15
|
-
BusinessEntity: AttributeSupportedResourceType.BusinessEntity;
|
|
16
|
-
DataSubCategory: AttributeSupportedResourceType.DataSubCategory;
|
|
17
|
-
ProcessingPurposeSubCategory: AttributeSupportedResourceType.ProcessingPurposeSubCategory;
|
|
18
|
-
};
|
|
19
|
-
/** Type override */
|
|
20
|
-
export type AttributeResourceType = typeof AttributeResourceType[keyof typeof AttributeResourceType];
|
|
21
2
|
/**
|
|
22
3
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
23
4
|
*/
|
|
24
|
-
export declare const ATTRIBUTE_KEY_SINGULAR_TO_PLURAL: Record<
|
|
5
|
+
export declare const ATTRIBUTE_KEY_SINGULAR_TO_PLURAL: Record<AttributeSupportedResourceType, string>;
|
|
25
6
|
/**
|
|
26
7
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
27
8
|
*/
|
|
28
9
|
export declare const ATTRIBUTE_KEY_PLURAL_TO_SINGULAR: {
|
|
29
|
-
[x: string]: AttributeSupportedResourceType
|
|
10
|
+
[x: string]: AttributeSupportedResourceType;
|
|
30
11
|
};
|
|
31
12
|
/**
|
|
32
13
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
@@ -41,12 +22,11 @@ export declare const ATTRIBUTE_KEY_TO_ENABLED_ON: {
|
|
|
41
22
|
businessEntity: string;
|
|
42
23
|
dataSubCategory: string;
|
|
43
24
|
processingPurposeSubCategory: string;
|
|
44
|
-
ROPA: string;
|
|
45
25
|
};
|
|
46
26
|
/**
|
|
47
27
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
48
28
|
*/
|
|
49
29
|
export declare const ENABLED_ON_TO_ATTRIBUTE_KEY: {
|
|
50
|
-
[x: string]: AttributeSupportedResourceType
|
|
30
|
+
[x: string]: AttributeSupportedResourceType;
|
|
51
31
|
};
|
|
52
32
|
//# sourceMappingURL=tmp-attribute-key.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmp-attribute-key.d.ts","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAE7E
|
|
1
|
+
{"version":3,"file":"tmp-attribute-key.d.ts","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,gCAAgC,EAAE,MAAM,CACnD,8BAA8B,EAC9B,MAAM,CAYP,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gCAAgC;;CAE5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;CAGvC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;CAAsC,CAAC"}
|
|
@@ -3,33 +3,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ENABLED_ON_TO_ATTRIBUTE_KEY = exports.ATTRIBUTE_KEY_TO_ENABLED_ON = exports.ATTRIBUTE_KEY_PLURAL_TO_SINGULAR = exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL =
|
|
6
|
+
exports.ENABLED_ON_TO_ATTRIBUTE_KEY = exports.ATTRIBUTE_KEY_TO_ENABLED_ON = exports.ATTRIBUTE_KEY_PLURAL_TO_SINGULAR = exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = void 0;
|
|
7
7
|
const upperFirst_1 = __importDefault(require("lodash/upperFirst"));
|
|
8
8
|
const type_utils_1 = require("@transcend-io/type-utils");
|
|
9
9
|
const privacy_types_1 = require("@transcend-io/privacy-types");
|
|
10
|
-
/**
|
|
11
|
-
* Resources that can be assigned attributes
|
|
12
|
-
* TODO: https://transcend.height.app/T-23523 - remove this enum after ROPA view is deprecated
|
|
13
|
-
*/
|
|
14
|
-
exports.AttributeResourceType = (0, type_utils_1.makeEnum)({
|
|
15
|
-
...privacy_types_1.AttributeSupportedResourceType,
|
|
16
|
-
/** Ropa */
|
|
17
|
-
ROPA: 'ROPA',
|
|
18
|
-
});
|
|
19
10
|
/**
|
|
20
11
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
21
12
|
*/
|
|
22
13
|
exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = {
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[exports.AttributeResourceType.Vendor]: 'vendors',
|
|
14
|
+
[privacy_types_1.AttributeSupportedResourceType.BusinessEntity]: 'businessEntities',
|
|
15
|
+
[privacy_types_1.AttributeSupportedResourceType.DataSilo]: 'dataSilos',
|
|
16
|
+
[privacy_types_1.AttributeSupportedResourceType.DataSubCategory]: 'dataSubCategories',
|
|
17
|
+
[privacy_types_1.AttributeSupportedResourceType.ProcessingPurposeSubCategory]: 'processingPurposeSubCategories',
|
|
18
|
+
[privacy_types_1.AttributeSupportedResourceType.Request]: 'requests',
|
|
19
|
+
[privacy_types_1.AttributeSupportedResourceType.SubDataPoint]: 'subDataPoints',
|
|
20
|
+
[privacy_types_1.AttributeSupportedResourceType.AirgapCookie]: 'airgapCookies',
|
|
21
|
+
[privacy_types_1.AttributeSupportedResourceType.AirgapDataFlow]: 'airgapDataFlows',
|
|
22
|
+
[privacy_types_1.AttributeSupportedResourceType.Vendor]: 'vendors',
|
|
33
23
|
};
|
|
34
24
|
/**
|
|
35
25
|
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tmp-attribute-key.js","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"tmp-attribute-key.js","sourceRoot":"","sources":["../src/tmp-attribute-key.ts"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,yDAAyD;AACzD,+DAA6E;AAE7E;;GAEG;AACU,QAAA,gCAAgC,GAGzC;IACF,CAAC,8CAA8B,CAAC,cAAc,CAAC,EAAE,kBAAkB;IACnE,CAAC,8CAA8B,CAAC,QAAQ,CAAC,EAAE,WAAW;IACtD,CAAC,8CAA8B,CAAC,eAAe,CAAC,EAAE,mBAAmB;IACrE,CAAC,8CAA8B,CAAC,4BAA4B,CAAC,EAC3D,gCAAgC;IAClC,CAAC,8CAA8B,CAAC,OAAO,CAAC,EAAE,UAAU;IACpD,CAAC,8CAA8B,CAAC,YAAY,CAAC,EAAE,eAAe;IAC9D,CAAC,8CAA8B,CAAC,YAAY,CAAC,EAAE,eAAe;IAC9D,CAAC,8CAA8B,CAAC,cAAc,CAAC,EAAE,iBAAiB;IAClE,CAAC,8CAA8B,CAAC,MAAM,CAAC,EAAE,SAAS;CACnD,CAAC;AAEF;;GAEG;AACU,QAAA,gCAAgC,GAAG,IAAA,mBAAM,EACpD,wCAAgC,CACjC,CAAC;AAEF;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,kBAAK,EAC9C,wCAAgC,EAChC,CAAC,UAAU,EAAE,EAAE,CAAC,YAAY,IAAA,oBAAU,EAAC,UAAU,CAAC,EAAE,CACrD,CAAC;AAEF;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAA,mBAAM,EAAC,mCAA2B,CAAC,CAAC"}
|