jsfmt.spec.js.snap 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`interface.graphql 1`] = `
  3. interface Actor {
  4. id: ID
  5. name: String
  6. }
  7. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. interface Actor {
  9. id: ID
  10. name: String
  11. }
  12. `;
  13. exports[`object_type_def.graphql 1`] = `
  14. type Artist implements Node & Entity {
  15. # The ID of an object
  16. id: ID!
  17. # The MBID of the entity.
  18. mbid: MBID!
  19. # A list of recordings linked to this entity.
  20. recordings(after: String, first: Int): RecordingConnection
  21. # A list of releases linked to this entity.
  22. releases(
  23. # Filter by one or more release group types.
  24. type: [ReleaseGroupType]
  25. # Filter by one or more release statuses.
  26. status: [ReleaseStatus]
  27. after: String
  28. first: Int
  29. ): ReleaseConnection
  30. }
  31. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. type Artist implements Node & Entity {
  33. # The ID of an object
  34. id: ID!
  35. # The MBID of the entity.
  36. mbid: MBID!
  37. # A list of recordings linked to this entity.
  38. recordings(after: String, first: Int): RecordingConnection
  39. # A list of releases linked to this entity.
  40. releases(
  41. # Filter by one or more release group types.
  42. type: [ReleaseGroupType]
  43. # Filter by one or more release statuses.
  44. status: [ReleaseStatus]
  45. after: String
  46. first: Int
  47. ): ReleaseConnection
  48. }
  49. `;
  50. exports[`object_type_def_mixed_syntax.graphql 1`] = `
  51. type MixedArtist implements Node, Entity & Releasable {
  52. # The ID of an object
  53. id: ID!
  54. # The MBID of the entity.
  55. mbid: MBID!
  56. # A list of recordings linked to this entity.
  57. recordings(after: String, first: Int): RecordingConnection
  58. # A list of releases linked to this entity.
  59. releases(
  60. # Filter by one or more release group types.
  61. type: [ReleaseGroupType]
  62. # Filter by one or more release statuses.
  63. status: [ReleaseStatus]
  64. after: String
  65. first: Int
  66. ): ReleaseConnection
  67. }
  68. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69. type MixedArtist implements Node & Entity & Releasable {
  70. # The ID of an object
  71. id: ID!
  72. # The MBID of the entity.
  73. mbid: MBID!
  74. # A list of recordings linked to this entity.
  75. recordings(after: String, first: Int): RecordingConnection
  76. # A list of releases linked to this entity.
  77. releases(
  78. # Filter by one or more release group types.
  79. type: [ReleaseGroupType]
  80. # Filter by one or more release statuses.
  81. status: [ReleaseStatus]
  82. after: String
  83. first: Int
  84. ): ReleaseConnection
  85. }
  86. `;
  87. exports[`object_type_def_old_syntax.graphql 1`] = `
  88. type OldArtist implements Node, Entity {
  89. # The ID of an object
  90. id: ID!
  91. # The MBID of the entity.
  92. mbid: MBID!
  93. # A list of recordings linked to this entity.
  94. recordings(after: String, first: Int): RecordingConnection
  95. # A list of releases linked to this entity.
  96. releases(
  97. # Filter by one or more release group types.
  98. type: [ReleaseGroupType]
  99. # Filter by one or more release statuses.
  100. status: [ReleaseStatus]
  101. after: String
  102. first: Int
  103. ): ReleaseConnection
  104. }
  105. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  106. type OldArtist implements Node, Entity {
  107. # The ID of an object
  108. id: ID!
  109. # The MBID of the entity.
  110. mbid: MBID!
  111. # A list of recordings linked to this entity.
  112. recordings(after: String, first: Int): RecordingConnection
  113. # A list of releases linked to this entity.
  114. releases(
  115. # Filter by one or more release group types.
  116. type: [ReleaseGroupType]
  117. # Filter by one or more release statuses.
  118. status: [ReleaseStatus]
  119. after: String
  120. first: Int
  121. ): ReleaseConnection
  122. }
  123. `;