@twin.org/standards-foaf 0.0.3-next.3 → 0.0.3-next.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/es/dataTypes/foafDataTypes.js +36 -44
  2. package/dist/es/dataTypes/foafDataTypes.js.map +1 -1
  3. package/dist/es/index.js +7 -7
  4. package/dist/es/index.js.map +1 -1
  5. package/dist/es/models/IFoafAgent.js +2 -0
  6. package/dist/es/models/IFoafAgent.js.map +1 -0
  7. package/dist/es/models/IFoafBaseObject.js +2 -0
  8. package/dist/es/models/IFoafBaseObject.js.map +1 -0
  9. package/dist/es/models/IFoafDocument.js +2 -0
  10. package/dist/es/models/IFoafDocument.js.map +1 -0
  11. package/dist/es/models/IFoafGroup.js +2 -0
  12. package/dist/es/models/IFoafGroup.js.map +1 -0
  13. package/dist/es/models/IFoafImage.js +2 -0
  14. package/dist/es/models/IFoafImage.js.map +1 -0
  15. package/dist/es/models/IFoafOrganization.js +2 -0
  16. package/dist/es/models/IFoafOrganization.js.map +1 -0
  17. package/dist/es/models/IFoafPerson.js +2 -0
  18. package/dist/es/models/IFoafPerson.js.map +1 -0
  19. package/dist/es/models/foafContextType.js.map +1 -1
  20. package/dist/es/models/foafContexts.js +12 -6
  21. package/dist/es/models/foafContexts.js.map +1 -1
  22. package/dist/es/schemas/{Agent.json → FoafAgent.json} +5 -5
  23. package/dist/es/schemas/{Document.json → FoafDocument.json} +2 -2
  24. package/dist/es/schemas/{Group.json → FoafGroup.json} +7 -7
  25. package/dist/es/schemas/{Image.json → FoafImage.json} +3 -3
  26. package/dist/es/schemas/{Organization.json → FoafOrganization.json} +5 -5
  27. package/dist/es/schemas/{Person.json → FoafPerson.json} +8 -8
  28. package/dist/types/index.d.ts +7 -7
  29. package/dist/types/models/{IAgent.d.ts → IFoafAgent.d.ts} +6 -6
  30. package/dist/types/models/{IBaseObject.d.ts → IFoafBaseObject.d.ts} +3 -3
  31. package/dist/types/models/{IDocument.d.ts → IFoafDocument.d.ts} +2 -2
  32. package/dist/types/models/{IGroup.d.ts → IFoafGroup.d.ts} +3 -3
  33. package/dist/types/models/{IImage.d.ts → IFoafImage.d.ts} +3 -3
  34. package/dist/types/models/{IOrganization.d.ts → IFoafOrganization.d.ts} +2 -2
  35. package/dist/types/models/{IPerson.d.ts → IFoafPerson.d.ts} +5 -5
  36. package/dist/types/models/foafContextType.d.ts +1 -1
  37. package/dist/types/models/foafContexts.d.ts +12 -6
  38. package/docs/changelog.md +196 -0
  39. package/docs/reference/index.md +7 -7
  40. package/docs/reference/interfaces/{IAgent.md → IFoafAgent.md} +16 -16
  41. package/docs/reference/interfaces/{IBaseObject.md → IFoafBaseObject.md} +4 -4
  42. package/docs/reference/interfaces/{IDocument.md → IFoafDocument.md} +11 -11
  43. package/docs/reference/interfaces/{IGroup.md → IFoafGroup.md} +20 -20
  44. package/docs/reference/interfaces/{IImage.md → IFoafImage.md} +14 -14
  45. package/docs/reference/interfaces/{IOrganization.md → IFoafOrganization.md} +19 -19
  46. package/docs/reference/interfaces/{IPerson.md → IFoafPerson.md} +21 -21
  47. package/docs/reference/type-aliases/FoafContextType.md +1 -1
  48. package/docs/reference/variables/FoafContexts.md +17 -9
  49. package/package.json +1 -1
  50. package/dist/es/models/IAgent.js +0 -2
  51. package/dist/es/models/IAgent.js.map +0 -1
  52. package/dist/es/models/IBaseObject.js +0 -2
  53. package/dist/es/models/IBaseObject.js.map +0 -1
  54. package/dist/es/models/IDocument.js +0 -2
  55. package/dist/es/models/IDocument.js.map +0 -1
  56. package/dist/es/models/IGroup.js +0 -2
  57. package/dist/es/models/IGroup.js.map +0 -1
  58. package/dist/es/models/IImage.js +0 -2
  59. package/dist/es/models/IImage.js.map +0 -1
  60. package/dist/es/models/IOrganization.js +0 -2
  61. package/dist/es/models/IOrganization.js.map +0 -1
  62. package/dist/es/models/IPerson.js +0 -2
  63. package/dist/es/models/IPerson.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"IDocument.js","sourceRoot":"","sources":["../../../src/models/IDocument.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IBaseObject } from \"./IBaseObject.js\";\n\n/**\n * A FOAF Document\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IDocument extends IBaseObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\": typeof FoafTypes.Document | typeof FoafTypes.Image;\n\n\t/**\n\t * A topic of some page or document.\n\t * @see http://xmlns.com/foaf/spec/#term_topic\n\t */\n\ttopic?: string;\n\n\t/**\n\t * The primary topic of some page or document.\n\t * @see http://xmlns.com/foaf/spec/#term_primaryTopic\n\t */\n\tprimaryTopic?: ObjectOrArray<IJsonLdNodeObject>;\n\n\t/**\n\t * A sha1sum hash, in hex.\n\t * @see http://xmlns.com/foaf/spec/#term_sha1sum\n\t */\n\tsha1?: string;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IGroup.js","sourceRoot":"","sources":["../../../src/models/IGroup.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IAgent } from \"./IAgent.js\";\n\n/**\n * A FOAF Group.\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IGroup extends IAgent {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\": typeof FoafTypes.Group;\n\n\t/**\n\t * Indicates a member of a Group\n\t * @see http://xmlns.com/foaf/spec/#term_member\n\t */\n\tmember?: ObjectOrArray<IAgent>;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IImage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IImage.js","sourceRoot":"","sources":["../../../src/models/IImage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IDocument } from \"./IDocument.js\";\n\n/**\n * A FOAF image.\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IImage extends IDocument {\n\t/**\n\t * The LD Context.\n\t *\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\": typeof FoafTypes.Image;\n\n\t/**\n\t * A thing depicted in this representation.\n\t * @see http://xmlns.com/foaf/spec/#term_depicts\n\t */\n\tdepicts?: IJsonLdNodeObject;\n\n\t/**\n\t * A derived thumbnail image.\n\t * @see http://xmlns.com/foaf/spec/#term_thumbnail\n\t */\n\tthumbnail?: IImage;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IOrganization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IOrganization.js","sourceRoot":"","sources":["../../../src/models/IOrganization.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IAgent } from \"./IAgent.js\";\n\n/**\n * A FOAF Organization.\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IOrganization extends IAgent {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\": typeof FoafTypes.Organization;\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IPerson.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IPerson.js","sourceRoot":"","sources":["../../../src/models/IPerson.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IAgent } from \"./IAgent.js\";\nimport type { IImage } from \"./IImage.js\";\n\n/**\n * A FOAF Person.\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IPerson extends IAgent {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\": typeof FoafTypes.Person;\n\n\t/**\n\t * The family name of some person.\n\t * @see http://xmlns.com/foaf/spec/#term_familyName\n\t */\n\tfamilyName?: string;\n\n\t/**\n\t * The given name of some person.\n\t * @see http://xmlns.com/foaf/spec/#term_givenName\n\t */\n\tgivenName?: string;\n\n\t/**\n\t * A person known by this person (indicating some level of reciprocated interaction between the parties).\n\t * @see http://xmlns.com/foaf/spec/#term_knows\n\t */\n\tknows?: ObjectOrArray<IAgent>;\n\n\t/**\n\t * An image that can be used to represent some thing.\n\t * @see http://xmlns.com/foaf/spec/#term_img\n\t */\n\timg?: IImage;\n\n\t/**\n\t * A short informal nickname characterizing an agent (includes login identifiers, IRC and other chat nicknames).\n\t * @see http://xmlns.com/foaf/spec/#term_nick\n\t */\n\tnick?: string;\n}\n"]}