@hubspot/local-dev-lib
Advanced tools
Comparing version 1.6.0 to 1.7.0
import { PublicApp, PublicAppDeveloperTestAccountInstallData } from '../types/Apps'; | ||
export declare function fetchPublicAppsForPortal(accountId: number): Promise<Array<PublicApp>>; | ||
export declare function fetchPublicAppDeveloperTestAccountInstallData(appId: number, accountId: number): Promise<PublicAppDeveloperTestAccountInstallData>; | ||
export declare function fetchPublicAppMetadata(appId: number, accountId: number): Promise<PublicApp>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fetchPublicAppDeveloperTestAccountInstallData = exports.fetchPublicAppsForPortal = void 0; | ||
exports.fetchPublicAppMetadata = exports.fetchPublicAppDeveloperTestAccountInstallData = exports.fetchPublicAppsForPortal = void 0; | ||
const http_1 = __importDefault(require("../http")); | ||
@@ -23,1 +23,7 @@ const APPS_DEV_API_PATH = 'apps-dev/external/public/v3'; | ||
exports.fetchPublicAppDeveloperTestAccountInstallData = fetchPublicAppDeveloperTestAccountInstallData; | ||
function fetchPublicAppMetadata(appId, accountId) { | ||
return http_1.default.get(accountId, { | ||
url: `${APPS_DEV_API_PATH}/${appId}/full`, | ||
}); | ||
} | ||
exports.fetchPublicAppMetadata = fetchPublicAppMetadata; |
{ | ||
"name": "@hubspot/local-dev-lib", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -44,7 +44,31 @@ export type PublicAppInstallationData = { | ||
scopeGroupIds: Array<number>; | ||
requiredScopeInfo?: Array<{ | ||
id: number; | ||
name: string; | ||
}>; | ||
additionalScopeGroupIds: Array<number>; | ||
additionalScopeInfo?: Array<{ | ||
id: number; | ||
name: string; | ||
}>; | ||
optionalScopeGroupIds: Array<number>; | ||
optionalScopeInfo?: Array<{ | ||
id: number; | ||
name: string; | ||
}>; | ||
projectId: number | null; | ||
sourceId: string | null; | ||
providerInfo?: { | ||
domain: string; | ||
isVerified: boolean; | ||
}; | ||
listingInfo?: { | ||
listingUrl: string; | ||
isCertified: boolean; | ||
isPublished: boolean; | ||
hasDraft: boolean; | ||
inReview: boolean; | ||
}; | ||
allowedExternalUrls: Array<string>; | ||
preventProjectMigrations?: boolean; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
411020
10303