aboutsummaryrefslogtreecommitdiff
path: root/docs/issue-sources-spec.org
diff options
context:
space:
mode:
Diffstat (limited to 'docs/issue-sources-spec.org')
-rw-r--r--docs/issue-sources-spec.org9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/issue-sources-spec.org b/docs/issue-sources-spec.org
index 101e13a..a4374c3 100644
--- a/docs/issue-sources-spec.org
+++ b/docs/issue-sources-spec.org
@@ -37,7 +37,9 @@ Each =Favorite= node carries =type= (the dispatch key), =title= (a ready display
: query { favorites { nodes { id type title url sortOrder
: customView { id } project { id } cycle { id }
-: label { id } user { id } issue { id identifier } team { id } } } }
+: label { id } user { id } issue { id identifier }
+: team { id } projectLabel { id } document { id } dashboard { id } }
+: pageInfo { hasNextPage endCursor } } }
Introspection of the =Favorite= type confirmed the favoritable entity fields: =issue=, =project=, =cycle=, =customView=, =label=, =projectLabel=, =user=, =team=, =document=, =initiative=, =dashboard=, =pullRequest=, =release=, =releaseNote=, =facet=, =predefinedViewType=, =projectTab=, =customer=, plus convenience fields =title=, =url=, =detail=, =color=, =icon=, =folderName=, =owner=, =sortOrder=. Craig's current 9 favorites span customView / project / issue; the schema supports the rest.
@@ -49,12 +51,11 @@ Pagination: the =favorites= connection is paginated like other Linear connection
| favorite =type= | required API fields | v1 action | persisted source |
|----------------------+------------------------+--------------------+----------------------------------------------------|
-| =customView= | =customView.id=, title | run the view | =(:type view :name T :view-id ID)= |
+| =customView= | =customView.id=, title | run the view | =(:type view :name T :id ID :url URL)= |
| =project= | =project.id=, title | filter | =(:type filter :name T :filter (:project ID :open t))= |
| =cycle= | =cycle.id=, title | filter | =(:type filter :name T :filter (:cycle ID :open t))= |
-| =label= / =projectLabel= | =label.id=, title | filter | =(:type filter :name T :filter (:label-id ID :open t))= |
+| =label= | =label.id=, title | filter | =(:type filter :name T :filter (:label-id ID :open t))= |
| =user= | =user.id=, title | filter | =(:type filter :name T :filter (:assignee-id ID :open t))= |
-| =team= | =team.id=, title | filter | =(:type filter :name T :filter (:team ID :open t))= |
| =issue= | =issue.identifier=, url | browser-only (HP2) | none — opens =url=, renders no source |
| anything else | =url=, title | browser-only | none — opens =url= |