diff --git a/modularity.md b/modularity.md index c82815f..a64e239 100755 --- a/modularity.md +++ b/modularity.md @@ -8,7 +8,7 @@ > you're probably looking for -an object template is a [toml](https://toml.io) blueprint of an `wgu::ObjectInstance`. it is exported from modules as a `&'static str`. +an object template is a [toml](https://toml.io) blueprint of an `wgu::types::ObjectInstance`. it is exported from modules as a `&'static str`. for referencing templates, the name of the module and the name of the template are used, separated by a `/` (slash) symbol: `{object_type}` diff --git a/object.md b/object.md index c991900..7e9d962 100755 --- a/object.md +++ b/object.md @@ -1,6 +1,6 @@ # objects -**the main unit of organization within the modular object format is the object instance.** an object instance (`wgu::ObjectInstance`, stored & transmitted as a [json object literal](https://benalman.com/news/2010/03/theres-no-such-thing-as-a-json/)) is a data structure representing a piece of computer data of a specified type. +**the main unit of organization within the modular object format is the object instance.** an object instance (`wgu::types::ObjectInstance`, stored & transmitted as a [json object literal](https://benalman.com/news/2010/03/theres-no-such-thing-as-a-json/)) is a data structure representing a piece of computer data of a specified type. core object data is categorized into three categories, `input`, `local`, `remote`. the structure of these categories depends on the object instance's `object_type`. due to this, within wgu, those categories are stored as *json object strings* in the corresponding columns of the `objects` sqlite table. object metadata (`variant`, `object_type`, timestamps, hashes, etc.) are stored alongside these categories. @@ -113,7 +113,7 @@ similarly to [transforms](#transforms), subobjects are defined in the [template ## templates -**an object template ([`wgu::modules::ModuleItem::Template`](modularity.md#moduleitem-template) is a [toml](https://toml.io) blueprint of an `wgu::ObjectInstance`.** templates are used to configure how object instances behave. +**an object template ([`wgu::modules::ModuleItem::Template`](modularity.md#moduleitem-template) is a [toml](https://toml.io) blueprint of an `wgu::types::ObjectInstance`.** templates are used to configure how object instances behave. for referencing templates, the name of the module and the name of the template are used, separated by a `/` (slash) symbol.