File tree Expand file tree Collapse file tree 3 files changed +80
-75
lines changed
Expand file tree Collapse file tree 3 files changed +80
-75
lines changed Original file line number Diff line number Diff line change @@ -16,81 +16,6 @@ type SourceCodeLine {
1616 content: String
1717}
1818
19- """
20- Source map file details
21- """
22- type SourceMapData {
23- """
24- Source map filename
25- """
26- mapFileName: String!
27-
28- """
29- Original source filename
30- """
31- originFileName: String!
32-
33- """
34- File size in bytes
35- """
36- size: Int!
37- }
38-
39- """
40- Release commit
41- """
42- type Commit {
43- """
44- Hash of the commit
45- """
46- hash: String!
47-
48- """
49- Commit author
50- """
51- author: String!
52-
53- """
54- Commit title
55- """
56- title: String!
57-
58- """
59- Commit creation date
60- """
61- date: DateTime!
62- }
63-
64- """
65- Release data
66- """
67- type Release {
68- """
69- Release ID
70- """
71- id: ID! @renameFrom(name: "_id")
72-
73- """
74- Release name
75- """
76- releaseName: String! @renameFrom(name: "release")
77-
78- """
79- Project ID associated with the release
80- """
81- projectId: ID!
82-
83- """
84- Release commits
85- """
86- commits: [Commit!]!
87-
88- """
89- Source maps associated with the release
90- """
91- files: [SourceMapData!]!
92- }
93-
9419"""
9520Event backtrace representation
9621"""
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import workspaceMutations from './workspaceMutations';
1515import chart from './chart' ;
1616import plans from './plans' ;
1717import seed from './seed' ;
18+ import release from './release' ;
1819import isE2E from '../utils/isE2E' ;
1920
2021const rootSchema = gql `
@@ -98,6 +99,7 @@ const typeDefinitions = [
9899 workspaceMutations ,
99100 chart ,
100101 plans ,
102+ release ,
101103] ;
102104
103105if ( isE2E ) {
Original file line number Diff line number Diff line change 1+ import { gql } from 'apollo-server-express' ;
2+
3+ export default gql `
4+ """
5+ Source map file details
6+ """
7+ type SourceMapData {
8+ """
9+ Source map filename
10+ """
11+ mapFileName: String!
12+
13+ """
14+ Original source filename
15+ """
16+ originFileName: String!
17+
18+ """
19+ File size in bytes
20+ """
21+ size: Int!
22+ }
23+
24+ """
25+ Release commit
26+ """
27+ type Commit {
28+ """
29+ Hash of the commit
30+ """
31+ hash: String!
32+
33+ """
34+ Commit author
35+ """
36+ author: String!
37+
38+ """
39+ Commit title
40+ """
41+ title: String!
42+
43+ """
44+ Commit creation date
45+ """
46+ date: DateTime!
47+ }
48+
49+ """
50+ Release data
51+ """
52+ type Release {
53+ """
54+ Release ID
55+ """
56+ id: ID! @renameFrom(name: "_id")
57+
58+ """
59+ Release name
60+ """
61+ releaseName: String! @renameFrom(name: "release")
62+
63+ """
64+ Project ID associated with the release
65+ """
66+ projectId: ID!
67+
68+ """
69+ Release commits
70+ """
71+ commits: [Commit!]!
72+
73+ """
74+ Source maps associated with the release
75+ """
76+ files: [SourceMapData!]!
77+ }
78+ ` ;
You can’t perform that action at this time.
0 commit comments