You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis.</p>',
203
+
},
204
+
{
205
+
type: 'TEXT',
206
+
key: 'user.username',
207
+
label: 'Enter your Email Address',
208
+
required: true,
209
+
},
210
+
{
211
+
type: 'PASSWORD',
212
+
key: 'user.password',
213
+
label: 'Enter your Password',
214
+
required: true,
215
+
},
216
+
{
217
+
type: 'SUBMIT_BUTTON',
218
+
label: 'Sign On',
219
+
key: 'submit',
220
+
},
221
+
],
222
+
},
223
+
name: 'SDK - Sign On',
224
+
description: 'This is an out-of-the-box sign on form that prompts for username and password.',
Copy file name to clipboardExpand all lines: packages/davinci-client/src/lib/mock-data/node.next.mock.ts
+118Lines changed: 118 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,3 +85,121 @@ export const nodeNext0 = {
85
85
status: 'continue',
86
86
httpStatus: 200,
87
87
};
88
+
89
+
exportconstnodeNext1={
90
+
cache: {
91
+
key: '1234',
92
+
},
93
+
client: {
94
+
action: 'submit',
95
+
collectors: [
96
+
{
97
+
category: 'SingleValueCollector',
98
+
error: 'Key is not found in the field object. Label is not found in the field object. ',
99
+
id: 'undefined-0',
100
+
input: {
101
+
key: undefined,
102
+
type: 'ERROR_DISPLAY',
103
+
value: '',
104
+
},
105
+
name: undefined,
106
+
output: {
107
+
key: undefined,
108
+
label: undefined,
109
+
type: 'ERROR_DISPLAY',
110
+
value: '',
111
+
},
112
+
type: 'SingleValueCollector',
113
+
},
114
+
{
115
+
category: 'NoValueCollector',
116
+
error: null,
117
+
id: 'LABEL-1',
118
+
name: 'LABEL-1',
119
+
output: {
120
+
key: 'LABEL-1',
121
+
label:
122
+
'<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis.</p>',
123
+
type: 'LABEL',
124
+
},
125
+
type: 'ReadOnlyCollector',
126
+
},
127
+
{
128
+
category: 'ValidatedSingleValueCollector',
129
+
error: null,
130
+
id: 'user.username-2',
131
+
input: {
132
+
key: 'user.username',
133
+
type: 'TEXT',
134
+
validation: [
135
+
{
136
+
message: 'Value cannot be empty',
137
+
rule: true,
138
+
type: 'required',
139
+
},
140
+
],
141
+
value: '',
142
+
},
143
+
name: 'user.username',
144
+
output: {
145
+
key: 'user.username',
146
+
label: 'Enter your Email Address',
147
+
type: 'TEXT',
148
+
value: '',
149
+
},
150
+
type: 'TextCollector',
151
+
},
152
+
{
153
+
category: 'SingleValueCollector',
154
+
error: null,
155
+
id: 'user.password-3',
156
+
input: {
157
+
key: 'user.password',
158
+
type: 'PASSWORD',
159
+
value: '',
160
+
},
161
+
name: 'user.password',
162
+
output: {
163
+
key: 'user.password',
164
+
label: 'Enter your Password',
165
+
type: 'PASSWORD',
166
+
},
167
+
type: 'PasswordCollector',
168
+
},
169
+
{
170
+
category: 'ActionCollector',
171
+
error: null,
172
+
id: 'submit-4',
173
+
name: 'submit',
174
+
output: {
175
+
key: 'submit',
176
+
label: 'Sign On',
177
+
type: 'SUBMIT_BUTTON',
178
+
},
179
+
type: 'SubmitCollector',
180
+
},
181
+
],
182
+
description: 'This is an out-of-the-box sign on form that prompts for username and password.',
0 commit comments