Skip to content

Commit

Permalink
Add missing properties in story sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Jul 12, 2024
1 parent de7ff79 commit 3e84713
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,18 @@ export const Content: Story = {
accessCodes={[
{
device_id: 'device_1',
name: 'Code 1',
access_code_id: 'code_1',
created_at: '2023-05-08T22:38:30.963Z',
type: 'ongoing',
code: '1234',
status: 'setting',
is_managed: true,
is_one_time_use: false,
is_offline_access_code: false,
is_backup: false,
is_backup_access_code_available: false,
common_code_key: null,
is_external_modification_allowed: false,
errors: [
{
Expand All @@ -58,17 +64,21 @@ export const Content: Story = {
},
],
},

{
device_id: 'device_1',
name: 'Code 2',
access_code_id: 'code_2',
created_at: '2023-05-08T22:38:30.963Z',
type: 'ongoing',
code: '1234',
status: 'setting',
is_backup_access_code_available: false,
is_external_modification_allowed: true,
appearance: {},
is_managed: true,
is_one_time_use: false,
is_offline_access_code: false,
is_backup: false,
common_code_key: null,
is_external_modification_allowed: false,
errors: [
{
error_code: 'account_disconnected',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ export const Content: Story = {
device_type: 'august_lock',
device_id: 'dev_1',
is_managed: true,
custom_metadata: {},
display_name: 'mydevice',
location: {},
capabilities_supported: [],
created_at: '2023-05-08T22:38:30.963Z',
workspace_id: 'workspace_1',
Expand Down Expand Up @@ -84,9 +87,15 @@ export const Content: Story = {
capabilities_supported: [],
created_at: '2023-05-08T22:38:30.963Z',
workspace_id: 'workspace_1',
custom_metadata: {},
display_name: 'mydevice',
location: {},
properties: {
name: 'mydevice',
online: false,
appearance: {
name: 'mydevice',
},
model: {
display_name: 'Smart Lock 2nd Generation',
manufacturer_display_name: 'August',
Expand Down

0 comments on commit 3e84713

Please sign in to comment.