@shipfox/api-integration-sentry-dto 2.0.0 → 5.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.
@@ -1,2 +1,2 @@
1
1
  $ shipfox-swc
2
- Successfully compiled: 4 files with swc (28.25ms)
2
+ Successfully compiled: 5 files with swc (292.31ms)
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @shipfox/api-integration-sentry-dto
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - bb037af: Resolves workspace packages from source during development while published consumers continue to use compiled output.
8
+ - Updated dependencies [2875241]
9
+ - Updated dependencies [bb037af]
10
+ - Updated dependencies [fb70438]
11
+ - @shipfox/api-integration-core-dto@5.0.0
12
+
13
+ ## 3.0.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 6b23868: Adds provider event and GitHub agent-tool catalogs for generated integration reference documentation.
18
+
19
+ ### Patch Changes
20
+
21
+ - 60e7bf5: Clarifies that ignored Sentry issue webhooks produce archived integration events.
22
+ - Updated dependencies [6b23868]
23
+ - @shipfox/api-integration-core-dto@3.0.0
24
+
3
25
  ## 2.0.0
4
26
 
5
27
  ### 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
@@ -1,2 +1,3 @@
1
+ export * from './event-catalog.js';
1
2
  export * from './schemas/index.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -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
@@ -1,3 +1,4 @@
1
+ export * from './event-catalog.js';
1
2
  export * from './schemas/index.js';
2
3
 
3
4
  //# sourceMappingURL=index.js.map
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"}