@shipfox/api-integration-sentry-dto 2.0.0 → 3.0.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/event-catalog.d.ts +11 -0
- package/dist/event-catalog.d.ts.map +1 -0
- package/dist/event-catalog.js +21 -0
- package/dist/event-catalog.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/event-catalog.ts +29 -0
- package/src/index.ts +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled:
|
|
2
|
+
Successfully compiled: 5 files with swc (365.94ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @shipfox/api-integration-sentry-dto
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6b23868: Adds provider event and GitHub agent-tool catalogs for generated integration reference documentation.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 60e7bf5: Clarifies that ignored Sentry issue webhooks produce archived integration events.
|
|
12
|
+
- Updated dependencies [6b23868]
|
|
13
|
+
- @shipfox/api-integration-core-dto@3.0.0
|
|
14
|
+
|
|
3
15
|
## 2.0.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const sentryEventCatalog: {
|
|
2
|
+
readonly provider: "Sentry";
|
|
3
|
+
readonly events: {
|
|
4
|
+
name: string;
|
|
5
|
+
summary: "A Sentry issue is created." | "A Sentry issue is resolved." | "A Sentry issue is assigned." | "A Sentry issue is archived." | "A resolved Sentry issue becomes unresolved.";
|
|
6
|
+
emittedWhen: string;
|
|
7
|
+
payloadKind: "shipfox-normalized";
|
|
8
|
+
payloadDocUrl: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=event-catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-catalog.d.ts","sourceRoot":"","sources":["../src/event-catalog.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,kBAAkB;;;;;;;;;CAYa,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SENTRY_ISSUE_ACTIONS } from '@shipfox/api-integration-core-dto';
|
|
2
|
+
const sentryIssueWebhookDocsUrl = 'https://docs.sentry.io/organization/integrations/integration-platform/webhooks/issues/';
|
|
3
|
+
const sentryIssueActionSummaries = {
|
|
4
|
+
created: 'A Sentry issue is created.',
|
|
5
|
+
resolved: 'A Sentry issue is resolved.',
|
|
6
|
+
assigned: 'A Sentry issue is assigned.',
|
|
7
|
+
archived: 'A Sentry issue is archived.',
|
|
8
|
+
unresolved: 'A resolved Sentry issue becomes unresolved.'
|
|
9
|
+
};
|
|
10
|
+
export const sentryEventCatalog = {
|
|
11
|
+
provider: 'Sentry',
|
|
12
|
+
events: SENTRY_ISSUE_ACTIONS.map((action)=>({
|
|
13
|
+
name: `issue.${action}`,
|
|
14
|
+
summary: sentryIssueActionSummaries[action],
|
|
15
|
+
emittedWhen: action === 'archived' ? 'Sentry sends an issue webhook with the archived or ignored action.' : `Sentry sends an issue webhook with the ${action} action.`,
|
|
16
|
+
payloadKind: 'shipfox-normalized',
|
|
17
|
+
payloadDocUrl: sentryIssueWebhookDocsUrl
|
|
18
|
+
}))
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=event-catalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/event-catalog.ts"],"sourcesContent":["import {\n type IntegrationEventCatalog,\n SENTRY_ISSUE_ACTIONS,\n} from '@shipfox/api-integration-core-dto';\n\nconst sentryIssueWebhookDocsUrl =\n 'https://docs.sentry.io/organization/integrations/integration-platform/webhooks/issues/';\n\nconst sentryIssueActionSummaries = {\n created: 'A Sentry issue is created.',\n resolved: 'A Sentry issue is resolved.',\n assigned: 'A Sentry issue is assigned.',\n archived: 'A Sentry issue is archived.',\n unresolved: 'A resolved Sentry issue becomes unresolved.',\n} as const satisfies Record<(typeof SENTRY_ISSUE_ACTIONS)[number], string>;\n\nexport const sentryEventCatalog = {\n provider: 'Sentry',\n events: SENTRY_ISSUE_ACTIONS.map((action) => ({\n name: `issue.${action}`,\n summary: sentryIssueActionSummaries[action],\n emittedWhen:\n action === 'archived'\n ? 'Sentry sends an issue webhook with the archived or ignored action.'\n : `Sentry sends an issue webhook with the ${action} action.`,\n payloadKind: 'shipfox-normalized',\n payloadDocUrl: sentryIssueWebhookDocsUrl,\n })),\n} as const satisfies IntegrationEventCatalog;\n"],"names":["SENTRY_ISSUE_ACTIONS","sentryIssueWebhookDocsUrl","sentryIssueActionSummaries","created","resolved","assigned","archived","unresolved","sentryEventCatalog","provider","events","map","action","name","summary","emittedWhen","payloadKind","payloadDocUrl"],"mappings":"AAAA,SAEEA,oBAAoB,QACf,oCAAoC;AAE3C,MAAMC,4BACJ;AAEF,MAAMC,6BAA6B;IACjCC,SAAS;IACTC,UAAU;IACVC,UAAU;IACVC,UAAU;IACVC,YAAY;AACd;AAEA,OAAO,MAAMC,qBAAqB;IAChCC,UAAU;IACVC,QAAQV,qBAAqBW,GAAG,CAAC,CAACC,SAAY,CAAA;YAC5CC,MAAM,CAAC,MAAM,EAAED,QAAQ;YACvBE,SAASZ,0BAA0B,CAACU,OAAO;YAC3CG,aACEH,WAAW,aACP,uEACA,CAAC,uCAAuC,EAAEA,OAAO,QAAQ,CAAC;YAChEI,aAAa;YACbC,eAAehB;QACjB,CAAA;AACF,EAA6C"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './schemas/index.js';\n"],"names":[],"mappings":"AAAA,cAAc,qBAAqB"}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './event-catalog.js';\nexport * from './schemas/index.js';\n"],"names":[],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,qBAAqB"}
|