@tappify/extension-sdk 2.1.0-beta.2 → 2.1.0-beta.4
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/dist/{chunk-QJMZRV7A.mjs → chunk-6FASZFC4.mjs} +19 -7
- package/dist/chunk-6FASZFC4.mjs.map +1 -0
- package/dist/{chunk-EB5XWQAU.cjs → chunk-6MP5DKLZ.cjs} +28 -16
- package/dist/chunk-6MP5DKLZ.cjs.map +1 -0
- package/dist/{chunk-BPCGXXMD.cjs → chunk-AYYJCRS4.cjs} +10 -10
- package/dist/{chunk-BPCGXXMD.cjs.map → chunk-AYYJCRS4.cjs.map} +1 -1
- package/dist/{chunk-KZ5NGFUP.mjs → chunk-CEFLOQD4.mjs} +2 -2
- package/dist/{chunk-7YKH4LZN.cjs → chunk-EV3KKP62.cjs} +17 -6
- package/dist/chunk-EV3KKP62.cjs.map +1 -0
- package/dist/{chunk-SGCYEEXD.mjs → chunk-IHLK4I7J.mjs} +17 -6
- package/dist/chunk-IHLK4I7J.mjs.map +1 -0
- package/dist/{chunk-A74HCO6T.cjs → chunk-TEIGGORZ.cjs} +3 -3
- package/dist/{chunk-A74HCO6T.cjs.map → chunk-TEIGGORZ.cjs.map} +1 -1
- package/dist/{chunk-SWG7CNTZ.mjs → chunk-WW2D3N2T.mjs} +3 -3
- package/dist/{client-DE-vMgdO.d.cts → client-BLnec4SD.d.cts} +1 -1
- package/dist/{client-BO3kavn0.d.ts → client-BRxKTo-L.d.ts} +1 -1
- package/dist/codegen.d.cts +14 -5
- package/dist/codegen.d.ts +14 -5
- package/dist/{constants-Bh759FUI.d.cts → constants-CvHbO3ia.d.cts} +14 -5
- package/dist/{constants-Bh759FUI.d.ts → constants-CvHbO3ia.d.ts} +14 -5
- package/dist/{context-mr8R5CNt.d.ts → context-BjhW0QWy.d.ts} +1 -1
- package/dist/{context-DI0EJCRD.d.cts → context-CsviWecX.d.cts} +1 -1
- package/dist/host.d.cts +4 -4
- package/dist/host.d.ts +4 -4
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/manifest.cjs +16 -16
- package/dist/manifest.d.cts +10 -4
- package/dist/manifest.d.ts +10 -4
- package/dist/manifest.mjs +1 -1
- package/dist/server.cjs +8 -8
- package/dist/server.d.cts +5 -5
- package/dist/server.d.ts +5 -5
- package/dist/server.mjs +3 -3
- package/dist/testing/index.cjs +8 -8
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.mjs +4 -4
- package/dist/{types-BdDaLnqs.d.cts → types-C5k8VwaA.d.cts} +1 -1
- package/dist/{types-uGHrRaOj.d.ts → types-DBpDxGlT.d.ts} +1 -1
- package/dist/ui.d.cts +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/vite-preview-bootstrap.d.cts +2 -2
- package/dist/vite-preview-bootstrap.d.ts +2 -2
- package/dist/vite-preview.cjs +7 -7
- package/dist/vite-preview.cjs.map +1 -1
- package/dist/vite-preview.d.cts +3 -3
- package/dist/vite-preview.d.ts +3 -3
- package/dist/vite-preview.mjs +4 -4
- package/dist/vite-preview.mjs.map +1 -1
- package/dist/vite.cjs +16 -5
- package/dist/vite.cjs.map +1 -1
- package/dist/vite.d.cts +14 -5
- package/dist/vite.d.ts +14 -5
- package/dist/vite.mjs +16 -5
- package/dist/vite.mjs.map +1 -1
- package/dist/{work-events-BlOVpK0k.d.ts → work-events-BYU25wmX.d.ts} +40 -8
- package/dist/{work-events-D97EoqvS.d.cts → work-events-CxFu-YZE.d.cts} +40 -8
- package/package.json +1 -1
- package/schema/extension-v2.json +75 -330
- package/dist/chunk-7YKH4LZN.cjs.map +0 -1
- package/dist/chunk-EB5XWQAU.cjs.map +0 -1
- package/dist/chunk-QJMZRV7A.mjs.map +0 -1
- package/dist/chunk-SGCYEEXD.mjs.map +0 -1
- /package/dist/{chunk-KZ5NGFUP.mjs.map → chunk-CEFLOQD4.mjs.map} +0 -0
- /package/dist/{chunk-SWG7CNTZ.mjs.map → chunk-WW2D3N2T.mjs.map} +0 -0
|
@@ -319,6 +319,12 @@ declare const SCOPES: readonly [{
|
|
|
319
319
|
readonly description: "Crash-free rate and issue counts";
|
|
320
320
|
readonly requiresSecurityReview: false;
|
|
321
321
|
readonly requiresJustification: false;
|
|
322
|
+
}, {
|
|
323
|
+
readonly key: "builds:read";
|
|
324
|
+
readonly label: "Read builds";
|
|
325
|
+
readonly description: "Build results: branch, commit, version, build number, duration and failure reason";
|
|
326
|
+
readonly requiresSecurityReview: false;
|
|
327
|
+
readonly requiresJustification: false;
|
|
322
328
|
}, {
|
|
323
329
|
readonly key: "revenue:read";
|
|
324
330
|
readonly label: "Read revenue";
|
|
@@ -412,7 +418,7 @@ declare const PAGES: readonly [{
|
|
|
412
418
|
readonly label: "Home";
|
|
413
419
|
readonly route: "/projects/:id/overview";
|
|
414
420
|
readonly slots: readonly ["kpi-row", "insights", "sidebar"];
|
|
415
|
-
readonly charts: readonly ["installs-activity"];
|
|
421
|
+
readonly charts: readonly ["installs-activity", "release-cadence"];
|
|
416
422
|
readonly tabs: true;
|
|
417
423
|
readonly banners: true;
|
|
418
424
|
}, {
|
|
@@ -425,10 +431,10 @@ declare const PAGES: readonly [{
|
|
|
425
431
|
readonly banners: true;
|
|
426
432
|
}, {
|
|
427
433
|
readonly key: "deployments";
|
|
428
|
-
readonly label: "
|
|
429
|
-
readonly route: "/projects/:id/
|
|
434
|
+
readonly label: "Builds";
|
|
435
|
+
readonly route: "/projects/:id/builds";
|
|
430
436
|
readonly slots: readonly ["sidebar", "below-list"];
|
|
431
|
-
readonly charts: readonly [
|
|
437
|
+
readonly charts: readonly [];
|
|
432
438
|
readonly tabs: true;
|
|
433
439
|
readonly banners: false;
|
|
434
440
|
}, {
|
|
@@ -455,6 +461,9 @@ declare const TABLES: readonly [{
|
|
|
455
461
|
readonly label: "Releases";
|
|
456
462
|
}, {
|
|
457
463
|
readonly key: "deployments.builds";
|
|
464
|
+
readonly label: "TestFlight builds";
|
|
465
|
+
}, {
|
|
466
|
+
readonly key: "deployments.runs";
|
|
458
467
|
readonly label: "Builds";
|
|
459
468
|
}];
|
|
460
469
|
type TableDefinition = (typeof TABLES)[number];
|
|
@@ -464,7 +473,7 @@ declare const KINDS: readonly ["page", "tab", "widget", "series", "banner", "row
|
|
|
464
473
|
type ContributionKind = (typeof KINDS)[number];
|
|
465
474
|
declare const CATEGORIES: readonly ["market_data", "subscriptions", "product_analytics", "crashes", "attribution", "experiments", "messaging", "session_replay", "localization", "design", "ci_cd", "trackers", "support", "chat", "ad_monetization", "warehouse", "compliance", "additional_stores"];
|
|
466
475
|
type ExtensionCategory = (typeof CATEGORIES)[number];
|
|
467
|
-
declare const EVENTS: readonly ["release.shipped", "metadata.changed", "keyword.set_changed", "screenshots.updated", "price.changed", "featuring.started", "score.changed", "incident.opened", "incident.resolved", "playbook.step_approved", "review.thread_opened", "review.thread_resolved", "approval.requested", "digest.sent", "install.created", "install.paused", "install.resumed", "install.revoked", "install.token_rotated", "scopes.changed", "settings.changed"];
|
|
476
|
+
declare const EVENTS: readonly ["release.shipped", "metadata.changed", "keyword.set_changed", "screenshots.updated", "price.changed", "build.succeeded", "build.failed", "build.uploaded", "featuring.started", "score.changed", "incident.opened", "incident.resolved", "playbook.step_approved", "review.thread_opened", "review.thread_resolved", "approval.requested", "digest.sent", "install.created", "install.paused", "install.resumed", "install.revoked", "install.token_rotated", "scopes.changed", "settings.changed"];
|
|
468
477
|
/** Every event Tappify emits, which a mount or a server can subscribe to. */
|
|
469
478
|
type HostEventName = (typeof EVENTS)[number];
|
|
470
479
|
declare const SERVED_SDK_MAJORS: readonly number[];
|
package/dist/host.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { T as TapContext } from './context-
|
|
2
|
-
import { T as Tap } from './types-
|
|
3
|
-
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, a as TapFilters, z as TapFormatters, B as TapHostEventMap, c as TapHostEvents, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, g as TapProcedureInput, L as TapProcedureMap, f as TapProcedureName, h as TapProcedureOutput, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, d as TapQuery, Q as TapRelease, e as TapResult, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, j as TapSingletonDocument, i as TapSingletonName, b as TapSize, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-
|
|
1
|
+
export { T as TapContext } from './context-CsviWecX.cjs';
|
|
2
|
+
import { T as Tap } from './types-C5k8VwaA.cjs';
|
|
3
|
+
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, a as TapFilters, z as TapFormatters, B as TapHostEventMap, c as TapHostEvents, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, g as TapProcedureInput, L as TapProcedureMap, f as TapProcedureName, h as TapProcedureOutput, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, d as TapQuery, Q as TapRelease, e as TapResult, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, j as TapSingletonDocument, i as TapSingletonName, b as TapSize, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-C5k8VwaA.cjs';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import { ReactNode, ReactElement } from 'react';
|
|
6
|
-
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-
|
|
6
|
+
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-CvHbO3ia.cjs';
|
|
7
7
|
|
|
8
8
|
declare function collectStyles(remoteModule: unknown): string[];
|
|
9
9
|
|
package/dist/host.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { T as TapContext } from './context-
|
|
2
|
-
import { T as Tap } from './types-
|
|
3
|
-
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, a as TapFilters, z as TapFormatters, B as TapHostEventMap, c as TapHostEvents, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, g as TapProcedureInput, L as TapProcedureMap, f as TapProcedureName, h as TapProcedureOutput, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, d as TapQuery, Q as TapRelease, e as TapResult, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, j as TapSingletonDocument, i as TapSingletonName, b as TapSize, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-
|
|
1
|
+
export { T as TapContext } from './context-BjhW0QWy.js';
|
|
2
|
+
import { T as Tap } from './types-DBpDxGlT.js';
|
|
3
|
+
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, a as TapFilters, z as TapFormatters, B as TapHostEventMap, c as TapHostEvents, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, g as TapProcedureInput, L as TapProcedureMap, f as TapProcedureName, h as TapProcedureOutput, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, d as TapQuery, Q as TapRelease, e as TapResult, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, j as TapSingletonDocument, i as TapSingletonName, b as TapSize, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-DBpDxGlT.js';
|
|
4
4
|
import { QueryClient } from '@tanstack/react-query';
|
|
5
5
|
import { ReactNode, ReactElement } from 'react';
|
|
6
|
-
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-
|
|
6
|
+
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-CvHbO3ia.js';
|
|
7
7
|
|
|
8
8
|
declare function collectStyles(remoteModule: unknown): string[];
|
|
9
9
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { u as useTap } from './context-
|
|
1
|
+
export { u as useTap } from './context-CsviWecX.cjs';
|
|
2
2
|
export { T as TAP_ERROR_CODES, a as TapError, b as TapErrorCode, c as TapServerError } from './errors-Cqh0wrqt.cjs';
|
|
3
|
-
import { T as Tap, a as TapFilters, b as TapSize, c as TapHostEvents, d as TapQuery, e as TapResult, f as TapProcedureName, g as TapProcedureInput, h as TapProcedureOutput, i as TapSingletonName, j as TapSingletonDocument } from './types-
|
|
4
|
-
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, z as TapFormatters, B as TapHostEventMap, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, L as TapProcedureMap, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, Q as TapRelease, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-
|
|
5
|
-
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-
|
|
3
|
+
import { T as Tap, a as TapFilters, b as TapSize, c as TapHostEvents, d as TapQuery, e as TapResult, f as TapProcedureName, g as TapProcedureInput, h as TapProcedureOutput, i as TapSingletonName, j as TapSingletonDocument } from './types-C5k8VwaA.cjs';
|
|
4
|
+
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, z as TapFormatters, B as TapHostEventMap, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, L as TapProcedureMap, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, Q as TapRelease, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-C5k8VwaA.cjs';
|
|
5
|
+
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-CvHbO3ia.cjs';
|
|
6
6
|
import 'react';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { u as useTap } from './context-
|
|
1
|
+
export { u as useTap } from './context-BjhW0QWy.js';
|
|
2
2
|
export { T as TAP_ERROR_CODES, a as TapError, b as TapErrorCode, c as TapServerError } from './errors-Cqh0wrqt.js';
|
|
3
|
-
import { T as Tap, a as TapFilters, b as TapSize, c as TapHostEvents, d as TapQuery, e as TapResult, f as TapProcedureName, g as TapProcedureInput, h as TapProcedureOutput, i as TapSingletonName, j as TapSingletonDocument } from './types-
|
|
4
|
-
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, z as TapFormatters, B as TapHostEventMap, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, L as TapProcedureMap, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, Q as TapRelease, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-
|
|
5
|
-
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-
|
|
3
|
+
import { T as Tap, a as TapFilters, b as TapSize, c as TapHostEvents, d as TapQuery, e as TapResult, f as TapProcedureName, g as TapProcedureInput, h as TapProcedureOutput, i as TapSingletonName, j as TapSingletonDocument } from './types-DBpDxGlT.js';
|
|
4
|
+
export { A as ActionId, k as ActionInput, P as PromptId, l as PromptInput, m as TapActionMap, n as TapActionRun, o as TapApp, p as TapChangeKey, q as TapChatCard, r as TapCollection, s as TapComparisonSide, t as TapConfirmOptions, u as TapCrashIssue, v as TapCrashesResult, w as TapCredentialValues, x as TapCredentials, y as TapDateRange, z as TapFormatters, B as TapHostEventMap, C as TapInternals, D as TapKeyword, E as TapKeywordsResult, F as TapListing, G as TapListingResult, H as TapPageProps, I as TapPath, J as TapPlatform, K as TapPlatformFilter, L as TapProcedureMap, M as TapProcedures, N as TapProjectResult, O as TapPromptMap, Q as TapRelease, R as TapRevenueResult, S as TapReview, U as TapReviewsResult, V as TapRowActionProps, W as TapSeriesMetric, X as TapSeriesPoint, Y as TapSeriesResult, Z as TapSettings, _ as TapSettingsProps, $ as TapSettingsValues, a0 as TapSingleton, a1 as TapStorage, a2 as TapStorageMap, a3 as TapTabProps, a4 as TapTableColumn, a5 as TapTelemetryEvents, a6 as TapToastTone, a7 as TapToolMap, a8 as TapWebhookMap, a9 as TapWidgetProps, aa as TelemetryEvent, ab as ToolId, ac as ToolInput, ad as WebhookName, ae as WebhookPayload } from './types-DBpDxGlT.js';
|
|
5
|
+
export { D as DataQueryKind, H as HostEventName, a as HostPage, S as ScopeKey, b as SlotId } from './constants-CvHbO3ia.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/manifest.cjs
CHANGED
|
@@ -23,7 +23,7 @@ var _chunkNN263PGQcjs = require('./chunk-NN263PGQ.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkEV3KKP62cjs = require('./chunk-EV3KKP62.cjs');
|
|
27
27
|
require('./chunk-Q7SFCCGT.cjs');
|
|
28
28
|
|
|
29
29
|
// src/manifest/schema.ts
|
|
@@ -84,7 +84,7 @@ var contributionId = _zod.z.string().regex(CONTRIBUTION_ID).describe(
|
|
|
84
84
|
);
|
|
85
85
|
var title = _zod.z.string().min(1).max(60).describe("The label owners read on this contribution.");
|
|
86
86
|
var scopeEntry = _zod.z.object({
|
|
87
|
-
key: _zod.z.enum(
|
|
87
|
+
key: _zod.z.enum(_chunkEV3KKP62cjs.SCOPE_KEYS, {
|
|
88
88
|
error: "Unknown scope key; see the Scopes reference."
|
|
89
89
|
}).describe("The scope key, from the scopes reference."),
|
|
90
90
|
justification: _zod.z.string().min(20).max(500).describe(
|
|
@@ -94,7 +94,7 @@ var scopeEntry = _zod.z.object({
|
|
|
94
94
|
var mobile = _zod.z.boolean().describe(
|
|
95
95
|
"Whether this surface is drawn on phone layouts. Defaults to true; set false to hide it there."
|
|
96
96
|
).optional();
|
|
97
|
-
var hostPage = (what) => _zod.z.enum(
|
|
97
|
+
var hostPage = (what) => _zod.z.enum(_chunkEV3KKP62cjs.PAGE_KEYS).describe(what);
|
|
98
98
|
var pageContribution = _zod.z.object({
|
|
99
99
|
id: contributionId,
|
|
100
100
|
title,
|
|
@@ -116,7 +116,7 @@ var widgetContribution = _zod.z.object({
|
|
|
116
116
|
title,
|
|
117
117
|
entry: entryPath,
|
|
118
118
|
page: hostPage("The host page this widget renders on."),
|
|
119
|
-
slot: _zod.z.enum(
|
|
119
|
+
slot: _zod.z.enum(_chunkEV3KKP62cjs.SLOTS).describe(
|
|
120
120
|
"The named anchor on that page. A slot that is not on the page fails validation."
|
|
121
121
|
),
|
|
122
122
|
size: _zod.z.enum(["1x1", "2x1", "2x2"]).describe(
|
|
@@ -129,7 +129,7 @@ var widgetContribution = _zod.z.object({
|
|
|
129
129
|
var seriesContribution = _zod.z.object({
|
|
130
130
|
id: contributionId,
|
|
131
131
|
label: title,
|
|
132
|
-
chart: _zod.z.enum(
|
|
132
|
+
chart: _zod.z.enum(_chunkEV3KKP62cjs.CHARTS).describe("The host chart this line is drawn on."),
|
|
133
133
|
metric: _zod.z.string().min(1).max(60).describe(
|
|
134
134
|
"The connector metric this line plots. It has to be one the connector declares."
|
|
135
135
|
)
|
|
@@ -144,13 +144,13 @@ var bannerContribution = _zod.z.object({
|
|
|
144
144
|
var rowActionContribution = _zod.z.object({
|
|
145
145
|
id: contributionId,
|
|
146
146
|
title,
|
|
147
|
-
table: _zod.z.enum(
|
|
147
|
+
table: _zod.z.enum(_chunkEV3KKP62cjs.TABLE_KEYS).describe("The host table whose row menu gains this entry."),
|
|
148
148
|
entry: entryPath
|
|
149
149
|
}).strict();
|
|
150
150
|
var markerContribution = _zod.z.object({
|
|
151
151
|
id: contributionId,
|
|
152
152
|
label: title,
|
|
153
|
-
chart: _zod.z.union([_zod.z.enum(
|
|
153
|
+
chart: _zod.z.union([_zod.z.enum(_chunkEV3KKP62cjs.CHARTS), _zod.z.literal("*")]).describe(
|
|
154
154
|
"The host chart this marker is drawn on, or `*` for every chart."
|
|
155
155
|
),
|
|
156
156
|
event: _zod.z.string().regex(DOMAIN_EVENT).describe(
|
|
@@ -279,7 +279,7 @@ var aiContribution = _zod.z.object({
|
|
|
279
279
|
"Always true. An action goes through an owner approval; there is no way to opt out."
|
|
280
280
|
),
|
|
281
281
|
reversible: _zod.z.boolean().describe("Whether the owner can undo it after it runs."),
|
|
282
|
-
scope: _zod.z.enum(
|
|
282
|
+
scope: _zod.z.enum(_chunkEV3KKP62cjs.SCOPE_KEYS).describe(
|
|
283
283
|
"The scope this action needs. Declare it under `scopes` as well."
|
|
284
284
|
),
|
|
285
285
|
estimatesCost: _zod.z.boolean().describe(
|
|
@@ -475,7 +475,7 @@ var manifestObject = _zod.z.object({
|
|
|
475
475
|
icon: _zod.z.string().min(1).max(200).describe(
|
|
476
476
|
"The icon file carried in the bundle, as a path relative to the manifest. Square png or svg, at most 512 KB."
|
|
477
477
|
),
|
|
478
|
-
category: _zod.z.enum(
|
|
478
|
+
category: _zod.z.enum(_chunkEV3KKP62cjs.CATEGORIES, {
|
|
479
479
|
error: "Choose a category from the Tap Store list (see the Categories reference)."
|
|
480
480
|
}).describe("The Tap Store section owners browse and filter by."),
|
|
481
481
|
sdk: _zod.z.string().min(1).max(60).describe(
|
|
@@ -487,7 +487,7 @@ var manifestObject = _zod.z.object({
|
|
|
487
487
|
installScope: _zod.z.enum(["project", "organization"]).describe(
|
|
488
488
|
"Whether one install belongs to a single project or to a whole organization. An organization install contributes no pages, tabs, widgets or series, because those render on a project."
|
|
489
489
|
),
|
|
490
|
-
scopes: _zod.z.array(scopeEntry).min(1).max(
|
|
490
|
+
scopes: _zod.z.array(scopeEntry).min(1).max(_chunkEV3KKP62cjs.SCOPE_KEYS.length).describe(
|
|
491
491
|
"The permissions an owner grants at install. Declare only what your contributions use."
|
|
492
492
|
),
|
|
493
493
|
contributes: _zod.z.object({
|
|
@@ -542,7 +542,7 @@ var manifestObject = _zod.z.object({
|
|
|
542
542
|
"The procedures the host may call on your server, by name, each with its input and output schema. At most 30."
|
|
543
543
|
).optional(),
|
|
544
544
|
events: _zod.z.array(
|
|
545
|
-
_zod.z.enum(
|
|
545
|
+
_zod.z.enum(_chunkEV3KKP62cjs.EVENTS, {
|
|
546
546
|
error: (issue) => `"${String(issue.input)}" is not a Tappify event. Subscribe to a name from the event catalogue.`
|
|
547
547
|
})
|
|
548
548
|
).describe(
|
|
@@ -598,7 +598,7 @@ var manifestSchema = manifestObject.superRefine((manifest, ctx) => {
|
|
|
598
598
|
});
|
|
599
599
|
};
|
|
600
600
|
for (const [index, widget] of (_nullishCoalesce(contributes.widgets, () => ( []))).entries()) {
|
|
601
|
-
const slots =
|
|
601
|
+
const slots = _chunkEV3KKP62cjs.slotsForPage.call(void 0, widget.page);
|
|
602
602
|
if (!slots.includes(widget.slot)) {
|
|
603
603
|
ctx.addIssue({
|
|
604
604
|
code: "custom",
|
|
@@ -789,7 +789,7 @@ var manifestSchema = manifestObject.superRefine((manifest, ctx) => {
|
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
791
|
for (const scope of manifest.scopes) {
|
|
792
|
-
const definition =
|
|
792
|
+
const definition = _chunkEV3KKP62cjs.findScope.call(void 0, scope.key);
|
|
793
793
|
if (_optionalChain([definition, 'optionalAccess', _54 => _54.requiresJustification]) && !scope.justification) {
|
|
794
794
|
ctx.addIssue({
|
|
795
795
|
code: "custom",
|
|
@@ -822,11 +822,11 @@ var manifestSchema = manifestObject.superRefine((manifest, ctx) => {
|
|
|
822
822
|
});
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
|
-
if (!sdkMajors(manifest.sdk).some((major) =>
|
|
825
|
+
if (!sdkMajors(manifest.sdk).some((major) => _chunkEV3KKP62cjs.SERVED_SDK_MAJORS.includes(major))) {
|
|
826
826
|
ctx.addIssue({
|
|
827
827
|
code: "custom",
|
|
828
828
|
path: ["sdk"],
|
|
829
|
-
message: `The host serves SDK major ${
|
|
829
|
+
message: `The host serves SDK major ${_chunkEV3KKP62cjs.SERVED_SDK_MAJORS.join(", ")}. Set sdk to a range that includes it, such as "^2.0.0".`
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
});
|
|
@@ -924,5 +924,5 @@ function workManifestWarnings(manifest) {
|
|
|
924
924
|
|
|
925
925
|
|
|
926
926
|
|
|
927
|
-
exports.CARD_KEYS =
|
|
927
|
+
exports.CARD_KEYS = _chunkEV3KKP62cjs.CARD_KEYS; exports.CATEGORIES = _chunkEV3KKP62cjs.CATEGORIES; exports.CHARTS = _chunkEV3KKP62cjs.CHARTS; exports.EVENTS = _chunkEV3KKP62cjs.EVENTS; exports.KINDS = _chunkEV3KKP62cjs.KINDS; exports.PAGES = _chunkEV3KKP62cjs.PAGES; exports.PAGE_KEYS = _chunkEV3KKP62cjs.PAGE_KEYS; exports.QUERY_SCOPES = _chunkEV3KKP62cjs.QUERY_SCOPES; exports.SCOPES = _chunkEV3KKP62cjs.SCOPES; exports.SCOPE_KEYS = _chunkEV3KKP62cjs.SCOPE_KEYS; exports.SERVED_SDK_MAJORS = _chunkEV3KKP62cjs.SERVED_SDK_MAJORS; exports.SLOTS = _chunkEV3KKP62cjs.SLOTS; exports.TABLES = _chunkEV3KKP62cjs.TABLES; exports.TABLE_KEYS = _chunkEV3KKP62cjs.TABLE_KEYS; exports.defineManifest = _chunkNN263PGQcjs.defineManifest; exports.exposeName = _chunkNN263PGQcjs.exposeName; exports.findPage = _chunkEV3KKP62cjs.findPage; exports.findScope = _chunkEV3KKP62cjs.findScope; exports.findTable = _chunkEV3KKP62cjs.findTable; exports.manifestJsonSchema = manifestJsonSchema; exports.manifestSchema = manifestSchema; exports.remoteName = _chunkNN263PGQcjs.remoteName; exports.sdkMajors = sdkMajors; exports.slotsForPage = _chunkEV3KKP62cjs.slotsForPage; exports.uiContributions = _chunkNN263PGQcjs.uiContributions; exports.validateManifest = validateManifest; exports.workManifestWarnings = workManifestWarnings;
|
|
928
928
|
//# sourceMappingURL=manifest.cjs.map
|
package/dist/manifest.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExtensionManifest, c as ExposableKind, U as UiContributionRef, M as ManifestValidation, d as ManifestIssue } from './constants-
|
|
2
|
-
export { A as ActionDeclaration, e as AiContribution, B as BannerContribution, C as CARD_KEYS, f as CATEGORIES, g as CHARTS, h as ConnectorAuth, i as ConnectorContribution, j as ContextDeclaration, k as ContributionKind, l as CredentialField, D as DataQueryKind, m as DimensionDeclaration, n as EVENTS, o as ExtensionCategory, p as ExtensionInstallScope, q as ExtensionListing, r as ExtensionVisibility, s as HostChart, H as HostEventName, a as HostPage, t as HostTable, J as JsonSchema, K as KINDS, u as KnowledgeDeclaration, L as LegacyWorkContribution, v as MarkerContribution, w as MentionDeclaration, x as MetricDeclaration, O as OAuthTokenRequestEncoding, P as PAGES, y as PAGE_KEYS, z as PageContribution, F as PageDefinition, G as ProcedureDeclaration, I as PromptDeclaration, Q as QUERY_SCOPES, R as RowActionContribution, N as SCOPES, T as SCOPE_KEYS, V as SERVED_SDK_MAJORS, W as SLOTS, X as ScopeDefinition, Y as ScopeEntry, S as ScopeKey, Z as SeriesContribution, _ as SettingsContribution, $ as SkillDeclaration, b as SlotId, a0 as StorageCollection, a1 as TABLES, a2 as TABLE_KEYS, a3 as TabContribution, a4 as TableDefinition, a5 as ToolDeclaration, a6 as WebhookContribution, a7 as WidgetContribution, a8 as WorkAuth, a9 as WorkContribution, aa as WorkDirection, ab as findPage, ac as findScope, ad as findTable, ae as slotsForPage } from './constants-
|
|
1
|
+
import { E as ExtensionManifest, c as ExposableKind, U as UiContributionRef, M as ManifestValidation, d as ManifestIssue } from './constants-CvHbO3ia.cjs';
|
|
2
|
+
export { A as ActionDeclaration, e as AiContribution, B as BannerContribution, C as CARD_KEYS, f as CATEGORIES, g as CHARTS, h as ConnectorAuth, i as ConnectorContribution, j as ContextDeclaration, k as ContributionKind, l as CredentialField, D as DataQueryKind, m as DimensionDeclaration, n as EVENTS, o as ExtensionCategory, p as ExtensionInstallScope, q as ExtensionListing, r as ExtensionVisibility, s as HostChart, H as HostEventName, a as HostPage, t as HostTable, J as JsonSchema, K as KINDS, u as KnowledgeDeclaration, L as LegacyWorkContribution, v as MarkerContribution, w as MentionDeclaration, x as MetricDeclaration, O as OAuthTokenRequestEncoding, P as PAGES, y as PAGE_KEYS, z as PageContribution, F as PageDefinition, G as ProcedureDeclaration, I as PromptDeclaration, Q as QUERY_SCOPES, R as RowActionContribution, N as SCOPES, T as SCOPE_KEYS, V as SERVED_SDK_MAJORS, W as SLOTS, X as ScopeDefinition, Y as ScopeEntry, S as ScopeKey, Z as SeriesContribution, _ as SettingsContribution, $ as SkillDeclaration, b as SlotId, a0 as StorageCollection, a1 as TABLES, a2 as TABLE_KEYS, a3 as TabContribution, a4 as TableDefinition, a5 as ToolDeclaration, a6 as WebhookContribution, a7 as WidgetContribution, a8 as WorkAuth, a9 as WorkContribution, aa as WorkDirection, ab as findPage, ac as findScope, ad as findTable, ae as slotsForPage } from './constants-CvHbO3ia.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare function defineManifest(manifest: ExtensionManifest): ExtensionManifest;
|
|
@@ -54,6 +54,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
54
54
|
"reviews:read": "reviews:read";
|
|
55
55
|
"review.threads:read": "review.threads:read";
|
|
56
56
|
"crashes:read": "crashes:read";
|
|
57
|
+
"builds:read": "builds:read";
|
|
57
58
|
"revenue:read": "revenue:read";
|
|
58
59
|
"metrics:write": "metrics:write";
|
|
59
60
|
"alerts:write": "alerts:write";
|
|
@@ -119,8 +120,8 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
119
120
|
label: z.ZodString;
|
|
120
121
|
chart: z.ZodEnum<{
|
|
121
122
|
"installs-activity": "installs-activity";
|
|
122
|
-
conversion: "conversion";
|
|
123
123
|
"release-cadence": "release-cadence";
|
|
124
|
+
conversion: "conversion";
|
|
124
125
|
}>;
|
|
125
126
|
metric: z.ZodString;
|
|
126
127
|
}, z.core.$strict>>>;
|
|
@@ -142,6 +143,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
142
143
|
"analytics.reviews": "analytics.reviews";
|
|
143
144
|
"deployments.releases": "deployments.releases";
|
|
144
145
|
"deployments.builds": "deployments.builds";
|
|
146
|
+
"deployments.runs": "deployments.runs";
|
|
145
147
|
}>;
|
|
146
148
|
entry: z.ZodString;
|
|
147
149
|
}, z.core.$strict>>>;
|
|
@@ -150,8 +152,8 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
150
152
|
label: z.ZodString;
|
|
151
153
|
chart: z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
154
|
"installs-activity": "installs-activity";
|
|
153
|
-
conversion: "conversion";
|
|
154
155
|
"release-cadence": "release-cadence";
|
|
156
|
+
conversion: "conversion";
|
|
155
157
|
}>, z.ZodLiteral<"*">]>;
|
|
156
158
|
event: z.ZodString;
|
|
157
159
|
glyph: z.ZodString;
|
|
@@ -279,6 +281,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
279
281
|
"reviews:read": "reviews:read";
|
|
280
282
|
"review.threads:read": "review.threads:read";
|
|
281
283
|
"crashes:read": "crashes:read";
|
|
284
|
+
"builds:read": "builds:read";
|
|
282
285
|
"revenue:read": "revenue:read";
|
|
283
286
|
"metrics:write": "metrics:write";
|
|
284
287
|
"alerts:write": "alerts:write";
|
|
@@ -480,6 +483,9 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
480
483
|
"keyword.set_changed": "keyword.set_changed";
|
|
481
484
|
"screenshots.updated": "screenshots.updated";
|
|
482
485
|
"price.changed": "price.changed";
|
|
486
|
+
"build.succeeded": "build.succeeded";
|
|
487
|
+
"build.failed": "build.failed";
|
|
488
|
+
"build.uploaded": "build.uploaded";
|
|
483
489
|
"featuring.started": "featuring.started";
|
|
484
490
|
"score.changed": "score.changed";
|
|
485
491
|
"incident.opened": "incident.opened";
|
package/dist/manifest.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as ExtensionManifest, c as ExposableKind, U as UiContributionRef, M as ManifestValidation, d as ManifestIssue } from './constants-
|
|
2
|
-
export { A as ActionDeclaration, e as AiContribution, B as BannerContribution, C as CARD_KEYS, f as CATEGORIES, g as CHARTS, h as ConnectorAuth, i as ConnectorContribution, j as ContextDeclaration, k as ContributionKind, l as CredentialField, D as DataQueryKind, m as DimensionDeclaration, n as EVENTS, o as ExtensionCategory, p as ExtensionInstallScope, q as ExtensionListing, r as ExtensionVisibility, s as HostChart, H as HostEventName, a as HostPage, t as HostTable, J as JsonSchema, K as KINDS, u as KnowledgeDeclaration, L as LegacyWorkContribution, v as MarkerContribution, w as MentionDeclaration, x as MetricDeclaration, O as OAuthTokenRequestEncoding, P as PAGES, y as PAGE_KEYS, z as PageContribution, F as PageDefinition, G as ProcedureDeclaration, I as PromptDeclaration, Q as QUERY_SCOPES, R as RowActionContribution, N as SCOPES, T as SCOPE_KEYS, V as SERVED_SDK_MAJORS, W as SLOTS, X as ScopeDefinition, Y as ScopeEntry, S as ScopeKey, Z as SeriesContribution, _ as SettingsContribution, $ as SkillDeclaration, b as SlotId, a0 as StorageCollection, a1 as TABLES, a2 as TABLE_KEYS, a3 as TabContribution, a4 as TableDefinition, a5 as ToolDeclaration, a6 as WebhookContribution, a7 as WidgetContribution, a8 as WorkAuth, a9 as WorkContribution, aa as WorkDirection, ab as findPage, ac as findScope, ad as findTable, ae as slotsForPage } from './constants-
|
|
1
|
+
import { E as ExtensionManifest, c as ExposableKind, U as UiContributionRef, M as ManifestValidation, d as ManifestIssue } from './constants-CvHbO3ia.js';
|
|
2
|
+
export { A as ActionDeclaration, e as AiContribution, B as BannerContribution, C as CARD_KEYS, f as CATEGORIES, g as CHARTS, h as ConnectorAuth, i as ConnectorContribution, j as ContextDeclaration, k as ContributionKind, l as CredentialField, D as DataQueryKind, m as DimensionDeclaration, n as EVENTS, o as ExtensionCategory, p as ExtensionInstallScope, q as ExtensionListing, r as ExtensionVisibility, s as HostChart, H as HostEventName, a as HostPage, t as HostTable, J as JsonSchema, K as KINDS, u as KnowledgeDeclaration, L as LegacyWorkContribution, v as MarkerContribution, w as MentionDeclaration, x as MetricDeclaration, O as OAuthTokenRequestEncoding, P as PAGES, y as PAGE_KEYS, z as PageContribution, F as PageDefinition, G as ProcedureDeclaration, I as PromptDeclaration, Q as QUERY_SCOPES, R as RowActionContribution, N as SCOPES, T as SCOPE_KEYS, V as SERVED_SDK_MAJORS, W as SLOTS, X as ScopeDefinition, Y as ScopeEntry, S as ScopeKey, Z as SeriesContribution, _ as SettingsContribution, $ as SkillDeclaration, b as SlotId, a0 as StorageCollection, a1 as TABLES, a2 as TABLE_KEYS, a3 as TabContribution, a4 as TableDefinition, a5 as ToolDeclaration, a6 as WebhookContribution, a7 as WidgetContribution, a8 as WorkAuth, a9 as WorkContribution, aa as WorkDirection, ab as findPage, ac as findScope, ad as findTable, ae as slotsForPage } from './constants-CvHbO3ia.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
declare function defineManifest(manifest: ExtensionManifest): ExtensionManifest;
|
|
@@ -54,6 +54,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
54
54
|
"reviews:read": "reviews:read";
|
|
55
55
|
"review.threads:read": "review.threads:read";
|
|
56
56
|
"crashes:read": "crashes:read";
|
|
57
|
+
"builds:read": "builds:read";
|
|
57
58
|
"revenue:read": "revenue:read";
|
|
58
59
|
"metrics:write": "metrics:write";
|
|
59
60
|
"alerts:write": "alerts:write";
|
|
@@ -119,8 +120,8 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
119
120
|
label: z.ZodString;
|
|
120
121
|
chart: z.ZodEnum<{
|
|
121
122
|
"installs-activity": "installs-activity";
|
|
122
|
-
conversion: "conversion";
|
|
123
123
|
"release-cadence": "release-cadence";
|
|
124
|
+
conversion: "conversion";
|
|
124
125
|
}>;
|
|
125
126
|
metric: z.ZodString;
|
|
126
127
|
}, z.core.$strict>>>;
|
|
@@ -142,6 +143,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
142
143
|
"analytics.reviews": "analytics.reviews";
|
|
143
144
|
"deployments.releases": "deployments.releases";
|
|
144
145
|
"deployments.builds": "deployments.builds";
|
|
146
|
+
"deployments.runs": "deployments.runs";
|
|
145
147
|
}>;
|
|
146
148
|
entry: z.ZodString;
|
|
147
149
|
}, z.core.$strict>>>;
|
|
@@ -150,8 +152,8 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
150
152
|
label: z.ZodString;
|
|
151
153
|
chart: z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
154
|
"installs-activity": "installs-activity";
|
|
153
|
-
conversion: "conversion";
|
|
154
155
|
"release-cadence": "release-cadence";
|
|
156
|
+
conversion: "conversion";
|
|
155
157
|
}>, z.ZodLiteral<"*">]>;
|
|
156
158
|
event: z.ZodString;
|
|
157
159
|
glyph: z.ZodString;
|
|
@@ -279,6 +281,7 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
279
281
|
"reviews:read": "reviews:read";
|
|
280
282
|
"review.threads:read": "review.threads:read";
|
|
281
283
|
"crashes:read": "crashes:read";
|
|
284
|
+
"builds:read": "builds:read";
|
|
282
285
|
"revenue:read": "revenue:read";
|
|
283
286
|
"metrics:write": "metrics:write";
|
|
284
287
|
"alerts:write": "alerts:write";
|
|
@@ -480,6 +483,9 @@ declare const manifestSchema: z.ZodObject<{
|
|
|
480
483
|
"keyword.set_changed": "keyword.set_changed";
|
|
481
484
|
"screenshots.updated": "screenshots.updated";
|
|
482
485
|
"price.changed": "price.changed";
|
|
486
|
+
"build.succeeded": "build.succeeded";
|
|
487
|
+
"build.failed": "build.failed";
|
|
488
|
+
"build.uploaded": "build.uploaded";
|
|
483
489
|
"featuring.started": "featuring.started";
|
|
484
490
|
"score.changed": "score.changed";
|
|
485
491
|
"incident.opened": "incident.opened";
|
package/dist/manifest.mjs
CHANGED
package/dist/server.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6MP5DKLZcjs = require('./chunk-6MP5DKLZ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ var _chunkEB5XWQAUcjs = require('./chunk-EB5XWQAU.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
13
|
+
var _chunkTEIGGORZcjs = require('./chunk-TEIGGORZ.cjs');
|
|
14
|
+
require('./chunk-EV3KKP62.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunk6HETNZJYcjs = require('./chunk-6HETNZJY.cjs');
|
|
@@ -63,7 +63,7 @@ async function expressBody(request) {
|
|
|
63
63
|
}
|
|
64
64
|
if (!isReadable(request)) {
|
|
65
65
|
throw new (0, _chunk6HETNZJYcjs.TapServerError)(
|
|
66
|
-
|
|
66
|
+
_chunkTEIGGORZcjs.SERVER_ERROR_CODES.BODY_INVALID,
|
|
67
67
|
"The Express request carried no parsed body and no readable stream, so the call would have run against an empty body. Mount express.json() before the Tappify middleware, or mount the middleware before any parser that consumes the stream.",
|
|
68
68
|
400
|
|
69
69
|
);
|
|
@@ -96,7 +96,7 @@ function toExpress(handler) {
|
|
|
96
96
|
if (_chunk6HETNZJYcjs.TapServerError.is(error)) {
|
|
97
97
|
void write(
|
|
98
98
|
response,
|
|
99
|
-
|
|
99
|
+
_chunkTEIGGORZcjs.wireError.call(void 0, error.code, error.message, _nullishCoalesce(error.status, () => ( 400)))
|
|
100
100
|
);
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
@@ -133,8 +133,8 @@ function toNode(handler) {
|
|
|
133
133
|
message: error.message,
|
|
134
134
|
status: _nullishCoalesce(error.status, () => ( 400))
|
|
135
135
|
} : {
|
|
136
|
-
code:
|
|
137
|
-
message:
|
|
136
|
+
code: _chunkTEIGGORZcjs.SERVER_ERROR_CODES.INTERNAL_ERROR,
|
|
137
|
+
message: _chunkTEIGGORZcjs.INTERNAL_MESSAGE,
|
|
138
138
|
status: 500
|
|
139
139
|
};
|
|
140
140
|
response.writeHead(wire.status, { "content-type": "application/json" });
|
|
@@ -155,5 +155,5 @@ function toNode(handler) {
|
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
|
|
158
|
-
exports.DEFAULT_JWKS_URL =
|
|
158
|
+
exports.DEFAULT_JWKS_URL = _chunkTEIGGORZcjs.DEFAULT_JWKS_URL; exports.SERVER_ERROR_CODES = _chunkTEIGGORZcjs.SERVER_ERROR_CODES; exports.TapServerError = _chunk6HETNZJYcjs.TapServerError; exports.createTappifyHandler = _chunkTEIGGORZcjs.createTappifyHandler; exports.sendEvent = _chunk6MP5DKLZcjs.sendEvent; exports.sendWorkEvent = _chunk6MP5DKLZcjs.sendWorkEvent; exports.signWebhook = _chunk6MP5DKLZcjs.signWebhook; exports.toExpress = toExpress; exports.toNode = toNode; exports.verifyTappifyToken = _chunkTEIGGORZcjs.verifyTappifyToken;
|
|
159
159
|
//# sourceMappingURL=server.cjs.map
|
package/dist/server.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { c as TapServerError } from './errors-Cqh0wrqt.cjs';
|
|
2
|
-
import { ad as WebhookName, ae as WebhookPayload } from './types-
|
|
3
|
-
export { A as ActionId, k as ActionInput, w as TapCredentialValues, a as TapFilters, c as TapHostEvents, $ as TapSettingsValues, ab as ToolId, ac as ToolInput } from './types-
|
|
2
|
+
import { ad as WebhookName, ae as WebhookPayload } from './types-C5k8VwaA.cjs';
|
|
3
|
+
export { A as ActionId, k as ActionInput, w as TapCredentialValues, a as TapFilters, c as TapHostEvents, $ as TapSettingsValues, ab as ToolId, ac as ToolInput } from './types-C5k8VwaA.cjs';
|
|
4
4
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
5
|
-
import { T as TappifyFetchHandler, V as VerifyTokenOptions, a as TappifyClaims } from './work-events-
|
|
6
|
-
export { C as ContextBlock, L as LegacyWorkHandlers, M as MentionItems, b as MetricsInput, c as MetricsResponse, d as MetricsSeries, R as ReviewAttachmentDescriptor, e as ReviewImageAttachmentDescriptor, f as ReviewLinkAttachmentDescriptor, g as ReviewThreadSource, S as SendWorkEventOptions, h as TappifyCallContext, i as TappifyDocuments, j as TappifyHandlerOptions, k as TappifyHealth, l as TappifyInstall, m as TappifyRequest, n as TappifyRouteHandler, W as WorkAttachInput, o as WorkAttachResult, p as WorkCommentInput, q as WorkCommentResult, r as WorkConfigureInput, s as WorkConfigureResult, t as WorkContainer, u as WorkCreateField, v as WorkCreateFieldValues, w as WorkCreateInput, x as WorkDescribeContainerInput, y as WorkDescribeContainerResult, z as WorkDisconnectInput, A as WorkDisconnectResult, B as WorkEvent, D as WorkHydrateEventInput, E as WorkHydrateEventResult, F as WorkHydratedCommentCreatedEvent, G as WorkHydratedEvent, H as WorkHydratedEventBase, I as WorkHydratedItemDeletedEvent, J as WorkHydratedStatusChangedEvent, K as WorkHydrationReferenceEvent, N as WorkItemLinkResult, O as WorkItemType, P as WorkLinkedItemInput, Q as WorkListContainersInput, U as WorkListContainersResult, X as
|
|
7
|
-
import './constants-
|
|
5
|
+
import { T as TappifyFetchHandler, V as VerifyTokenOptions, a as TappifyClaims } from './work-events-CxFu-YZE.cjs';
|
|
6
|
+
export { C as ContextBlock, L as LegacyWorkHandlers, M as MentionItems, b as MetricsInput, c as MetricsResponse, d as MetricsSeries, R as ReviewAttachmentDescriptor, e as ReviewImageAttachmentDescriptor, f as ReviewLinkAttachmentDescriptor, g as ReviewThreadSource, S as SendWorkEventOptions, h as TappifyCallContext, i as TappifyDocuments, j as TappifyHandlerOptions, k as TappifyHealth, l as TappifyInstall, m as TappifyRequest, n as TappifyRouteHandler, W as WorkAttachInput, o as WorkAttachResult, p as WorkCommentInput, q as WorkCommentResult, r as WorkConfigureInput, s as WorkConfigureResult, t as WorkContainer, u as WorkCreateField, v as WorkCreateFieldValues, w as WorkCreateInput, x as WorkDescribeContainerInput, y as WorkDescribeContainerResult, z as WorkDisconnectInput, A as WorkDisconnectResult, B as WorkEvent, D as WorkHydrateEventInput, E as WorkHydrateEventResult, F as WorkHydratedCommentCreatedEvent, G as WorkHydratedEvent, H as WorkHydratedEventBase, I as WorkHydratedItemDeletedEvent, J as WorkHydratedStatusChangedEvent, K as WorkHydrationReferenceEvent, N as WorkItemLinkResult, O as WorkItemType, P as WorkLinkedItemInput, Q as WorkListContainersInput, U as WorkListContainersResult, X as WorkMention, Y as WorkMutationInput, Z as WorkOperation, _ as WorkOperationMap, $ as WorkPerson, a0 as WorkRichTextSegment, a1 as WorkSetStatusInput, a2 as WorkSetStatusResult, a3 as WorkStage, a4 as WorkStatus, a5 as createTappifyHandler, a6 as sendWorkEvent } from './work-events-CxFu-YZE.cjs';
|
|
7
|
+
import './constants-CvHbO3ia.cjs';
|
|
8
8
|
import 'jose';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/server.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { c as TapServerError } from './errors-Cqh0wrqt.js';
|
|
2
|
-
import { ad as WebhookName, ae as WebhookPayload } from './types-
|
|
3
|
-
export { A as ActionId, k as ActionInput, w as TapCredentialValues, a as TapFilters, c as TapHostEvents, $ as TapSettingsValues, ab as ToolId, ac as ToolInput } from './types-
|
|
2
|
+
import { ad as WebhookName, ae as WebhookPayload } from './types-DBpDxGlT.js';
|
|
3
|
+
export { A as ActionId, k as ActionInput, w as TapCredentialValues, a as TapFilters, c as TapHostEvents, $ as TapSettingsValues, ab as ToolId, ac as ToolInput } from './types-DBpDxGlT.js';
|
|
4
4
|
import { IncomingMessage, ServerResponse } from 'node:http';
|
|
5
|
-
import { T as TappifyFetchHandler, V as VerifyTokenOptions, a as TappifyClaims } from './work-events-
|
|
6
|
-
export { C as ContextBlock, L as LegacyWorkHandlers, M as MentionItems, b as MetricsInput, c as MetricsResponse, d as MetricsSeries, R as ReviewAttachmentDescriptor, e as ReviewImageAttachmentDescriptor, f as ReviewLinkAttachmentDescriptor, g as ReviewThreadSource, S as SendWorkEventOptions, h as TappifyCallContext, i as TappifyDocuments, j as TappifyHandlerOptions, k as TappifyHealth, l as TappifyInstall, m as TappifyRequest, n as TappifyRouteHandler, W as WorkAttachInput, o as WorkAttachResult, p as WorkCommentInput, q as WorkCommentResult, r as WorkConfigureInput, s as WorkConfigureResult, t as WorkContainer, u as WorkCreateField, v as WorkCreateFieldValues, w as WorkCreateInput, x as WorkDescribeContainerInput, y as WorkDescribeContainerResult, z as WorkDisconnectInput, A as WorkDisconnectResult, B as WorkEvent, D as WorkHydrateEventInput, E as WorkHydrateEventResult, F as WorkHydratedCommentCreatedEvent, G as WorkHydratedEvent, H as WorkHydratedEventBase, I as WorkHydratedItemDeletedEvent, J as WorkHydratedStatusChangedEvent, K as WorkHydrationReferenceEvent, N as WorkItemLinkResult, O as WorkItemType, P as WorkLinkedItemInput, Q as WorkListContainersInput, U as WorkListContainersResult, X as
|
|
7
|
-
import './constants-
|
|
5
|
+
import { T as TappifyFetchHandler, V as VerifyTokenOptions, a as TappifyClaims } from './work-events-BYU25wmX.js';
|
|
6
|
+
export { C as ContextBlock, L as LegacyWorkHandlers, M as MentionItems, b as MetricsInput, c as MetricsResponse, d as MetricsSeries, R as ReviewAttachmentDescriptor, e as ReviewImageAttachmentDescriptor, f as ReviewLinkAttachmentDescriptor, g as ReviewThreadSource, S as SendWorkEventOptions, h as TappifyCallContext, i as TappifyDocuments, j as TappifyHandlerOptions, k as TappifyHealth, l as TappifyInstall, m as TappifyRequest, n as TappifyRouteHandler, W as WorkAttachInput, o as WorkAttachResult, p as WorkCommentInput, q as WorkCommentResult, r as WorkConfigureInput, s as WorkConfigureResult, t as WorkContainer, u as WorkCreateField, v as WorkCreateFieldValues, w as WorkCreateInput, x as WorkDescribeContainerInput, y as WorkDescribeContainerResult, z as WorkDisconnectInput, A as WorkDisconnectResult, B as WorkEvent, D as WorkHydrateEventInput, E as WorkHydrateEventResult, F as WorkHydratedCommentCreatedEvent, G as WorkHydratedEvent, H as WorkHydratedEventBase, I as WorkHydratedItemDeletedEvent, J as WorkHydratedStatusChangedEvent, K as WorkHydrationReferenceEvent, N as WorkItemLinkResult, O as WorkItemType, P as WorkLinkedItemInput, Q as WorkListContainersInput, U as WorkListContainersResult, X as WorkMention, Y as WorkMutationInput, Z as WorkOperation, _ as WorkOperationMap, $ as WorkPerson, a0 as WorkRichTextSegment, a1 as WorkSetStatusInput, a2 as WorkSetStatusResult, a3 as WorkStage, a4 as WorkStatus, a5 as createTappifyHandler, a6 as sendWorkEvent } from './work-events-BYU25wmX.js';
|
|
7
|
+
import './constants-CvHbO3ia.js';
|
|
8
8
|
import 'jose';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/server.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
sendEvent,
|
|
3
3
|
sendWorkEvent,
|
|
4
4
|
signWebhook
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6FASZFC4.mjs";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_JWKS_URL,
|
|
8
8
|
INTERNAL_MESSAGE,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
createTappifyHandler,
|
|
11
11
|
verifyTappifyToken,
|
|
12
12
|
wireError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-CEFLOQD4.mjs";
|
|
14
|
+
import "./chunk-IHLK4I7J.mjs";
|
|
15
15
|
import {
|
|
16
16
|
TapServerError
|
|
17
17
|
} from "./chunk-QXD7WVKK.mjs";
|
package/dist/testing/index.cjs
CHANGED
|
@@ -19,7 +19,7 @@ var _chunkO357OJXLcjs = require('../chunk-O357OJXL.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkAYYJCRS4cjs = require('../chunk-AYYJCRS4.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -30,11 +30,11 @@ var _chunkVV7ELNRWcjs = require('../chunk-VV7ELNRW.cjs');
|
|
|
30
30
|
require('../chunk-PRCZMOLD.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
34
|
-
require('../chunk-
|
|
33
|
+
var _chunk6MP5DKLZcjs = require('../chunk-6MP5DKLZ.cjs');
|
|
34
|
+
require('../chunk-TEIGGORZ.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkEV3KKP62cjs = require('../chunk-EV3KKP62.cjs');
|
|
38
38
|
require('../chunk-6HETNZJY.cjs');
|
|
39
39
|
require('../chunk-Q7SFCCGT.cjs');
|
|
40
40
|
|
|
@@ -45,7 +45,7 @@ var _reactquery = require('@tanstack/react-query');
|
|
|
45
45
|
var _react = require('@testing-library/react');
|
|
46
46
|
var _jsxruntime = require('react/jsx-runtime');
|
|
47
47
|
function renderWithTap(ui, options = {}) {
|
|
48
|
-
const mock = _nullishCoalesce(options.mock, () => (
|
|
48
|
+
const mock = _nullishCoalesce(options.mock, () => ( _chunkAYYJCRS4cjs.createTapMock.call(void 0, options)));
|
|
49
49
|
const queryClient = _nullishCoalesce(options.queryClient, () => ( new (0, _reactquery.QueryClient)({
|
|
50
50
|
defaultOptions: { queries: { retry: false, gcTime: 0 } }
|
|
51
51
|
})));
|
|
@@ -124,7 +124,7 @@ function validateToolResponse(value, returns) {
|
|
|
124
124
|
`A "${returns}" tool returns an object the host draws as a card, not ${typeof value}.`
|
|
125
125
|
];
|
|
126
126
|
}
|
|
127
|
-
return
|
|
127
|
+
return _chunkEV3KKP62cjs.CARD_KEYS[returns].filter((key) => !(key in body)).map(
|
|
128
128
|
(key) => `A "${returns}" tool response needs a "${key}" key; the host draws the card from it.`
|
|
129
129
|
);
|
|
130
130
|
}
|
|
@@ -169,7 +169,7 @@ function workItemDeletedFixture(overrides = {}) {
|
|
|
169
169
|
}
|
|
170
170
|
async function signedWorkEventRequest(event, options) {
|
|
171
171
|
let request;
|
|
172
|
-
await
|
|
172
|
+
await _chunk6MP5DKLZcjs.sendWorkEvent.call(void 0, event, {
|
|
173
173
|
...options,
|
|
174
174
|
fetch: (input, init) => {
|
|
175
175
|
request = new Request(input, init);
|
|
@@ -206,5 +206,5 @@ async function signedWorkEventRequest(event, options) {
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
exports.answerFixtureQuery =
|
|
209
|
+
exports.answerFixtureQuery = _chunkAYYJCRS4cjs.answerFixtureQuery; exports.createTapMock = _chunkAYYJCRS4cjs.createTapMock; exports.createTestClient = _chunkAYYJCRS4cjs.createTestClient; exports.fixtureApps = _chunkAYYJCRS4cjs.fixtureApps; exports.fixtureCrashes = _chunkAYYJCRS4cjs.fixtureCrashes; exports.fixtureKeywords = _chunkAYYJCRS4cjs.fixtureKeywords; exports.fixtureListings = _chunkAYYJCRS4cjs.fixtureListings; exports.fixtureProject = _chunkAYYJCRS4cjs.fixtureProject; exports.fixtureReleases = _chunkAYYJCRS4cjs.fixtureReleases; exports.fixtureRevenue = _chunkAYYJCRS4cjs.fixtureRevenue; exports.fixtureReviews = _chunkAYYJCRS4cjs.fixtureReviews; exports.fixtureSeries = _chunkAYYJCRS4cjs.fixtureSeries; exports.fixtures = _chunkAYYJCRS4cjs.fixtures; exports.installHostTheme = _chunkO357OJXLcjs.installHostTheme; exports.registerTapMatchers = _chunkO357OJXLcjs.registerTapMatchers; exports.renderWithTap = renderWithTap; exports.signTestToken = _chunkAYYJCRS4cjs.signTestToken; exports.signedWorkEventRequest = signedWorkEventRequest; exports.tapMatchers = _chunkO357OJXLcjs.tapMatchers; exports.testJwks = _chunkAYYJCRS4cjs.testJwks; exports.validateMetricsResponse = validateMetricsResponse; exports.validateToolResponse = validateToolResponse; exports.workCommentCreatedFixture = workCommentCreatedFixture; exports.workItemDeletedFixture = workItemDeletedFixture; exports.workStatusChangedFixture = workStatusChangedFixture;
|
|
210
210
|
//# sourceMappingURL=index.cjs.map
|