Skip to content

Commit ee6e556

Browse files
committed
ci: Generate code
1 parent f1f1a14 commit ee6e556

File tree

4 files changed

+74
-0
lines changed

4 files changed

+74
-0
lines changed

test/snapshots/blueprint.test.ts.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,36 @@ Generated by [AVA](https://avajs.dev).
601601
undocumentedMessage: '',
602602
workspaceScope: 'required',
603603
},
604+
{
605+
authMethods: [],
606+
codeSamples: [],
607+
deprecationMessage: '',
608+
description: '',
609+
draftMessage: '',
610+
isDeprecated: false,
611+
isDraft: false,
612+
isUndocumented: false,
613+
name: 'create',
614+
path: '/foos/create',
615+
request: {
616+
methods: [
617+
'POST',
618+
],
619+
parameters: [],
620+
preferredMethod: 'POST',
621+
semanticMethod: 'POST',
622+
},
623+
response: {
624+
actionAttemptType: 'CREATE_FOO',
625+
description: 'Create a foo.',
626+
resourceType: 'action_attempt',
627+
responseKey: 'action_attempt',
628+
responseType: 'resource',
629+
},
630+
title: 'Create a foo',
631+
undocumentedMessage: '',
632+
workspaceScope: 'none',
633+
},
604634
{
605635
authMethods: [
606636
'api_key',
@@ -1727,6 +1757,36 @@ Generated by [AVA](https://avajs.dev).
17271757
undocumentedMessage: '',
17281758
workspaceScope: 'required',
17291759
},
1760+
{
1761+
authMethods: [],
1762+
codeSamples: [],
1763+
deprecationMessage: '',
1764+
description: '',
1765+
draftMessage: '',
1766+
isDeprecated: false,
1767+
isDraft: false,
1768+
isUndocumented: false,
1769+
name: 'create',
1770+
path: '/foos/create',
1771+
request: {
1772+
methods: [
1773+
'POST',
1774+
],
1775+
parameters: [],
1776+
preferredMethod: 'POST',
1777+
semanticMethod: 'POST',
1778+
},
1779+
response: {
1780+
actionAttemptType: 'CREATE_FOO',
1781+
description: 'Create a foo.',
1782+
resourceType: 'action_attempt',
1783+
responseKey: 'action_attempt',
1784+
responseType: 'resource',
1785+
},
1786+
title: 'Create a foo',
1787+
undocumentedMessage: '',
1788+
workspaceScope: 'none',
1789+
},
17301790
{
17311791
authMethods: [
17321792
'api_key',
415 Bytes
Binary file not shown.

test/snapshots/seam-blueprint.test.ts.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18871,6 +18871,7 @@ Generated by [AVA](https://avajs.dev).
1887118871
semanticMethod: 'POST',
1887218872
},
1887318873
response: {
18874+
actionAttemptType: 'CREATE_ACCESS_CODE',
1887418875
description: 'OK',
1887518876
resourceType: 'access_code',
1887618877
responseKey: 'access_code',
@@ -22073,6 +22074,7 @@ Generated by [AVA](https://avajs.dev).
2207322074
semanticMethod: 'POST',
2207422075
},
2207522076
response: {
22077+
actionAttemptType: 'ENCODE_CREDENTIAL',
2207622078
description: 'OK',
2207722079
resourceType: 'action_attempt',
2207822080
responseKey: 'action_attempt',
@@ -22151,6 +22153,7 @@ Generated by [AVA](https://avajs.dev).
2215122153
semanticMethod: 'POST',
2215222154
},
2215322155
response: {
22156+
actionAttemptType: 'SCAN_CREDENTIAL',
2215422157
description: 'OK',
2215522158
resourceType: 'action_attempt',
2215622159
responseKey: 'action_attempt',
@@ -28454,6 +28457,7 @@ Generated by [AVA](https://avajs.dev).
2845428457
semanticMethod: 'POST',
2845528458
},
2845628459
response: {
28460+
actionAttemptType: 'LOCK_DOOR',
2845728461
description: 'OK',
2845828462
resourceType: 'action_attempt',
2845928463
responseKey: 'action_attempt',
@@ -28514,6 +28518,7 @@ Generated by [AVA](https://avajs.dev).
2851428518
semanticMethod: 'POST',
2851528519
},
2851628520
response: {
28521+
actionAttemptType: 'UNLOCK_DOOR',
2851728522
description: 'OK',
2851828523
resourceType: 'action_attempt',
2851928524
responseKey: 'action_attempt',
@@ -29301,6 +29306,7 @@ Generated by [AVA](https://avajs.dev).
2930129306
semanticMethod: 'POST',
2930229307
},
2930329308
response: {
29309+
actionAttemptType: 'CREATE_NOISE_THRESHOLD',
2930429310
description: 'OK',
2930529311
resourceType: 'noise_threshold',
2930629312
responseKey: 'noise_threshold',
@@ -30106,6 +30112,7 @@ Generated by [AVA](https://avajs.dev).
3010630112
semanticMethod: 'POST',
3010730113
},
3010830114
response: {
30115+
actionAttemptType: 'ACTIVATE_CLIMATE_PRESET',
3010930116
description: 'OK',
3011030117
resourceType: 'action_attempt',
3011130118
responseKey: 'action_attempt',
@@ -30192,6 +30199,7 @@ Generated by [AVA](https://avajs.dev).
3019230199
semanticMethod: 'POST',
3019330200
},
3019430201
response: {
30202+
actionAttemptType: 'SET_HVAC_MODE',
3019530203
description: 'OK',
3019630204
resourceType: 'action_attempt',
3019730205
responseKey: 'action_attempt',
@@ -30630,6 +30638,7 @@ Generated by [AVA](https://avajs.dev).
3063030638
semanticMethod: 'POST',
3063130639
},
3063230640
response: {
30641+
actionAttemptType: 'SET_HVAC_MODE',
3063330642
description: 'OK',
3063430643
resourceType: 'action_attempt',
3063530644
responseKey: 'action_attempt',
@@ -30742,6 +30751,7 @@ Generated by [AVA](https://avajs.dev).
3074230751
semanticMethod: 'POST',
3074330752
},
3074430753
response: {
30754+
actionAttemptType: 'SET_HVAC_MODE',
3074530755
description: 'OK',
3074630756
resourceType: 'action_attempt',
3074730757
responseKey: 'action_attempt',
@@ -31354,6 +31364,7 @@ Generated by [AVA](https://avajs.dev).
3135431364
semanticMethod: 'POST',
3135531365
},
3135631366
response: {
31367+
actionAttemptType: 'SET_HVAC_MODE',
3135731368
description: 'OK',
3135831369
resourceType: 'action_attempt',
3135931370
responseKey: 'action_attempt',
@@ -31561,6 +31572,7 @@ Generated by [AVA](https://avajs.dev).
3156131572
semanticMethod: 'POST',
3156231573
},
3156331574
response: {
31575+
actionAttemptType: 'SET_FAN_MODE',
3156431576
description: 'OK',
3156531577
resourceType: 'action_attempt',
3156631578
responseKey: 'action_attempt',
@@ -31594,6 +31606,7 @@ Generated by [AVA](https://avajs.dev).
3159431606
semanticMethod: 'POST',
3159531607
},
3159631608
response: {
31609+
actionAttemptType: 'SET_HVAC_MODE',
3159731610
description: 'OK',
3159831611
resourceType: 'action_attempt',
3159931612
responseKey: 'action_attempt',
@@ -33890,6 +33903,7 @@ Generated by [AVA](https://avajs.dev).
3389033903
semanticMethod: 'POST',
3389133904
},
3389233905
response: {
33906+
actionAttemptType: 'RESET_SANDBOX_WORKSPACE',
3389333907
description: 'OK',
3389433908
resourceType: 'action_attempt',
3389533909
responseKey: 'action_attempt',
267 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)