@transcend-io/cli 4.115.3 → 4.116.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/README.md +16 -8
- package/build/ai/TranscendPromptManager.d.ts.map +1 -1
- package/build/ai/TranscendPromptManager.js +22 -0
- package/build/ai/TranscendPromptManager.js.map +1 -1
- package/build/cli-push.js +11 -3
- package/build/cli-push.js.map +1 -1
- package/build/codecs.d.ts +6 -0
- package/build/codecs.d.ts.map +1 -1
- package/build/codecs.js +2 -0
- package/build/codecs.js.map +1 -1
- package/build/graphql/fetchAllAttributes.d.ts +3 -17
- package/build/graphql/fetchAllAttributes.d.ts.map +1 -1
- package/build/graphql/fetchAllAttributes.js.map +1 -1
- package/build/graphql/gqls/attribute.d.ts +2 -0
- package/build/graphql/gqls/attribute.d.ts.map +1 -1
- package/build/graphql/gqls/attribute.js +22 -20
- package/build/graphql/gqls/attribute.js.map +1 -1
- package/build/graphql/makeGraphQLRequest.d.ts.map +1 -1
- package/build/graphql/makeGraphQLRequest.js +1 -0
- package/build/graphql/makeGraphQLRequest.js.map +1 -1
- package/build/graphql/pullTranscendConfiguration.d.ts.map +1 -1
- package/build/graphql/pullTranscendConfiguration.js +4 -6
- package/build/graphql/pullTranscendConfiguration.js.map +1 -1
- package/build/graphql/syncAttribute.d.ts +7 -2
- package/build/graphql/syncAttribute.d.ts.map +1 -1
- package/build/graphql/syncAttribute.js +40 -19
- package/build/graphql/syncAttribute.js.map +1 -1
- package/build/graphql/syncConfigurationToTranscend.d.ts +3 -1
- package/build/graphql/syncConfigurationToTranscend.d.ts.map +1 -1
- package/build/graphql/syncConfigurationToTranscend.js +5 -2
- package/build/graphql/syncConfigurationToTranscend.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/build/tmp-attribute-key.d.ts +0 -39
- package/build/tmp-attribute-key.d.ts.map +0 -1
- package/build/tmp-attribute-key.js +0 -43
- package/build/tmp-attribute-key.js.map +0 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Transcend Inc.",
|
|
3
3
|
"name": "@transcend-io/cli",
|
|
4
4
|
"description": "Small package containing useful typescript utilities.",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.116.0",
|
|
6
6
|
"homepage": "https://github.com/transcend-io/cli",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { AttributeSupportedResourceType } from '@transcend-io/privacy-types';
|
|
2
|
-
/**
|
|
3
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
4
|
-
*/
|
|
5
|
-
export declare const ATTRIBUTE_KEY_SINGULAR_TO_PLURAL: Record<AttributeSupportedResourceType, string>;
|
|
6
|
-
/**
|
|
7
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
8
|
-
*/
|
|
9
|
-
export declare const ATTRIBUTE_KEY_PLURAL_TO_SINGULAR: {
|
|
10
|
-
[x: string]: AttributeSupportedResourceType;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
14
|
-
*/
|
|
15
|
-
export declare const ATTRIBUTE_KEY_TO_ENABLED_ON: {
|
|
16
|
-
actionItem: string;
|
|
17
|
-
dataSilo: string;
|
|
18
|
-
subDataPoint: string;
|
|
19
|
-
airgapCookie: string;
|
|
20
|
-
airgapDataFlow: string;
|
|
21
|
-
request: string;
|
|
22
|
-
vendor: string;
|
|
23
|
-
businessEntity: string;
|
|
24
|
-
dataSubCategory: string;
|
|
25
|
-
processingPurposeSubCategory: string;
|
|
26
|
-
assessment: string;
|
|
27
|
-
assessmentTemplate: string;
|
|
28
|
-
prompt: string;
|
|
29
|
-
promptGroup: string;
|
|
30
|
-
promptRun: string;
|
|
31
|
-
promptTemplate: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
35
|
-
*/
|
|
36
|
-
export declare const ENABLED_ON_TO_ATTRIBUTE_KEY: {
|
|
37
|
-
[x: string]: AttributeSupportedResourceType;
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=tmp-attribute-key.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,CAmBP,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"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
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 = void 0;
|
|
7
|
-
const upperFirst_1 = __importDefault(require("lodash/upperFirst"));
|
|
8
|
-
const type_utils_1 = require("@transcend-io/type-utils");
|
|
9
|
-
const privacy_types_1 = require("@transcend-io/privacy-types");
|
|
10
|
-
/**
|
|
11
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
12
|
-
*/
|
|
13
|
-
exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL = {
|
|
14
|
-
[privacy_types_1.AttributeSupportedResourceType.ActionItem]: 'actionItems',
|
|
15
|
-
[privacy_types_1.AttributeSupportedResourceType.BusinessEntity]: 'businessEntities',
|
|
16
|
-
[privacy_types_1.AttributeSupportedResourceType.DataSilo]: 'dataSilos',
|
|
17
|
-
[privacy_types_1.AttributeSupportedResourceType.DataSubCategory]: 'dataSubCategories',
|
|
18
|
-
[privacy_types_1.AttributeSupportedResourceType.ProcessingPurposeSubCategory]: 'processingPurposeSubCategories',
|
|
19
|
-
[privacy_types_1.AttributeSupportedResourceType.Request]: 'requests',
|
|
20
|
-
[privacy_types_1.AttributeSupportedResourceType.SubDataPoint]: 'subDataPoints',
|
|
21
|
-
[privacy_types_1.AttributeSupportedResourceType.AirgapCookie]: 'airgapCookies',
|
|
22
|
-
[privacy_types_1.AttributeSupportedResourceType.AirgapDataFlow]: 'airgapDataFlows',
|
|
23
|
-
[privacy_types_1.AttributeSupportedResourceType.Vendor]: 'vendors',
|
|
24
|
-
[privacy_types_1.AttributeSupportedResourceType.Assessment]: 'assessment',
|
|
25
|
-
[privacy_types_1.AttributeSupportedResourceType.AssessmentTemplate]: 'assessmentTemplate',
|
|
26
|
-
[privacy_types_1.AttributeSupportedResourceType.Prompt]: 'prompt',
|
|
27
|
-
[privacy_types_1.AttributeSupportedResourceType.PromptGroup]: 'promptGroup',
|
|
28
|
-
[privacy_types_1.AttributeSupportedResourceType.PromptRun]: 'promptRun',
|
|
29
|
-
[privacy_types_1.AttributeSupportedResourceType.PromptTemplate]: 'promptTemplate',
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
33
|
-
*/
|
|
34
|
-
exports.ATTRIBUTE_KEY_PLURAL_TO_SINGULAR = (0, type_utils_1.invert)(exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL);
|
|
35
|
-
/**
|
|
36
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
37
|
-
*/
|
|
38
|
-
exports.ATTRIBUTE_KEY_TO_ENABLED_ON = (0, type_utils_1.apply)(exports.ATTRIBUTE_KEY_SINGULAR_TO_PLURAL, (pluralName) => `enabledOn${(0, upperFirst_1.default)(pluralName)}`);
|
|
39
|
-
/**
|
|
40
|
-
* TODO: https://transcend.height.app/T-23527 - re-design GraphQL schema to remove the need for this
|
|
41
|
-
*/
|
|
42
|
-
exports.ENABLED_ON_TO_ATTRIBUTE_KEY = (0, type_utils_1.invert)(exports.ATTRIBUTE_KEY_TO_ENABLED_ON);
|
|
43
|
-
//# sourceMappingURL=tmp-attribute-key.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,UAAU,CAAC,EAAE,aAAa;IAC1D,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;IAClD,CAAC,8CAA8B,CAAC,UAAU,CAAC,EAAE,YAAY;IACzD,CAAC,8CAA8B,CAAC,kBAAkB,CAAC,EAAE,oBAAoB;IACzE,CAAC,8CAA8B,CAAC,MAAM,CAAC,EAAE,QAAQ;IACjD,CAAC,8CAA8B,CAAC,WAAW,CAAC,EAAE,aAAa;IAC3D,CAAC,8CAA8B,CAAC,SAAS,CAAC,EAAE,WAAW;IACvD,CAAC,8CAA8B,CAAC,cAAc,CAAC,EAAE,gBAAgB;CAClE,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"}
|