From d0834a1f0b1c14bbb6b91143b0c4c56ef0c87a3f Mon Sep 17 00:00:00 2001 From: Shafeeq PP Date: Wed, 27 Sep 2023 18:39:44 +0530 Subject: [PATCH 1/2] corrected type path --- packages/contentstack-import/src/utils/asset-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/contentstack-import/src/utils/asset-helper.ts b/packages/contentstack-import/src/utils/asset-helper.ts index 7e7cc9e257..ceaead0bed 100644 --- a/packages/contentstack-import/src/utils/asset-helper.ts +++ b/packages/contentstack-import/src/utils/asset-helper.ts @@ -2,7 +2,7 @@ import Bluebird from 'bluebird'; import * as url from 'url'; import * as path from 'path'; import { ContentstackClient, managementSDKClient } from '@contentstack/cli-utilities'; -import { ImportConfig } from 'src/types'; +import { ImportConfig } from '../types'; const debug = require('debug')('util:requests'); let _ = require('lodash'); let { marked } = require('marked'); From 601f7fd45b4e472454e99848dde320184eb55b16 Mon Sep 17 00:00:00 2001 From: Shafeeq PP Date: Thu, 28 Sep 2023 12:41:30 +0530 Subject: [PATCH 2/2] removed tokens --- packages/contentstack-launch/test/unit/mock/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/contentstack-launch/test/unit/mock/index.ts b/packages/contentstack-launch/test/unit/mock/index.ts index 48f5dbf114..db8d3818e6 100644 --- a/packages/contentstack-launch/test/unit/mock/index.ts +++ b/packages/contentstack-launch/test/unit/mock/index.ts @@ -1,5 +1,5 @@ export const testFlags = { - noProjOrg: { uid: 'bltad5c549697d10039' }, + noProjOrg: { uid: 'bltxxxxxxxxxxxxxx' }, invalidOrg: { name: 'Invalid Org', uid: 'abcd' }, invalidProj: 'abcd', }; @@ -29,7 +29,7 @@ export const logsMockData = { export const githubAdapterMockData = { userconnection: { __typename: 'UserConnection', - userUid: 'blt161e02c9fffa78f6', + userUid: 'bltxxxxxxxxxxxxxx', provider: 'GitHub', }, adapterConstructorInputs: { @@ -43,7 +43,7 @@ export const githubAdapterMockData = { host: 'api.contentstack.io', config: '/Users/shrutika.almeida/Downloads/React-Starter/.cs-launch.json', projectBasePath: '/Users/shrutika.almeida/Downloads/React-Starter', - authtoken: '***REMOVED***', + authtoken: 'bltxxxxxxxxxxxxxx', authType: 'BASIC', authorization: undefined, logsApiBaseUrl: 'https://launch-api.contentstack.com/logs/graphql',