@projectcaluma/ember-testing 14.8.3 → 14.9.0

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.
@@ -521,6 +521,86 @@ type CalculatedFloatQuestion implements Question & Node {
521
521
  id: ID!
522
522
  }
523
523
 
524
+ """
525
+ An enumeration.
526
+ """
527
+ enum CalumaFormHistoricalAnswerHistoryQuestionTypeChoices {
528
+ """
529
+ multiple_choice
530
+ """
531
+ MULTIPLE_CHOICE
532
+
533
+ """
534
+ integer
535
+ """
536
+ INTEGER
537
+
538
+ """
539
+ float
540
+ """
541
+ FLOAT
542
+
543
+ """
544
+ date
545
+ """
546
+ DATE
547
+
548
+ """
549
+ choice
550
+ """
551
+ CHOICE
552
+
553
+ """
554
+ textarea
555
+ """
556
+ TEXTAREA
557
+
558
+ """
559
+ text
560
+ """
561
+ TEXT
562
+
563
+ """
564
+ table
565
+ """
566
+ TABLE
567
+
568
+ """
569
+ form
570
+ """
571
+ FORM
572
+
573
+ """
574
+ files
575
+ """
576
+ FILES
577
+
578
+ """
579
+ dynamic_choice
580
+ """
581
+ DYNAMIC_CHOICE
582
+
583
+ """
584
+ dynamic_multiple_choice
585
+ """
586
+ DYNAMIC_MULTIPLE_CHOICE
587
+
588
+ """
589
+ static
590
+ """
591
+ STATIC
592
+
593
+ """
594
+ calculated_float
595
+ """
596
+ CALCULATED_FLOAT
597
+
598
+ """
599
+ action_button
600
+ """
601
+ ACTION_BUTTON
602
+ }
603
+
524
604
  input CancelCaseInput {
525
605
  id: ID!
526
606
 
@@ -1880,6 +1960,266 @@ input HasAnswerFilterType {
1880
1960
  hierarchy: AnswerHierarchyMode
1881
1961
  }
1882
1962
 
1963
+ interface HistoricalAnswer {
1964
+ id: ID
1965
+ createdAt: DateTime!
1966
+ modifiedAt: DateTime!
1967
+ createdByUser: String
1968
+ createdByGroup: String
1969
+ modifiedByUser: String
1970
+ modifiedByGroup: String
1971
+ question: Question!
1972
+ meta: GenericScalar!
1973
+ historyDate: DateTime!
1974
+ historyUserId: String
1975
+ historyType: String
1976
+ }
1977
+
1978
+ type HistoricalAnswerConnection {
1979
+ """
1980
+ Pagination data for this connection.
1981
+ """
1982
+ pageInfo: PageInfo!
1983
+
1984
+ """
1985
+ Contains the nodes in this connection.
1986
+ """
1987
+ edges: [HistoricalAnswerEdge]!
1988
+ totalCount: Int
1989
+ }
1990
+
1991
+ """
1992
+ A Relay edge containing a `HistoricalAnswer` and its cursor.
1993
+ """
1994
+ type HistoricalAnswerEdge {
1995
+ """
1996
+ The item at the end of the edge
1997
+ """
1998
+ node: HistoricalAnswer
1999
+
2000
+ """
2001
+ A cursor for use in pagination
2002
+ """
2003
+ cursor: String!
2004
+ }
2005
+
2006
+ type HistoricalDateAnswer implements HistoricalAnswer & Node {
2007
+ createdAt: DateTime!
2008
+ modifiedAt: DateTime!
2009
+ createdByUser: String
2010
+ createdByGroup: String
2011
+ modifiedByUser: String
2012
+ modifiedByGroup: String
2013
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2014
+
2015
+ """
2016
+ The ID of the object
2017
+ """
2018
+ id: ID!
2019
+ value: Date
2020
+ meta: GenericScalar!
2021
+ historyUserId: String
2022
+ question: Question!
2023
+ historyId: UUID!
2024
+ historyDate: DateTime!
2025
+ historyChangeReason: String
2026
+ historyType: String
2027
+ date: Date
2028
+ }
2029
+
2030
+ type HistoricalDocument implements Node {
2031
+ historyUserId: String
2032
+ createdAt: DateTime!
2033
+ modifiedAt: DateTime!
2034
+ createdByUser: String
2035
+ createdByGroup: String
2036
+ modifiedByUser: String
2037
+ modifiedByGroup: String
2038
+
2039
+ """
2040
+ The ID of the object
2041
+ """
2042
+ id: ID!
2043
+ meta: GenericScalar
2044
+ form: Form
2045
+
2046
+ """
2047
+ Reference this document has been copied from
2048
+ """
2049
+ source: Document
2050
+ historyDate: DateTime!
2051
+ historyType: String
2052
+ historicalAnswers(
2053
+ asOf: DateTime!
2054
+ excludeDeleted: Boolean = false
2055
+ before: String
2056
+ after: String
2057
+ first: Int
2058
+ last: Int
2059
+ ): HistoricalAnswerConnection
2060
+ documentId: UUID
2061
+ }
2062
+
2063
+ type HistoricalFile implements Node {
2064
+ """
2065
+ The ID of the object
2066
+ """
2067
+ id: ID!
2068
+ name: String!
2069
+ downloadUrl: String
2070
+ metadata: GenericScalar
2071
+ historicalAnswer: HistoricalFilesAnswer
2072
+ historyDate: DateTime!
2073
+ historyUserId: String
2074
+ historyType: String
2075
+ }
2076
+
2077
+ type HistoricalFilesAnswer implements HistoricalAnswer & Node {
2078
+ createdAt: DateTime!
2079
+ modifiedAt: DateTime!
2080
+ createdByUser: String
2081
+ createdByGroup: String
2082
+ modifiedByUser: String
2083
+ modifiedByGroup: String
2084
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2085
+
2086
+ """
2087
+ The ID of the object
2088
+ """
2089
+ id: ID!
2090
+ value(asOf: DateTime!, excludeDeleted: Boolean = false): [HistoricalFile]
2091
+ meta: GenericScalar!
2092
+ historyUserId: String
2093
+ question: Question!
2094
+ historyId: UUID!
2095
+ historyDate: DateTime!
2096
+ historyChangeReason: String
2097
+ historyType: String
2098
+ }
2099
+
2100
+ type HistoricalFloatAnswer implements HistoricalAnswer & Node {
2101
+ createdAt: DateTime!
2102
+ modifiedAt: DateTime!
2103
+ createdByUser: String
2104
+ createdByGroup: String
2105
+ modifiedByUser: String
2106
+ modifiedByGroup: String
2107
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2108
+
2109
+ """
2110
+ The ID of the object
2111
+ """
2112
+ id: ID!
2113
+ value: Float
2114
+ meta: GenericScalar!
2115
+ historyUserId: String
2116
+ question: Question!
2117
+ historyId: UUID!
2118
+ historyDate: DateTime!
2119
+ historyChangeReason: String
2120
+ historyType: String
2121
+ }
2122
+
2123
+ type HistoricalIntegerAnswer implements HistoricalAnswer & Node {
2124
+ createdAt: DateTime!
2125
+ modifiedAt: DateTime!
2126
+ createdByUser: String
2127
+ createdByGroup: String
2128
+ modifiedByUser: String
2129
+ modifiedByGroup: String
2130
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2131
+
2132
+ """
2133
+ The ID of the object
2134
+ """
2135
+ id: ID!
2136
+ value: Int
2137
+ meta: GenericScalar!
2138
+ historyUserId: String
2139
+ question: Question!
2140
+ historyId: UUID!
2141
+ historyDate: DateTime!
2142
+ historyChangeReason: String
2143
+ historyType: String
2144
+ }
2145
+
2146
+ type HistoricalListAnswer implements HistoricalAnswer & Node {
2147
+ createdAt: DateTime!
2148
+ modifiedAt: DateTime!
2149
+ createdByUser: String
2150
+ createdByGroup: String
2151
+ modifiedByUser: String
2152
+ modifiedByGroup: String
2153
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2154
+
2155
+ """
2156
+ The ID of the object
2157
+ """
2158
+ id: ID!
2159
+ value: [String]
2160
+ meta: GenericScalar!
2161
+ historyUserId: String
2162
+ question: Question!
2163
+ historyId: UUID!
2164
+ historyDate: DateTime!
2165
+ historyChangeReason: String
2166
+ historyType: String
2167
+ selectedOptions(
2168
+ before: String
2169
+ after: String
2170
+ first: Int
2171
+ last: Int
2172
+ ): SelectedOptionConnection
2173
+ }
2174
+
2175
+ type HistoricalStringAnswer implements HistoricalAnswer & Node {
2176
+ createdAt: DateTime!
2177
+ modifiedAt: DateTime!
2178
+ createdByUser: String
2179
+ createdByGroup: String
2180
+ modifiedByUser: String
2181
+ modifiedByGroup: String
2182
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2183
+
2184
+ """
2185
+ The ID of the object
2186
+ """
2187
+ id: ID!
2188
+ value: String
2189
+ meta: GenericScalar!
2190
+ historyUserId: String
2191
+ question: Question!
2192
+ historyId: UUID!
2193
+ historyDate: DateTime!
2194
+ historyChangeReason: String
2195
+ historyType: String
2196
+ selectedOption: SelectedOption
2197
+ }
2198
+
2199
+ type HistoricalTableAnswer implements HistoricalAnswer & Node {
2200
+ createdAt: DateTime!
2201
+ modifiedAt: DateTime!
2202
+ createdByUser: String
2203
+ createdByGroup: String
2204
+ modifiedByUser: String
2205
+ modifiedByGroup: String
2206
+ historyQuestionType: CalumaFormHistoricalAnswerHistoryQuestionTypeChoices!
2207
+
2208
+ """
2209
+ The ID of the object
2210
+ """
2211
+ id: ID!
2212
+ value(asOf: DateTime!, excludeDeleted: Boolean = false): [HistoricalDocument]
2213
+ meta: GenericScalar!
2214
+ historyUserId: String
2215
+ question: Question!
2216
+ historyId: UUID!
2217
+ historyDate: DateTime!
2218
+ historyChangeReason: String
2219
+ historyType: String
2220
+ document: Document
2221
+ }
2222
+
1883
2223
  type IntegerAnswer implements Answer & Node {
1884
2224
  createdAt: DateTime!
1885
2225
  modifiedAt: DateTime!
@@ -2285,6 +2625,7 @@ type PageInfo {
2285
2625
  }
2286
2626
 
2287
2627
  type Query {
2628
+ documentAsOf(id: ID!, asOf: DateTime!): HistoricalDocument
2288
2629
  allAnalyticsTables(
2289
2630
  offset: Int
2290
2631
  before: String
@@ -4095,6 +4436,12 @@ enum Type {
4095
4436
  COMPLETE_TASK_FORM
4096
4437
  }
4097
4438
 
4439
+ """
4440
+ Leverages the internal Python implementation of UUID (uuid.UUID) to provide native UUID objects
4441
+ in fields, resolvers and input.
4442
+ """
4443
+ scalar UUID
4444
+
4098
4445
  type ValidationEntry {
4099
4446
  slug: String!
4100
4447
  errorMsg: String!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-testing",
3
- "version": "14.8.3",
3
+ "version": "14.9.0",
4
4
  "description": "Ember addon for testing with Caluma addons.",
5
5
  "keywords": [
6
6
  "ember-addon"