Commit graph

12 commits

Author SHA1 Message Date
Julian Stirling
bb5bc503ef Improve importing of tabs 2025-11-07 12:54:00 +00:00
Julian Stirling
1ba1a3082b More consitent use of mixins for interaactiong with thing descriptions 2025-11-05 17:05:34 +00:00
Julian Stirling
1601bdd123 Let prettier change a load of things because new prettier has new rules :( 2025-11-03 11:33:33 +00:00
Julian Stirling
c085d2c0ac Run lint:fix and accept a huge formatting change 2025-10-28 15:44:17 +00:00
Richard Bowman
0b45a5dc76 Allow action URIs to be retrieved without errors if they are missing
thingActionUrl may now be told to return `undefined` insstead of throwing an error if the action is missing.
2024-01-17 13:43:22 +00:00
Richard Bowman
9817b4963a Handle missing Thing better in thingFormUrl
We now give a helpful error message if the Thing is not found,
rather than returning null. There's an argument to return
`undefined` instead of raising an error, returning undefined
is the default behaviour.
2023-12-01 21:14:24 +00:00
Richard Bowman
0cd8ecd2d5 Add error checking to mixin thing functions
Now we'll get an error if undefined URLs are about to be fetched.
The error will contain thing and affordance, for debugging.
2023-12-01 02:43:17 +00:00
Richard Bowman
5d87a7582e Format fixes 2023-12-01 02:23:58 +00:00
Richard Bowman
89cf58e8c7 Prepend thing description base URL 2023-12-01 01:45:22 +00:00
Richard Bowman
54df1faeeb Linter fixes 2023-11-30 23:21:45 +00:00
Richard Bowman
f1f6ed5f80 Provide centralised readproperty, writeproperty, and action URLs 2023-11-30 22:51:10 +00:00
Richard Bowman
595101248e Removed node-wot but kept centralised TD store
I had intended to store a ConsumedThing for each Thing, in
a module in the store. Until that is possible (will require some
more attention to dependency management) I will just store
the TDs instead.

This commit includes a lot of the code I wrote for node-wot use,
but without any dependence on node-wot.
2023-11-29 22:43:55 +00:00