@blockprotocol/graph
Advanced tools
Comparing version 0.0.8 to 0.0.9-canary.0
@@ -28,3 +28,3 @@ "use strict"; | ||
const expectedMessageSource = "embedder"; | ||
const messageJsonDefinition = graph_service_json_1.default.messages.find((message) => message.name === messageName && | ||
const messageJsonDefinition = graph_service_json_1.default.messages.find((message) => message.messageName === messageName && | ||
message.source === expectedMessageSource); | ||
@@ -31,0 +31,0 @@ if (!messageJsonDefinition) { |
@@ -33,3 +33,3 @@ "use strict"; | ||
const expectedMessageSource = "block"; | ||
const messageJsonDefinition = graph_service_json_1.default.messages.find((message) => message.name === messageName && | ||
const messageJsonDefinition = graph_service_json_1.default.messages.find((message) => message.messageName === messageName && | ||
message.source === expectedMessageSource); | ||
@@ -36,0 +36,0 @@ if (!messageJsonDefinition) { |
@@ -7,6 +7,6 @@ { | ||
{ | ||
"name": "createEntity", | ||
"messageName": "createEntity", | ||
"description": "Request to create an entity", | ||
"source": "block", | ||
"respondedToByMessage": "createEntityResponse", | ||
"respondedToBy": "createEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -37,6 +37,6 @@ "data": { | ||
{ | ||
"name": "createEntityResponse", | ||
"messageName": "createEntityResponse", | ||
"description": "The response to a request to create an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -46,4 +46,4 @@ "data": { | ||
"properties": { | ||
"description": "The newly created entity", | ||
"entity": { | ||
"description": "The newly created entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -54,9 +54,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateEntity", | ||
"messageName": "updateEntity", | ||
"description": "Request to update an entity, with the properties to update", | ||
"source": "block", | ||
"respondedToByMessage": "updateEntityResponse", | ||
"respondedToBy": "updateEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -80,6 +80,6 @@ "data": { | ||
{ | ||
"name": "updateEntityResponse", | ||
"messageName": "updateEntityResponse", | ||
"description": "The response to a request to update an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -89,4 +89,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated entity", | ||
"entity": { | ||
"description": "The updated entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -97,9 +97,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteEntity", | ||
"messageName": "deleteEntity", | ||
"description": "Request to delete an entity, expecting 'true' in response if the operation succeeds.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteEntityResponse", | ||
"respondedToBy": "deleteEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -119,6 +119,6 @@ "data": { | ||
{ | ||
"name": "deleteEntityResponse", | ||
"messageName": "deleteEntityResponse", | ||
"description": "The response to a request to delete an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -129,9 +129,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getEntity", | ||
"messageName": "getEntity", | ||
"description": "Request to retrieve an entity, expecting the entity in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getEntityResponse", | ||
"respondedToBy": "getEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -151,6 +151,6 @@ "data": { | ||
{ | ||
"name": "getEntityResponse", | ||
"messageName": "getEntityResponse", | ||
"description": "The response to a request to get an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -160,4 +160,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved entity", | ||
"entity": { | ||
"description": "The retrieved entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -168,9 +168,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "aggregateEntities", | ||
"messageName": "aggregateEntities", | ||
"description": "Request to retrieve an aggregation of entities.", | ||
"source": "block", | ||
"respondedToByMessage": "aggregateEntitiesResponse", | ||
"respondedToBy": "aggregateEntitiesResponse", | ||
"sentOnInitialization": false, | ||
@@ -180,4 +180,4 @@ "data": { | ||
"properties": { | ||
"description": "The aggregation operation to apply", | ||
"operation": { | ||
"description": "The aggregation operation to apply", | ||
"$ref": "https://blockprotocol.org/types/services/graph/aggregation-operation" | ||
@@ -191,6 +191,6 @@ } | ||
{ | ||
"name": "aggregateEntitiesResponse", | ||
"messageName": "aggregateEntitiesResponse", | ||
"description": "The response to a request to retrieve an aggregation of entities", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -214,9 +214,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "createEntityType", | ||
"messageName": "createEntityType", | ||
"description": "Request to create an entity type, expecting the created entity type in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createEntityTypeResponse", | ||
"respondedToBy": "createEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -236,6 +236,6 @@ "data": { | ||
{ | ||
"name": "createEntityTypeResponse", | ||
"messageName": "createEntityTypeResponse", | ||
"description": "The response to a request to create an entityType", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -245,4 +245,4 @@ "data": { | ||
"properties": { | ||
"description": "The created entity type", | ||
"entityType": { | ||
"description": "The created entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -253,9 +253,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateEntityType", | ||
"messageName": "updateEntityType", | ||
"description": "Request to update an entityType, expecting the updated entityType in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateEntityTypeResponse", | ||
"respondedToBy": "updateEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -279,6 +279,6 @@ "data": { | ||
{ | ||
"name": "updateEntityTypeResponse", | ||
"messageName": "updateEntityTypeResponse", | ||
"description": "The response to a request to update an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -288,4 +288,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated entity type", | ||
"entityType": { | ||
"description": "The updated entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -296,9 +296,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteEntityType", | ||
"messageName": "deleteEntityType", | ||
"description": "Request to delete an entityType, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteEntityTypeResponse", | ||
"respondedToBy": "deleteEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -318,6 +318,6 @@ "data": { | ||
{ | ||
"name": "deleteEntityTypeResponse", | ||
"messageName": "deleteEntityTypeResponse", | ||
"description": "The response to a request to delete an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -328,9 +328,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getEntityType", | ||
"messageName": "getEntityType", | ||
"description": "Request to retrieve an entity type, expecting the entity type in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getEntityTypeResponse", | ||
"respondedToBy": "getEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -350,6 +350,6 @@ "data": { | ||
{ | ||
"name": "getEntityTypeResponse", | ||
"messageName": "getEntityTypeResponse", | ||
"description": "The response to a request to get an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -359,4 +359,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved entity type", | ||
"entityType": { | ||
"description": "The retrieved entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -367,9 +367,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "aggregateEntityTypes", | ||
"messageName": "aggregateEntityTypes", | ||
"description": "Request to retrieve an aggregation of entity types.", | ||
"source": "block", | ||
"respondedToByMessage": "aggregateEntityTypesResponse", | ||
"respondedToBy": "aggregateEntityTypesResponse", | ||
"sentOnInitialization": false, | ||
@@ -379,5 +379,5 @@ "data": { | ||
"properties": { | ||
"description": "The aggregation operation to apply", | ||
"operation": { | ||
"$ref": "https://blockprotocol.org/types/LinkedAggregationOperation" | ||
"description": "The aggregation operation to apply", | ||
"$ref": "https://blockprotocol.org/types/services/graph/aggregation-operation" | ||
} | ||
@@ -390,6 +390,6 @@ }, | ||
{ | ||
"name": "aggregateEntityTypesResponse", | ||
"messageName": "aggregateEntityTypesResponse", | ||
"description": "The response to a request to retrieve an aggregation of entity types", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -413,9 +413,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "createLink", | ||
"messageName": "createLink", | ||
"description": "Request to create a link, expecting the created link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createLinkResponse", | ||
"respondedToBy": "createLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -447,6 +447,6 @@ "data": { | ||
{ | ||
"name": "createLinkResponse", | ||
"messageName": "createLinkResponse", | ||
"description": "The response to a request to create a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -456,4 +456,4 @@ "data": { | ||
"properties": { | ||
"description": "The created link", | ||
"link": { | ||
"description": "The created link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -464,9 +464,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateLink", | ||
"messageName": "updateLink", | ||
"description": "Request to update a link, expecting the updated link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateLinkResponse", | ||
"respondedToBy": "updateLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -490,6 +490,6 @@ "data": { | ||
{ | ||
"name": "updateLinkResponse", | ||
"messageName": "updateLinkResponse", | ||
"description": "The response to a request to update a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -499,4 +499,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated link", | ||
"link": { | ||
"description": "The updated link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -507,9 +507,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteLink", | ||
"messageName": "deleteLink", | ||
"description": "Request to delete a link, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteLinkResponse", | ||
"respondedToBy": "deleteLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -529,6 +529,6 @@ "data": { | ||
{ | ||
"name": "deleteLinkResponse", | ||
"messageName": "deleteLinkResponse", | ||
"description": "The response to a request to delete a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -539,9 +539,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getLink", | ||
"messageName": "getLink", | ||
"description": "Request to retrieve a link, expecting the link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getLinkResponse", | ||
"respondedToBy": "getLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -561,6 +561,6 @@ "data": { | ||
{ | ||
"name": "getLinkResponse", | ||
"messageName": "getLinkResponse", | ||
"description": "The response to a request to get a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -570,4 +570,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved link", | ||
"link": { | ||
"description": "The retrieved link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -578,9 +578,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "createLinkedAggregation", | ||
"messageName": "createLinkedAggregation", | ||
"description": "Request to create a linked aggregation, expecting the created linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createLinkedAggregationResponse", | ||
"respondedToBy": "createLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -608,6 +608,6 @@ "data": { | ||
{ | ||
"name": "createLinkedAggregationResponse", | ||
"messageName": "createLinkedAggregationResponse", | ||
"description": "The response to a request to create a linkedAggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -617,4 +617,4 @@ "data": { | ||
"properties": { | ||
"description": "The created linked aggregation", | ||
"linkedAggregation": { | ||
"description": "The created linked aggregation", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation-definition" | ||
@@ -625,9 +625,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateLinkedAggregation", | ||
"messageName": "updateLinkedAggregation", | ||
"description": "Request to update a linked aggregation, expecting the updated linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateLinkedAggregationResponse", | ||
"respondedToBy": "updateLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -651,6 +651,6 @@ "data": { | ||
{ | ||
"name": "updateLinkedAggregationResponse", | ||
"messageName": "updateLinkedAggregationResponse", | ||
"description": "The response to a request to update a linked aggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -660,16 +660,16 @@ "data": { | ||
"properties": { | ||
"description": "The updated linked aggregation definition", | ||
"linkedAggregation": { | ||
"description": "The updated linked aggregation definition", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation-definition" | ||
}, | ||
"required": ["linkedAggregation"] | ||
} | ||
} | ||
}, | ||
"required": ["linkedAggregation"] | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteLinkedAggregation", | ||
"messageName": "deleteLinkedAggregation", | ||
"description": "Request to delete a linked aggregation, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteLinkedAggregationResponse", | ||
"respondedToBy": "deleteLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -689,6 +689,6 @@ "data": { | ||
{ | ||
"name": "deleteLinkedAggregationResponse", | ||
"messageName": "deleteLinkedAggregationResponse", | ||
"description": "The response to a request to delete a linked aggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -698,9 +698,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getLinkedAggregation", | ||
"messageName": "getLinkedAggregation", | ||
"description": "Request to retrieve a linked aggregation, expecting the linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getLinkedAggregationResponse", | ||
"respondedToBy": "getLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -720,6 +720,6 @@ "data": { | ||
{ | ||
"name": "getLinkedAggregationResponse", | ||
"messageName": "getLinkedAggregationResponse", | ||
"description": "The response to a request to get a linkedAggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -729,4 +729,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved linked aggregation", | ||
"linkedAggregation": { | ||
"description": "The retrieved linked aggregation", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation" | ||
@@ -737,9 +737,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "uploadFile", | ||
"messageName": "uploadFile", | ||
"description": "Request to upload a file and create an entity to store metadata about it.", | ||
"source": "block", | ||
"respondedToByMessage": "uploadFileResponse", | ||
"respondedToBy": "uploadFileResponse", | ||
"sentOnInitialization": false, | ||
@@ -767,6 +767,6 @@ "data": { | ||
{ | ||
"name": "uploadFileResponse", | ||
"messageName": "uploadFileResponse", | ||
"description": "The response to a request to create an entity storing metadata about an uploaded file.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -791,9 +791,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "blockEntity", | ||
"messageName": "blockEntity", | ||
"description": "The entity associated with the block", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -806,6 +806,6 @@ "data": { | ||
{ | ||
"name": "blockGraph", | ||
"messageName": "blockGraph", | ||
"description": "A graph of entities with the block entity at the root, resolved to the specified depth.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -840,6 +840,6 @@ "data": { | ||
{ | ||
"name": "entityTypes", | ||
"messageName": "entityTypes", | ||
"description": "The entity types for any entities provided to the block as part of other messages.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -855,6 +855,6 @@ "data": { | ||
{ | ||
"name": "linkedAggregations", | ||
"messageName": "linkedAggregations", | ||
"description": "Aggregations which are linked to from the block entity.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -870,6 +870,6 @@ "data": { | ||
{ | ||
"name": "readonly", | ||
"messageName": "readonly", | ||
"description": "Indicates if the block should display in 'readonly' mode, i.e. without editing controls.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -876,0 +876,0 @@ "data": { |
@@ -22,3 +22,3 @@ import { ServiceHandler } from "@blockprotocol/core"; | ||
const expectedMessageSource = "embedder"; | ||
const messageJsonDefinition = serviceJsonDefinition.messages.find((message) => message.name === messageName && | ||
const messageJsonDefinition = serviceJsonDefinition.messages.find((message) => message.messageName === messageName && | ||
message.source === expectedMessageSource); | ||
@@ -25,0 +25,0 @@ if (!messageJsonDefinition) { |
@@ -27,3 +27,3 @@ import { ServiceHandler } from "@blockprotocol/core"; | ||
const expectedMessageSource = "block"; | ||
const messageJsonDefinition = serviceJsonDefinition.messages.find((message) => message.name === messageName && | ||
const messageJsonDefinition = serviceJsonDefinition.messages.find((message) => message.messageName === messageName && | ||
message.source === expectedMessageSource); | ||
@@ -30,0 +30,0 @@ if (!messageJsonDefinition) { |
@@ -7,6 +7,6 @@ { | ||
{ | ||
"name": "createEntity", | ||
"messageName": "createEntity", | ||
"description": "Request to create an entity", | ||
"source": "block", | ||
"respondedToByMessage": "createEntityResponse", | ||
"respondedToBy": "createEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -37,6 +37,6 @@ "data": { | ||
{ | ||
"name": "createEntityResponse", | ||
"messageName": "createEntityResponse", | ||
"description": "The response to a request to create an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -46,4 +46,4 @@ "data": { | ||
"properties": { | ||
"description": "The newly created entity", | ||
"entity": { | ||
"description": "The newly created entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -54,9 +54,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateEntity", | ||
"messageName": "updateEntity", | ||
"description": "Request to update an entity, with the properties to update", | ||
"source": "block", | ||
"respondedToByMessage": "updateEntityResponse", | ||
"respondedToBy": "updateEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -80,6 +80,6 @@ "data": { | ||
{ | ||
"name": "updateEntityResponse", | ||
"messageName": "updateEntityResponse", | ||
"description": "The response to a request to update an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -89,4 +89,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated entity", | ||
"entity": { | ||
"description": "The updated entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -97,9 +97,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteEntity", | ||
"messageName": "deleteEntity", | ||
"description": "Request to delete an entity, expecting 'true' in response if the operation succeeds.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteEntityResponse", | ||
"respondedToBy": "deleteEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -119,6 +119,6 @@ "data": { | ||
{ | ||
"name": "deleteEntityResponse", | ||
"messageName": "deleteEntityResponse", | ||
"description": "The response to a request to delete an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -129,9 +129,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getEntity", | ||
"messageName": "getEntity", | ||
"description": "Request to retrieve an entity, expecting the entity in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getEntityResponse", | ||
"respondedToBy": "getEntityResponse", | ||
"sentOnInitialization": false, | ||
@@ -151,6 +151,6 @@ "data": { | ||
{ | ||
"name": "getEntityResponse", | ||
"messageName": "getEntityResponse", | ||
"description": "The response to a request to get an entity", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -160,4 +160,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved entity", | ||
"entity": { | ||
"description": "The retrieved entity", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity" | ||
@@ -168,9 +168,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "aggregateEntities", | ||
"messageName": "aggregateEntities", | ||
"description": "Request to retrieve an aggregation of entities.", | ||
"source": "block", | ||
"respondedToByMessage": "aggregateEntitiesResponse", | ||
"respondedToBy": "aggregateEntitiesResponse", | ||
"sentOnInitialization": false, | ||
@@ -180,4 +180,4 @@ "data": { | ||
"properties": { | ||
"description": "The aggregation operation to apply", | ||
"operation": { | ||
"description": "The aggregation operation to apply", | ||
"$ref": "https://blockprotocol.org/types/services/graph/aggregation-operation" | ||
@@ -191,6 +191,6 @@ } | ||
{ | ||
"name": "aggregateEntitiesResponse", | ||
"messageName": "aggregateEntitiesResponse", | ||
"description": "The response to a request to retrieve an aggregation of entities", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -214,9 +214,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "createEntityType", | ||
"messageName": "createEntityType", | ||
"description": "Request to create an entity type, expecting the created entity type in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createEntityTypeResponse", | ||
"respondedToBy": "createEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -236,6 +236,6 @@ "data": { | ||
{ | ||
"name": "createEntityTypeResponse", | ||
"messageName": "createEntityTypeResponse", | ||
"description": "The response to a request to create an entityType", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -245,4 +245,4 @@ "data": { | ||
"properties": { | ||
"description": "The created entity type", | ||
"entityType": { | ||
"description": "The created entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -253,9 +253,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateEntityType", | ||
"messageName": "updateEntityType", | ||
"description": "Request to update an entityType, expecting the updated entityType in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateEntityTypeResponse", | ||
"respondedToBy": "updateEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -279,6 +279,6 @@ "data": { | ||
{ | ||
"name": "updateEntityTypeResponse", | ||
"messageName": "updateEntityTypeResponse", | ||
"description": "The response to a request to update an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -288,4 +288,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated entity type", | ||
"entityType": { | ||
"description": "The updated entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -296,9 +296,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteEntityType", | ||
"messageName": "deleteEntityType", | ||
"description": "Request to delete an entityType, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteEntityTypeResponse", | ||
"respondedToBy": "deleteEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -318,6 +318,6 @@ "data": { | ||
{ | ||
"name": "deleteEntityTypeResponse", | ||
"messageName": "deleteEntityTypeResponse", | ||
"description": "The response to a request to delete an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -328,9 +328,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getEntityType", | ||
"messageName": "getEntityType", | ||
"description": "Request to retrieve an entity type, expecting the entity type in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getEntityTypeResponse", | ||
"respondedToBy": "getEntityTypeResponse", | ||
"sentOnInitialization": false, | ||
@@ -350,6 +350,6 @@ "data": { | ||
{ | ||
"name": "getEntityTypeResponse", | ||
"messageName": "getEntityTypeResponse", | ||
"description": "The response to a request to get an entity type", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -359,4 +359,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved entity type", | ||
"entityType": { | ||
"description": "The retrieved entity type", | ||
"$ref": "https://blockprotocol.org/types/services/graph/entity-type" | ||
@@ -367,9 +367,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "aggregateEntityTypes", | ||
"messageName": "aggregateEntityTypes", | ||
"description": "Request to retrieve an aggregation of entity types.", | ||
"source": "block", | ||
"respondedToByMessage": "aggregateEntityTypesResponse", | ||
"respondedToBy": "aggregateEntityTypesResponse", | ||
"sentOnInitialization": false, | ||
@@ -379,5 +379,5 @@ "data": { | ||
"properties": { | ||
"description": "The aggregation operation to apply", | ||
"operation": { | ||
"$ref": "https://blockprotocol.org/types/LinkedAggregationOperation" | ||
"description": "The aggregation operation to apply", | ||
"$ref": "https://blockprotocol.org/types/services/graph/aggregation-operation" | ||
} | ||
@@ -390,6 +390,6 @@ }, | ||
{ | ||
"name": "aggregateEntityTypesResponse", | ||
"messageName": "aggregateEntityTypesResponse", | ||
"description": "The response to a request to retrieve an aggregation of entity types", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -413,9 +413,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "createLink", | ||
"messageName": "createLink", | ||
"description": "Request to create a link, expecting the created link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createLinkResponse", | ||
"respondedToBy": "createLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -447,6 +447,6 @@ "data": { | ||
{ | ||
"name": "createLinkResponse", | ||
"messageName": "createLinkResponse", | ||
"description": "The response to a request to create a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -456,4 +456,4 @@ "data": { | ||
"properties": { | ||
"description": "The created link", | ||
"link": { | ||
"description": "The created link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -464,9 +464,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateLink", | ||
"messageName": "updateLink", | ||
"description": "Request to update a link, expecting the updated link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateLinkResponse", | ||
"respondedToBy": "updateLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -490,6 +490,6 @@ "data": { | ||
{ | ||
"name": "updateLinkResponse", | ||
"messageName": "updateLinkResponse", | ||
"description": "The response to a request to update a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -499,4 +499,4 @@ "data": { | ||
"properties": { | ||
"description": "The updated link", | ||
"link": { | ||
"description": "The updated link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -507,9 +507,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteLink", | ||
"messageName": "deleteLink", | ||
"description": "Request to delete a link, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteLinkResponse", | ||
"respondedToBy": "deleteLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -529,6 +529,6 @@ "data": { | ||
{ | ||
"name": "deleteLinkResponse", | ||
"messageName": "deleteLinkResponse", | ||
"description": "The response to a request to delete a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -539,9 +539,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getLink", | ||
"messageName": "getLink", | ||
"description": "Request to retrieve a link, expecting the link in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getLinkResponse", | ||
"respondedToBy": "getLinkResponse", | ||
"sentOnInitialization": false, | ||
@@ -561,6 +561,6 @@ "data": { | ||
{ | ||
"name": "getLinkResponse", | ||
"messageName": "getLinkResponse", | ||
"description": "The response to a request to get a link", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -570,4 +570,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved link", | ||
"link": { | ||
"description": "The retrieved link", | ||
"$ref": "https://blockprotocol.org/types/services/graph/link" | ||
@@ -578,9 +578,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "createLinkedAggregation", | ||
"messageName": "createLinkedAggregation", | ||
"description": "Request to create a linked aggregation, expecting the created linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "createLinkedAggregationResponse", | ||
"respondedToBy": "createLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -608,6 +608,6 @@ "data": { | ||
{ | ||
"name": "createLinkedAggregationResponse", | ||
"messageName": "createLinkedAggregationResponse", | ||
"description": "The response to a request to create a linkedAggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -617,4 +617,4 @@ "data": { | ||
"properties": { | ||
"description": "The created linked aggregation", | ||
"linkedAggregation": { | ||
"description": "The created linked aggregation", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation-definition" | ||
@@ -625,9 +625,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT"] | ||
}, | ||
{ | ||
"name": "updateLinkedAggregation", | ||
"messageName": "updateLinkedAggregation", | ||
"description": "Request to update a linked aggregation, expecting the updated linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "updateLinkedAggregationResponse", | ||
"respondedToBy": "updateLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -651,6 +651,6 @@ "data": { | ||
{ | ||
"name": "updateLinkedAggregationResponse", | ||
"messageName": "updateLinkedAggregationResponse", | ||
"description": "The response to a request to update a linked aggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -660,16 +660,16 @@ "data": { | ||
"properties": { | ||
"description": "The updated linked aggregation definition", | ||
"linkedAggregation": { | ||
"description": "The updated linked aggregation definition", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation-definition" | ||
}, | ||
"required": ["linkedAggregation"] | ||
} | ||
} | ||
}, | ||
"required": ["linkedAggregation"] | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "deleteLinkedAggregation", | ||
"messageName": "deleteLinkedAggregation", | ||
"description": "Request to delete a linked aggregation, expecting a boolean in response.", | ||
"source": "block", | ||
"respondedToByMessage": "deleteLinkedAggregationResponse", | ||
"respondedToBy": "deleteLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -689,6 +689,6 @@ "data": { | ||
{ | ||
"name": "deleteLinkedAggregationResponse", | ||
"messageName": "deleteLinkedAggregationResponse", | ||
"description": "The response to a request to delete a linked aggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -698,9 +698,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "getLinkedAggregation", | ||
"messageName": "getLinkedAggregation", | ||
"description": "Request to retrieve a linked aggregation, expecting the linked aggregation in response.", | ||
"source": "block", | ||
"respondedToByMessage": "getLinkedAggregationResponse", | ||
"respondedToBy": "getLinkedAggregationResponse", | ||
"sentOnInitialization": false, | ||
@@ -720,6 +720,6 @@ "data": { | ||
{ | ||
"name": "getLinkedAggregationResponse", | ||
"messageName": "getLinkedAggregationResponse", | ||
"description": "The response to a request to get a linkedAggregation", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -729,4 +729,4 @@ "data": { | ||
"properties": { | ||
"description": "The retrieved linked aggregation", | ||
"linkedAggregation": { | ||
"description": "The retrieved linked aggregation", | ||
"$ref": "https://blockprotocol.org/types/services/graph/linked-aggregation" | ||
@@ -737,9 +737,9 @@ } | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "uploadFile", | ||
"messageName": "uploadFile", | ||
"description": "Request to upload a file and create an entity to store metadata about it.", | ||
"source": "block", | ||
"respondedToByMessage": "uploadFileResponse", | ||
"respondedToBy": "uploadFileResponse", | ||
"sentOnInitialization": false, | ||
@@ -767,6 +767,6 @@ "data": { | ||
{ | ||
"name": "uploadFileResponse", | ||
"messageName": "uploadFileResponse", | ||
"description": "The response to a request to create an entity storing metadata about an uploaded file.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": false, | ||
@@ -791,9 +791,9 @@ "data": { | ||
}, | ||
"errorsCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
"errorCodes": ["FORBIDDEN", "INVALID_INPUT", "NOT_FOUND"] | ||
}, | ||
{ | ||
"name": "blockEntity", | ||
"messageName": "blockEntity", | ||
"description": "The entity associated with the block", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -806,6 +806,6 @@ "data": { | ||
{ | ||
"name": "blockGraph", | ||
"messageName": "blockGraph", | ||
"description": "A graph of entities with the block entity at the root, resolved to the specified depth.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -840,6 +840,6 @@ "data": { | ||
{ | ||
"name": "entityTypes", | ||
"messageName": "entityTypes", | ||
"description": "The entity types for any entities provided to the block as part of other messages.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -855,6 +855,6 @@ "data": { | ||
{ | ||
"name": "linkedAggregations", | ||
"messageName": "linkedAggregations", | ||
"description": "Aggregations which are linked to from the block entity.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -870,6 +870,6 @@ "data": { | ||
{ | ||
"name": "readonly", | ||
"messageName": "readonly", | ||
"description": "Indicates if the block should display in 'readonly' mode, i.e. without editing controls.", | ||
"source": "embedder", | ||
"respondedToByMessage": null, | ||
"respondedToBy": null, | ||
"sentOnInitialization": true, | ||
@@ -876,0 +876,0 @@ "data": { |
{ | ||
"name": "@blockprotocol/graph", | ||
"version": "0.0.8", | ||
"version": "0.0.9-canary.0", | ||
"description": "Implementation of the Block Protocol Graph service specification for blocks and embedding applications", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@blockprotocol/core": "0.0.6", | ||
"@blockprotocol/core": "0.0.8-canary.0", | ||
"lit": "^2.2.5", | ||
@@ -42,0 +42,0 @@ "react": "^17.0.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
153530
+ Added@blockprotocol/core@0.0.8-canary.0(transitive)
+ Addedes-module-lexer@0.10.5(transitive)
- Removed@blockprotocol/core@0.0.6(transitive)