superbee 0.4.3-pre.8 → 0.4.3
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/README.md +1 -5
- package/SKILL.md +2 -2
- package/dist/portable-export.mjs +2 -0
- package/dist/publication-bridge.mjs +839 -458
- package/dist/publication.mjs +781 -426
- package/dist/superbee.mjs +43921 -23499
- package/package.json +2 -2
- package/references/author-an-integration.md +192 -0
- package/references/hosted-checkout.md +96 -8
- package/references/integrations/rest-json-authoring/README.md +24 -0
- package/references/integrations/rest-json-authoring/fixture/fixture.json +2466 -0
- package/references/integrations/rest-json-authoring/recipe/connectors/tickets.md +42 -0
- package/references/integrations/rest-json-authoring/recipe/conventions/ticket.md +15 -0
- package/references/integrations/rest-json-authoring/recipe/recipe.md +13 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Connector
|
|
3
|
+
title: Recorded ticket board
|
|
4
|
+
auth:
|
|
5
|
+
kind: none
|
|
6
|
+
domains:
|
|
7
|
+
- tickets.example.org
|
|
8
|
+
record_sources:
|
|
9
|
+
- name: tickets
|
|
10
|
+
profile: rest-json
|
|
11
|
+
target_kind: Ticket
|
|
12
|
+
mode: overlay
|
|
13
|
+
identity:
|
|
14
|
+
resource: https://tickets.example.org/boards/{board}
|
|
15
|
+
id: '{id}'
|
|
16
|
+
fields:
|
|
17
|
+
title: title
|
|
18
|
+
state:
|
|
19
|
+
from: status
|
|
20
|
+
values: { OPEN: open, DONE: closed }
|
|
21
|
+
unmapped: keep
|
|
22
|
+
priority:
|
|
23
|
+
from: priority
|
|
24
|
+
values: { low: low, high: high }
|
|
25
|
+
url: html_url
|
|
26
|
+
completeness: complete
|
|
27
|
+
request:
|
|
28
|
+
host: tickets.example.org
|
|
29
|
+
method: GET
|
|
30
|
+
path: /boards/{board}/items
|
|
31
|
+
query:
|
|
32
|
+
after: '{cursor}'
|
|
33
|
+
items: items
|
|
34
|
+
paging:
|
|
35
|
+
kind: cursor
|
|
36
|
+
cursor_path: next
|
|
37
|
+
complete: always
|
|
38
|
+
---
|
|
39
|
+
# Recorded ticket board
|
|
40
|
+
|
|
41
|
+
All provider responses are synthetic. This declaration selects the shipped public rest-json
|
|
42
|
+
profile, never executable code from this directory.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Convention
|
|
3
|
+
title: Ticket
|
|
4
|
+
governs: Ticket
|
|
5
|
+
path: tickets/
|
|
6
|
+
fields:
|
|
7
|
+
required: [title, state]
|
|
8
|
+
optional: [priority, note, url]
|
|
9
|
+
values:
|
|
10
|
+
state: [open, closed]
|
|
11
|
+
priority: [low, high]
|
|
12
|
+
---
|
|
13
|
+
# Ticket
|
|
14
|
+
|
|
15
|
+
A synthetic issue from an example board. A person's notes stay outside the source-owned fields.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Recipe
|
|
3
|
+
id: recorded-tickets
|
|
4
|
+
title: Recorded ticket integration
|
|
5
|
+
version: '1'
|
|
6
|
+
summary: An offline integration-authoring example over a synthetic ticket board.
|
|
7
|
+
content_policy: definitions-only
|
|
8
|
+
connectors:
|
|
9
|
+
- connectors/tickets.md
|
|
10
|
+
---
|
|
11
|
+
# Recorded tickets
|
|
12
|
+
|
|
13
|
+
A credential-free authoring example. Installation never fetches the synthetic provider.
|