-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathschema.graphql
More file actions
5020 lines (4287 loc) · 113 KB
/
schema.graphql
File metadata and controls
5020 lines (4287 loc) · 113 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
enum ActivityTypeSlug {
addedToCollection
completed
created
liked
purchased
}
type AddAssetToCollection {
asset: ChildAsset
collection: CollectionAsset
}
union AnyAsset = CollectionAsset | LessonAsset | MidiAsset | PackAsset | PresetAsset | SampleAsset | VideoAsset
"""
ArchiveManifest represents the content and relative paths of a collection of files,
such as might be bundled into a zip file or DAW project folder.
"""
type ArchiveManifest {
"""Entries is the list of files and directories in the archive"""
entries: [ArchiveManifestEntry!]!
"""Name of the archive, i.e. zip filename"""
name: String
}
"""
ArchiveManifestEntry represents a single file or directory in an ArchiveManifest.
For files, exactly one of `url` or `data` will be set. (Directories have no content.)
"""
type ArchiveManifestEntry {
"""Data is the actual Base64-encoded file content"""
data: String
"""Meta is a list of tags or "key:value" items"""
meta: [String!]
"""
Path of the entry relative to the archive root, e.g. dir/ or my/file.txt
"""
path: String!
"""URL from which to GET the file content"""
url: String
}
enum AssetAccessTypeSlug {
public
subscribed
trial
}
type AssetActivity {
type: ActivityTypeSlug
users: [GUID!]
}
"""
an asset attribute is a property of an asset that is usually determined by
custom business logic, ie it isn't something you can infer from the asset itself
for example a "rare find" is determined by a data science algorithm analyzing user activity
"""
enum AssetAttributeSlug {
presonus_evergreen
rare
}
"""
an asset bundled content daw refers to any daw that has free bundled content
including the asset. For example "presonus_studio_one_pro" indicates this asset
is eligible for presonus studio one pro free bundled content.
"""
enum AssetBundledContentDawSlug {
presonus_studio_one_pro
}
"""
An asset category is essentially the kind of a sample: loop, one shot, etc.
"""
type AssetCategory {
id: Int
"""The user-friendly name for the category (ie, "Foo Bar")"""
label: String
"""The tokenized format of the label. (ie, "foo-bar")"""
slug: AssetCategorySlug
}
enum AssetCategorySlug {
guide
loop
oneshot
technique
}
"""Inputs to return children of one or more parent assets"""
input AssetChildrenInput {
"""Return all children of these parent assets"""
parent_asset_uuids: [GUID]
}
"""Input values used when creating a brand new Asset."""
input AssetCreateInput {
"""
Asset Visibility Slug will be used to represent a video's availability (trial, public or subscribed)
"""
asset_access_type_slug: AssetAccessTypeSlug
asset_category_slug: AssetCategorySlug
asset_status_slug: AssetStatusSlug
asset_type_slug: AssetTypeSlug
banner_image: Upload
child_asset_uuids: [GUID]
cover_image: Upload
description: String
device_uuids: [GUID]
header_image: Upload
instructor_uuids: [GUID]
mp4: Upload
name: String
parent_asset_uuids: [GUID]
provider_uuid: GUID
"""
Public will be used to represent whether the video is available only to all
"""
public: Boolean
"""A string field on a Lesson asset"""
subheader: String
tag_uuids: [String]
"""
Trial will be used to represent whether the video is available only to trial members
"""
trial: Boolean
}
"""a specific minimum version of a device to require"""
type AssetDevice {
device: IDevice
minimum_version: String
"""uuid of a Device"""
uuid: GUID
}
"""Error info on an asset"""
type AssetErrorDetail {
level: AssetErrorLevel
message: String
type: String
}
"""TODO: This requires better documentation"""
enum AssetErrorLevel {
error
warning
}
"""A file associated with an Asset"""
type AssetFile {
asset_file_type_slug: AssetFileTypeSlug
created_at: DateTime
deleted_at: DateTime
fingerprint: String
hash: String
name: String
"""
Path to file in asset directory structure
example: '/path/to/the/folder/filename'
"""
path: String
updated_at: DateTime
"""The fully-qualified URL to the file."""
url: URL
uuid: GUID!
}
"""
The types of files that can me associated with an asset such as images, audio, or source
"""
type AssetFileType {
id: Int
"""The user-friendly name for the type (ie, "Foo Bar")"""
label: String
"""The tokenized format of the label. (ie, "foo-bar")"""
slug: AssetFileTypeSlug
}
enum AssetFileTypeSlug {
banner_image
cover_image
demo_mp3
generated_cover_image
header_image
mp4
preview_mp3
source
srt_transcript
thumbnail_image
vtt_transcript
waveform
zip_file
}
"""A list of files for an asset"""
type AssetFilesList {
assetStatusSlug: String
"""Used to enforce response data policy"""
assetTypeSlug: String
assetUuid: GUID
files: [AssetFile!]
public: Boolean
}
"""
These inputs narrow the characteristics of the Assets returned
in the query. `AssetTypeSlug!` is required, since only one type
of asset can be returned at a time.
"""
input AssetFiltersInput {
"""Optional UUID for searches performed with autocomplete suggestion"""
ac_uuid: String
"""
Filter Sample assets by a specific `asset_category_slug`.
any category set: 'loop'
no category set: 'NOT_SET'
"""
asset_category_slug: AssetCategorySlug
"""Status of assets to return in response"""
asset_status_slug: AssetStatusSlug
"""Only one Asset type can be returned at a time, so this is required."""
asset_type_slug: AssetTypeSlug!
"""
Return only content whose attributes property contains the list of strings
"""
attributes: [AssetAttributeSlug!]
"""Exclude content whose attributes property contains the list of strings"""
attributes_exclude: [AssetAttributeSlug!]
"""
Filter Sample assets by a specific `bpm`.
equal bpm: '120'
not equal bpm: '!120'
any bpm set: 'IS_SET'
no bpm set: 'NOT_SET'
"""
bpm: String
"""
Return only content whose bundled content daws property contains the list of strings
"""
bundled_content_daws: [AssetBundledContentDawSlug!]
"""
Exclude content whose bundled content daws contains the list of strings
"""
bundled_content_daws_exclude: [AssetBundledContentDawSlug!]
"""
Chord types: major, minor
equal chord: 'major'
not equal chord: '!major'
any chord set: 'IS_SET'
no chord set: 'NOT_SET'
"""
chord_type: String
"""Seeds for coso search"""
coso_seed: CosoSeedInput
"""
Only return assets associated with a particular device eg. "serum"
"""
device_name: String
"""Asset Device GUID"""
device_uuids: [GUID]
drums_only: Boolean
"""Only return assets that match a filepath"""
filepath: String
"""
Only return assets associated with a genre e.g. "trap"
"""
genre: String
"""Only return assets that have errors"""
has_errors: Boolean
"""Only return assets that have warnings"""
has_warnings: Boolean
include_inherited_tags: Boolean
"""Asset Instructor GUID"""
instructor_uuids: [GUID]
"""
Sample assets in `key`.
equal key: 'a#'
not equal key: '!a#'
any key set: 'IS_SET'
no key set: 'NOT_SET'
"""
key: String
"""
Return only content that the Authenticated User has a license to use. This is filtered by default.
"""
licensed: Boolean
"""
Return only content that the Authenticated User liked/did not like. This is not filtered by default.
"""
liked: Boolean
"""Filter Sample assets with a maximum `bpm`. Example: 140."""
max_bpm: Int
"""Filter Sample assets with a minimum `bpm`. Example: 120."""
min_bpm: Int
name: String
name_exclude: String
"""Only return assets owned by the current user"""
owned: Boolean
"""Provider UUID"""
provider: GUID
"""Allows filtering by published or unpublished status"""
published: Boolean
"""
URL-encoded search query.
This allows us to execute a string search against multiple fields eg. "Trap Snare"
"""
query: String
"""
Allow legacy clients to query tags in a backward-compatible way.
This input relaxes the `GUID` input type so that we can pass string
identifiers into queries.
"""
tag_ids: [ID]
tag_ids_exclude: [ID]
tag_uuids_exclude: [GUID]
"""Return only content matching the tag uuids in the comma-delimited"""
tags: [ID]
"""Asset User GUID"""
user_uuid: GUID
}
type AssetFolderSummary {
children: [AssetFolderSummary]
count: Int
name: String
}
"""
Ingestion issues for the asset itself, and if a parent asset, all children
"""
type AssetIngestionIssues {
"""Ingestion issue details for all child assets"""
child_issues: [AssetIssueDetail]
"""Ingestion issue details for the asset"""
issues: [AssetIssueDetail]
}
type AssetIssueDetail {
"""Asset type of the asset which is the source of this issue."""
asset_type_slug: AssetTypeSlug
"""GUID of the asset which is the source of this issue."""
asset_uuid: GUID
level: AssetErrorLevel
message: String
metadata: AssetIssueDetailMetadata
"""Ingestion issue type. "upload", for example."""
type: String
}
type AssetIssueDetailMetadata {
assets: [IAsset]
filename: String
fingerprint: String
}
enum AssetJobState {
building
completed
error
pending
processing
unknown
}
"""
Use this input type to query the asset entry point
for legacy assets
"""
input AssetLegacyInput {
searchCatalog: Boolean
type: AssetTypeSlug!
}
"""Paged set of Assets"""
type AssetPage {
device_summary: [DeviceSummary!]
folder_summary: [AssetFolderSummary!]
"""Subset of Assets"""
items: [AnyAsset!]
pagination_metadata: PaginationMetadata
response_metadata: ResponseMetadata
"""
A list of tag uuids and their number of occurrences in the full set of Assets
"""
tag_summary: [TagSummary!]
}
"""Inputs to return the parent of a child asset"""
input AssetParentsInput {
"""Return all parents of a child"""
child_asset_uuid: GUID
}
enum AssetPublishResult {
failure
partial
success
}
"""
An asset status indicates whether an asset is published or unpublished.
"""
type AssetPublishStatus {
child_asset_uuids: [String]
id: Int
parent_asset_uuid: String
}
enum AssetRequestedStatus {
published
unpublished
}
"""
Use this endpoint for parameters for legacy API search inputs. Only contains the parameters necessary to resolve
to legacy endpoints that won't be needed for catalog.
"""
input AssetSearchLegacyInput {
parent_asset_type: AssetTypeSlug
use: Boolean
}
"""Inputs to sort the returned list of Assets"""
input AssetSortInput {
"""asc or desc"""
order: SortOrder
"""
Enforce a stable random sort across page refreshes & pagination.
Send a new random_seed to refresh search results.
"""
random_seed: String
"""The order in which a search query returns results"""
sort: AssetSortType
}
enum AssetSortType {
asset_status_slug
audio_key
bpm
duration
key @deprecated(reason: "key is deprecated, use audio_key")
name
popularity
provider_name
published_at
random
recency
recommended
relevance
score
updated_at
}
"""TODO: This requires better documentation"""
type AssetStatus {
id: Int
"""The user-friendly name for the type (ie, "Foo Bar")"""
label: String
"""The tokenized format of the label. (ie, "foo-bar")"""
slug: AssetStatusSlug
}
"""
As opposed to the `AssetStatusSlug`, this enum lets us specify
additional states when querying assets that don't necessarily
map 1:1 with the status of the assets themselves. For instance,
assets can be queried by whether they're published, but we also
want to return results that the user has licensed, regardless
of the published status of the asset.
"""
enum AssetStatusQuerySlug {
licensed
published
unpublished
}
enum AssetStatusSlug {
published
unpublished
}
"""Asset Type is the type of thing you get."""
type AssetType {
id: Int
"""The user-friendly name for the type (ie, "Foo Bar")"""
label: String
"""The tokenized format of the label. (ie, "foo-bar")"""
slug: AssetTypeSlug
}
enum AssetTypeSlug {
collection
lesson
midi
pack
plugin
preset
sample
video
}
"""
Input values used when creating or updating an Asset. Not all fields are
relevant to all asset types.
"""
input AssetUpdateInput {
"""
Asset Visibility Slug will be used to represent a video's availability (trial, public or subscribed)
"""
asset_access_type_slug: AssetAccessTypeSlug
asset_category_slug: AssetCategorySlug
asset_status_slug: AssetStatusSlug
bpm: Int
child_asset_uuids: [GUID]
chord_type: String
"""An image file of an asset's image preview."""
cover_image: Upload
description: String
"""A device on a preset"""
device_uuid: [GUID]
"""An array of device objects for a video asset"""
device_uuids: [GUID]
"""An array of instructor objects for a video asset"""
instructor_uuids: [GUID]
key: String
"""An array of lessons for a video asset"""
lessons: [GUID]
"""Free form device version"""
minimum_device_version: String
"""mp4 for a video asset"""
mp4: Upload
name: String
parent_asset_uuids: [GUID]
"""Where the asset lives on the site"""
permalink_slug: String
"""An MP3 file of an asset's audio preview."""
preview_mp3: Upload
"""How much to charge"""
price_amount: Float
provider_sku: String
provider_uuid: GUID
"""
Public will be used to represent whether the video is available to all users
"""
public: Boolean
"""A string field on a Lesson asset"""
subheader: String
tag_uuids: [GUID]
"""
Trial will be used to represent whether the video is available only to trial members
"""
trial: Boolean
"""Required during update; ignored during create."""
uuid: GUID
}
"""Input values used when uploading an Asset."""
input AssetUploadInput {
asset_type: AssetTypeSlug
"""A device name is the name of the Preset asset's device"""
device_name: String
"""A minimum device version is the version of the Preset asset's device"""
minimum_device_version: String
uuid: GUID
"""A zip file that is correctly structured for the asset type selected."""
zip: Upload!
}
"""UUID will be deleted soon."""
type AssetUploadStatus {
asset_uuid: GUID!
entity_type: AssetTypeSlug
job_state: AssetJobState
job_uuid: GUID
}
"""Input values used when uploading an Asset."""
input AssetUploadStatusInput {
uuid: GUID
}
type AssetsCost {
count: Int!
price: Price!
type: AssetTypeSlug!
}
type AvailableCreditPacks {
credit_boosters: [CreditPack]
max_credits: Int
recommended: GUID
}
enum BillingFrequencySlug {
annual
monthly
}
type BulkAddAssetsToCollection {
collection: CollectionAsset
}
input BulkAssetActionInput {
assetType: AssetTypeSlug
items: [String]
}
"""
Input values used when creating a brand new Asset.
All of these values needs to match the same filter values that
are pass in the the search for an asset in
apps/graphql/src/app/graphql/catalog/Query.graphql
"""
input BulkAssetUpdateFilters {
asset_category_slug: String
asset_status_slug: AssetStatusSlug
asset_type_slug: AssetTypeSlug!
bpm: String
chord_type: String
device_name: String
device_uuids: [GUID]
excluded_uuids: [GUID]
filepath: String
genre: String
has_errors: Boolean
has_warnings: Boolean
include_inherited_tags: Boolean
instructor_uuids: [GUID]
key: String
licensed: Boolean
liked: Boolean
max_bpm: Int
min_bpm: Int
name: String
name_exclude: String
parent_asset_uuids: [GUID]
provider: GUID
query: String
selected_uuids: [GUID]
tag_uuids_exclude: [GUID]
tags: [GUID]
}
"""Input values used when creating a brand new Asset."""
input BulkAssetUpdateInput {
add_devices: [GUID]
add_instructors: [GUID]
add_parent_asset_uuids: [GUID]
add_tags: [GUID]
asset_access_type_slug: AssetAccessTypeSlug
asset_category_slug: AssetCategorySlug
asset_type_slug: AssetTypeSlug
bpm: Int
chord_type: String
currency: String
device_uuid: String
key: String
marketplace_status_slug: MarketplaceStatusSlug
minimum_device_version: String
price_amount: Float
public: Boolean
remove_all_devices: Boolean
remove_all_instructors: Boolean
remove_all_parent_assets: Boolean
remove_all_tags: Boolean
remove_devices: [GUID]
remove_instructors: [GUID]
remove_parent_asset_uuids: [GUID]
remove_tags: [GUID]
replace_tags: [GUID]
trial: Boolean
}
type BulkPublishResponse {
errors: [PublishError]!
requested_status: AssetRequestedStatus!
result: AssetPublishResult!
}
type CatalogJobError {
asset: AnyAsset
asset_uuid: GUID!
errors: [String]
}
type CatalogJobResponse {
action: String
errors: [CatalogJobError]
id: Int
job_uuid: String
status: String
}
enum CatalogJobStatus {
completed
error
processing
}
union ChildAsset = MidiAsset | PresetAsset | SampleAsset | VideoAsset
enum ChromaType {
CHROMA_TYPE_DEEP
CHROMA_TYPE_UNSPECIFIED
}
type CollectionAsset implements IAsset & IAssetParent & ICollection & ILegacyAsset {
activities: [AssetActivity]
allowed_asset_type_child: [AssetType]
asset_prices: [Price]
asset_status_slug: AssetStatusSlug
asset_type: AssetType
asset_type_slug: AssetTypeSlug
"""Eg. if an asset is rare"""
attributes: [AssetAttributeSlug!]
"""Eg, if asset is eligible for Presonus free bundled content"""
bundled_content_daws: [AssetBundledContentDawSlug!]
catalog_uuid: GUID
"""
A summary count of all child assets of this asset, grouped by asset type.
"""
child_asset_counts: [RelatedAssetsCounts]
"""A query for children of this asset."""
children(filter: AssetFiltersInput!, pagination: CursorPaginationInput, sort: AssetSortInput): AssetPage
cost: [AssetsCost!]
created_at: DateTime
creator: User
description: String
files: [AssetFile!]
"""An array of ingestion issues associated with the asset."""
ingestion_issues: AssetIngestionIssues
is_subscribed: Boolean
legacy_permalink: String
legacy_uuid: GUID
licensed: Boolean
liked: Boolean
marketplace_status_slug: MarketplaceStatusSlug
name: String
owned: Boolean
permalink_base_url: String
permalink_slug: String
provider: Provider
provider_sku: String
provider_uuid: GUID
public: Boolean
subscriber_count: Int
subscribers_subset: [User]
tags: [Tag]
updated_at: DateTime
uuid: GUID!
}
type CompanionPackGroup {
members: [CompanionPackGroupMember]
parent_pack: CompanionPackGroupMember
uuid: ID
}
input CompanionPackGroupInput {
members: [CompanionPackGroupMemberInput]
parent_pack: CompanionPackGroupMemberInput
uuid: ID
}
type CompanionPackGroupMember {
pack: LegacyPack2
}
input CompanionPackGroupMemberInput {
pack: PackInput
}
type ContentGroup {
description: String
entries: [ContentGroupEntry]
title: String
type: String
}
type ContentGroupEntry {
caption: String
main_image_url: String
mobile_image_url: String
sample_pack: ContentGroupSamplePack
sample_pack_uuid: String
type: String
url: String
user_premium_set: ContentGroupUserPremiumSet
user_premium_set_uuid: String
}
type ContentGroupSamplePack {
cover_url: String
demo_mp3_url: String
description: String
liked: Boolean
main_genre: String
name: String
permalink: String
preset_count: Int
provider_name: String
provider_permalink: String
provider_uuid: String
sample_count: Int
tags: [String]
uuid: ID
}
type ContentGroupUser {
avatar_url: String
id: Int
name: String
username: String
}
type ContentGroupUserPremiumSet {
cover_url: String
creator: ContentGroupUser
description: String
name: String
permalink: String
preset_count: Int
sample_count: Int
subscription_count: Int
uuid: ID
}
type ConversionInfo {
amount_off: Int
duration: Int
has_valid_coupon: Boolean
plan_cost: Int
plan_credits: Int
plan_name: String
plan_subtotal: Int
plan_tax: Int
plan_term: BillingFrequencySlug
plan_total: Int
tax_type: String
}
type CosoCustomStackTemplate {
defaultLayers: [String!]
description: String
label: String
layerFilters: [CosoLayerFilter!]
uuid: String!
version: CosoTemplateVersion
}
input CosoCustomStackTemplateInput {
defaultLayers: [String!]
description: String
label: String
layerFilters: [CosoLayerFilterInput!]
prompt: String
uuid: String!
version: CosoTemplateVersionInput
}
type CosoHarmonicModeKey {
audioKey: String
chordType: String
}
type CosoLabelItem {
label: String!
slug: String!
}
type CosoLayerFilter {
bpmMax: Int
bpmMin: Int
layerType: String!
tagFilter: String
}
input CosoLayerFilterInput {
bpmMax: Int
bpmMin: Int
layerType: String!
tagFilter: String
}
type CosoPlaybackMetadata {
bpm: Int
numBars: Int
playbackBpm: Float
psOffset: Int
}
"""
CosoSeedInput is a oneof type for seed input in CoSo new stack queries.
Only one field may be set.
"""
input CosoSeedInput {
"""assetUuid specifies an asset in Splice catalog to use as the seed"""
assetUuid: String
"""clipUuid specifies a clip to use as the seed"""
clipUuid: String
"""seedLayers is a list of existing StackLayers to use as the seed"""
seedLayers: [StackLayerInput!]
"""userAudioFileHash specifies a user audio file to use as the seed"""
userAudioFileHash: String
}
type CosoStackLayerType {
color: String
label: String!
slug: ID!
}
type CosoStackTemplate {
accessLevel: CosoStackTemplateAccessLevel
collageImageUrls: [String!]
coverImageUrl: String