@mapped/schema-graph-react-apollo 2.3.2 → 2.3.5

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.
package/dist/index.d.ts CHANGED
@@ -600,6 +600,28 @@ export type BaCnetVendorIdModel = {
600
600
  value?: Maybe<Scalars['String']>;
601
601
  };
602
602
 
603
+ /**
604
+ * A background job. `params` is free-form JSON. For connector entity jobs it is:
605
+ *
606
+ * ```json
607
+ * { "params": { "buildingId": "BLDG8R2nW3kq" } }
608
+ * ```
609
+ *
610
+ * for `importEntities/<connectorId>/<sourceType>`, and
611
+ *
612
+ * ```json
613
+ * {
614
+ * "connectorId": "CON…",
615
+ * "sourceType": "room",
616
+ * "commitMessage": "Rename floor 2 rooms",
617
+ * "rules": { "typescript": "<base64>", "javascript": "<base64>" },
618
+ * "noEntityChanges": true,
619
+ * "redispatchedEntities": 12
620
+ * }
621
+ * ```
622
+ *
623
+ * for `mergeEntities/<connectorId>/<sourceType>`. `noEntityChanges` is present only on a save that changed no entity, such as a rule-only save. `redispatchedEntities` is present only when the merge picked up rows a failed merge left behind.
624
+ */
603
625
  export type BaseJob = {
604
626
  __typename?: 'BaseJob';
605
627
  completedAt?: Maybe<Scalars['DateTime']>;
@@ -609,6 +631,7 @@ export type BaseJob = {
609
631
  id?: Maybe<Scalars['String']>;
610
632
  name?: Maybe<Scalars['String']>;
611
633
  orgId?: Maybe<Scalars['String']>;
634
+ /** Free-form JSON the job was started with; see the examples in the type description. */
612
635
  params?: Maybe<Scalars['GraphQLJSON']>;
613
636
  parentResourceId?: Maybe<Scalars['String']>;
614
637
  percentageComplete?: Maybe<Scalars['Int']>;
@@ -1694,9 +1717,39 @@ export type ConnectorDeleteResponse = {
1694
1717
  _?: Maybe<Scalars['String']>;
1695
1718
  };
1696
1719
 
1720
+ /**
1721
+ * One row of a connector's entities namespace: an entity the connector imported from its source system, staged until a merge writes it to the graph.
1722
+ *
1723
+ * `context` is free-form JSON. It holds the connector's own read-only source data, plus, on `previewConnectorEntities` responses only, a reserved `__preview` bucket the server computes for each row:
1724
+ *
1725
+ * ```json
1726
+ * {
1727
+ * "area": 42.5,
1728
+ * "number": "B1-204",
1729
+ * "__preview": {
1730
+ * "tags": ["selected", "updated", "firstSeen"],
1731
+ * "fields": {
1732
+ * "name": { "display": "DEFAULT", "diverged": true },
1733
+ * "floor": { "display": "RULE", "graphCheck": "UNRESOLVED" }
1734
+ * },
1735
+ * "selection": { "display": "SETTLED" },
1736
+ * "selectable": true,
1737
+ * "missingRequired": [],
1738
+ * "duplicateUnique": [],
1739
+ * "removedFields": ["legacyCode"],
1740
+ * "contextChanged": true,
1741
+ * "baseTypeChanged": true,
1742
+ * "rulesError": { "scope": "entity", "message": "Cannot read properties of undefined", "line": 3, "column": 12 }
1743
+ * }
1744
+ * }
1745
+ * ```
1746
+ *
1747
+ * `tags` values: `selected`, `added`, `updated`, `deleted`, `missing`, `unresolved`, `firstSeen`. `display` values, in precedence order: `CONFLICT`, `RULE`, `UNSAVED`, `DEFAULT`, `SETTLED`. `diverged`, `removedFields`, `contextChanged` and `baseTypeChanged` appear only when true or non-empty, and say why an `updated` row changed. `rulesError` appears only when the merge rule failed for the row: `scope` is `entity` for this row only, or `rule` for the whole rule, on every row. Keys starting with `__` are reserved for the platform.
1748
+ */
1697
1749
  export type ConnectorEntity = {
1698
1750
  __typename?: 'ConnectorEntity';
1699
1751
  baseType?: Maybe<ConnectorEntityBaseType>;
1752
+ /** Free-form JSON from the connector, plus the server-computed `__preview` bucket on preview responses; see the example in the type description. */
1700
1753
  context?: Maybe<Scalars['GraphQLJSON']>;
1701
1754
  /** @deprecated Field no longer supported */
1702
1755
  exactType?: Maybe<EntityTypeKey>;
@@ -1743,12 +1796,20 @@ export enum ConnectorEntityChangeKindInput {
1743
1796
  Updated = 'UPDATED'
1744
1797
  }
1745
1798
 
1799
+ /**
1800
+ * A typed column of an entity. `options` is free-form JSON owned by the connector SDK. Today it carries the allow-list of target types for an `ENTITY_REF` field:
1801
+ *
1802
+ * ```json
1803
+ * { "allowedTypes": ["Floor", "Building"] }
1804
+ * ```
1805
+ */
1746
1806
  export type ConnectorEntityField = {
1747
1807
  __typename?: 'ConnectorEntityField';
1748
1808
  defaultValue?: Maybe<ConnectorEntityFieldValue>;
1749
1809
  hidden?: Maybe<Scalars['Boolean']>;
1750
1810
  label?: Maybe<Scalars['String']>;
1751
1811
  name?: Maybe<Scalars['String']>;
1812
+ /** Free-form JSON; see the example in the type description. */
1752
1813
  options?: Maybe<Scalars['GraphQLJSON']>;
1753
1814
  readOnly?: Maybe<Scalars['Boolean']>;
1754
1815
  relationship?: Maybe<ConnectorEntityFieldRelationship>;
@@ -1758,11 +1819,19 @@ export type ConnectorEntityField = {
1758
1819
  value?: Maybe<ConnectorEntityFieldValue>;
1759
1820
  };
1760
1821
 
1822
+ /**
1823
+ * A typed column of an entity. `options` is free-form JSON owned by the connector SDK. Today it carries the allow-list of target types for an `ENTITY_REF` field:
1824
+ *
1825
+ * ```json
1826
+ * { "allowedTypes": ["Floor", "Building"] }
1827
+ * ```
1828
+ */
1761
1829
  export type ConnectorEntityFieldInput = {
1762
1830
  defaultValue?: Maybe<ConnectorEntityFieldValueInput>;
1763
1831
  hidden?: Maybe<Scalars['Boolean']>;
1764
1832
  label?: Maybe<Scalars['String']>;
1765
1833
  name?: Maybe<Scalars['String']>;
1834
+ /** Free-form JSON; see the example in the type description. */
1766
1835
  options?: Maybe<Scalars['GraphQLJSON']>;
1767
1836
  readOnly?: Maybe<Scalars['Boolean']>;
1768
1837
  relationship?: Maybe<ConnectorEntityFieldRelationshipInput>;
@@ -1855,8 +1924,16 @@ export type ConnectorEntityGetRulesDeclarationTypesResponse = {
1855
1924
  declarationTypes?: Maybe<Scalars['String']>;
1856
1925
  };
1857
1926
 
1927
+ /**
1928
+ * Starts an import job for one namespace. `params` is free-form JSON passed verbatim to the connector's import function; its keys are whatever the connector declares as import parameters:
1929
+ *
1930
+ * ```json
1931
+ * { "buildingId": "BLDG8R2nW3kq", "includeArchived": false }
1932
+ * ```
1933
+ */
1858
1934
  export type ConnectorEntityImportRequestInput = {
1859
1935
  namespace?: Maybe<ConnectorEntityNamespaceInput>;
1936
+ /** Free-form JSON passed verbatim to the connector; see the example in the type description. */
1860
1937
  params?: Maybe<Scalars['GraphQLJSON']>;
1861
1938
  };
1862
1939
 
@@ -1982,9 +2059,17 @@ export type ConnectorEntityMigrationEntity = {
1982
2059
  legacyMappingKey?: Maybe<Scalars['String']>;
1983
2060
  };
1984
2061
 
2062
+ /**
2063
+ * A legacy graph node the connector no longer owns after a migration, recorded for review. `data` is free-form JSON derived from the legacy place mapping:
2064
+ *
2065
+ * ```json
2066
+ * { "name": "Room 204", "floor": "2", "sourceId": "ROOM-204" }
2067
+ * ```
2068
+ */
1985
2069
  export type ConnectorEntityMigrationOrphan = {
1986
2070
  __typename?: 'ConnectorEntityMigrationOrphan';
1987
- data?: Maybe<Scalars['GeoJSON']>;
2071
+ /** Free-form JSON derived from the legacy place mapping; see the example in the type description. */
2072
+ data?: Maybe<Scalars['GraphQLJSON']>;
1988
2073
  exactType?: Maybe<EntityTypeKey>;
1989
2074
  legacyMappingKey?: Maybe<Scalars['String']>;
1990
2075
  };
@@ -1992,6 +2077,7 @@ export type ConnectorEntityMigrationOrphan = {
1992
2077
  export type ConnectorEntityMigrationState = {
1993
2078
  __typename?: 'ConnectorEntityMigrationState';
1994
2079
  configHash?: Maybe<Scalars['String']>;
2080
+ /** Free-form JSON copy of the connector's configuration taken when the migration committed. */
1995
2081
  configSnapshot?: Maybe<Scalars['GraphQLJSON']>;
1996
2082
  counts?: Maybe<ConnectorEntityMigrationCounts>;
1997
2083
  error?: Maybe<Scalars['String']>;
@@ -2019,12 +2105,22 @@ export type ConnectorEntityPrepareMigrationRequestInput = {
2019
2105
  connectorId?: Maybe<Scalars['String']>;
2020
2106
  };
2021
2107
 
2108
+ /** Counts for the whole namespace of what a save would do, independent of any listing filter. */
2022
2109
  export type ConnectorEntityPreviewCounts = {
2023
2110
  __typename?: 'ConnectorEntityPreviewCounts';
2111
+ /** Entities this save adds to the graph. */
2024
2112
  added?: Maybe<Scalars['Int']>;
2113
+ /** Entities a user or a rule unselected, which this save deletes from the graph; excludes missing. */
2025
2114
  deleted?: Maybe<Scalars['Int']>;
2115
+ /** Entities first imported after the namespace's last save, selected or not; 0 until the namespace has been saved or merged once. */
2116
+ firstSeen?: Maybe<Scalars['Int']>;
2117
+ /** Merged entities the source system no longer reports, which every save deletes from the graph. */
2118
+ missing?: Maybe<Scalars['Int']>;
2119
+ /** Entities selected after this save. */
2026
2120
  selected?: Maybe<Scalars['Int']>;
2121
+ /** Entities with an entity reference pointing at nothing in the graph; computed only with the FULL counts mode. */
2027
2122
  unresolved?: Maybe<Scalars['Int']>;
2123
+ /** Entities already in the graph whose values change — by a user, a rule, or the source system since the entity's last merge. */
2028
2124
  updated?: Maybe<Scalars['Int']>;
2029
2125
  };
2030
2126
 
@@ -4901,6 +4997,7 @@ export enum EntityTypeKey {
4901
4997
  OpcuaDevice = 'OPCUA_DEVICE',
4902
4998
  OpcuaNode = 'OPCUA_NODE',
4903
4999
  OpcuaObject = 'OPCUA_OBJECT',
5000
+ OpcuaProperty = 'OPCUA_PROPERTY',
4904
5001
  OpcuaServer = 'OPCUA_SERVER',
4905
5002
  OpcuaVariable = 'OPCUA_VARIABLE',
4906
5003
  Opening = 'OPENING',
@@ -7464,6 +7561,7 @@ export enum EntityTypeKeyInput {
7464
7561
  OpcuaDevice = 'OPCUA_DEVICE',
7465
7562
  OpcuaNode = 'OPCUA_NODE',
7466
7563
  OpcuaObject = 'OPCUA_OBJECT',
7564
+ OpcuaProperty = 'OPCUA_PROPERTY',
7467
7565
  OpcuaServer = 'OPCUA_SERVER',
7468
7566
  OpcuaVariable = 'OPCUA_VARIABLE',
7469
7567
  Opening = 'OPENING',
@@ -8764,7 +8862,6 @@ export type FloorLevelIdentity = FloorLevelIdentityModel & Identity & {
8764
8862
  /** The stored type of this identity, for example SpaceCode or Name_Identity. This is the exactType to give Query.entity when looking an entity up by identity. */
8765
8863
  exactType?: Maybe<Scalars['String']>;
8766
8864
  id?: Maybe<Scalars['String']>;
8767
- mappingKey?: Maybe<Scalars['String']>;
8768
8865
  scope?: Maybe<ScopeKey>;
8769
8866
  scopeId?: Maybe<Scalars['String']>;
8770
8867
  value?: Maybe<Scalars['String']>;
@@ -8777,7 +8874,6 @@ export type FloorLevelIdentityModel = {
8777
8874
  /** The stored type of this identity, for example SpaceCode or Name_Identity. This is the exactType to give Query.entity when looking an entity up by identity. */
8778
8875
  exactType?: Maybe<Scalars['String']>;
8779
8876
  id?: Maybe<Scalars['String']>;
8780
- mappingKey?: Maybe<Scalars['String']>;
8781
8877
  scope?: Maybe<ScopeKey>;
8782
8878
  scopeId?: Maybe<Scalars['String']>;
8783
8879
  value?: Maybe<Scalars['String']>;
@@ -10214,6 +10310,12 @@ export type HasProviderEdge = Edge & {
10214
10310
  node?: Maybe<GraphNode>;
10215
10311
  };
10216
10312
 
10313
+ export type HasUpstreamHeartbeatEdge = Edge & {
10314
+ __typename?: 'HasUpstreamHeartbeatEdge';
10315
+ mappingKey?: Maybe<Scalars['String']>;
10316
+ node?: Maybe<GraphNode>;
10317
+ };
10318
+
10217
10319
  export type Heartbeat = GraphNode & {
10218
10320
  __typename?: 'Heartbeat';
10219
10321
  connectedDataSourceId?: Maybe<Scalars['String']>;
@@ -10233,6 +10335,8 @@ export type Heartbeat = GraphNode & {
10233
10335
  hasPrimBindingEdges?: Maybe<Array<Maybe<HasPrimBindingEdge>>>;
10234
10336
  hasPropertyContributedFrom?: Maybe<Array<Maybe<HeartbeatHasPropertyContributedFromUnion>>>;
10235
10337
  hasPropertyContributedFromEdges?: Maybe<Array<Maybe<HeartbeatHasPropertyContributedFromEdge>>>;
10338
+ hasUpstreamHeartbeat?: Maybe<Array<Maybe<Heartbeat>>>;
10339
+ hasUpstreamHeartbeatEdges?: Maybe<Array<Maybe<HasUpstreamHeartbeatEdge>>>;
10236
10340
  id: Scalars['String'];
10237
10341
  identities?: Maybe<Array<Maybe<HeartbeatIdentityUnion>>>;
10238
10342
  isBilledTo?: Maybe<Account>;
@@ -10247,6 +10351,8 @@ export type Heartbeat = GraphNode & {
10247
10351
  isPartOfEdges?: Maybe<Array<Maybe<IsPartOfEdge>>>;
10248
10352
  isPointOf?: Maybe<Array<Maybe<IsPointOfUnion>>>;
10249
10353
  isPointOfEdges?: Maybe<Array<Maybe<IsPointOfEdge>>>;
10354
+ isUpstreamHeartbeatOf?: Maybe<Array<Maybe<Heartbeat>>>;
10355
+ isUpstreamHeartbeatOfEdges?: Maybe<Array<Maybe<IsUpstreamHeartbeatOfEdge>>>;
10250
10356
  mappingKey?: Maybe<Scalars['String']>;
10251
10357
  name?: Maybe<Scalars['String']>;
10252
10358
  series?: Maybe<Array<Maybe<TimeseriesRow>>>;
@@ -10287,6 +10393,12 @@ export type HeartbeatHasPrimBindingArgs = {
10287
10393
  };
10288
10394
 
10289
10395
 
10396
+ export type HeartbeatHasUpstreamHeartbeatArgs = {
10397
+ filter?: Maybe<HeartbeatFilter>;
10398
+ transitive?: Maybe<Scalars['Boolean']>;
10399
+ };
10400
+
10401
+
10290
10402
  export type HeartbeatIsBilledToArgs = {
10291
10403
  filter?: Maybe<AccountFilter>;
10292
10404
  };
@@ -10317,6 +10429,11 @@ export type HeartbeatIsPointOfArgs = {
10317
10429
  };
10318
10430
 
10319
10431
 
10432
+ export type HeartbeatIsUpstreamHeartbeatOfArgs = {
10433
+ filter?: Maybe<HeartbeatFilter>;
10434
+ };
10435
+
10436
+
10320
10437
  export type HeartbeatSeriesArgs = {
10321
10438
  endTime?: Maybe<Scalars['DateTime']>;
10322
10439
  latest?: Maybe<Scalars['Boolean']>;
@@ -10728,6 +10845,12 @@ export type IsServedByEdge = Edge & {
10728
10845
  node?: Maybe<GraphNode>;
10729
10846
  };
10730
10847
 
10848
+ export type IsUpstreamHeartbeatOfEdge = Edge & {
10849
+ __typename?: 'IsUpstreamHeartbeatOfEdge';
10850
+ mappingKey?: Maybe<Scalars['String']>;
10851
+ node?: Maybe<GraphNode>;
10852
+ };
10853
+
10731
10854
 
10732
10855
 
10733
10856
  /** Job interface - base type for all job types */
@@ -11949,7 +12072,6 @@ export type NameIdentity = Identity & NameIdentityModel & {
11949
12072
  /** The stored type of this identity, for example SpaceCode or Name_Identity. This is the exactType to give Query.entity when looking an entity up by identity. */
11950
12073
  exactType?: Maybe<Scalars['String']>;
11951
12074
  id?: Maybe<Scalars['String']>;
11952
- mappingKey?: Maybe<Scalars['String']>;
11953
12075
  scope?: Maybe<ScopeKey>;
11954
12076
  scopeId?: Maybe<Scalars['String']>;
11955
12077
  value?: Maybe<Scalars['String']>;
@@ -11962,7 +12084,6 @@ export type NameIdentityModel = {
11962
12084
  /** The stored type of this identity, for example SpaceCode or Name_Identity. This is the exactType to give Query.entity when looking an entity up by identity. */
11963
12085
  exactType?: Maybe<Scalars['String']>;
11964
12086
  id?: Maybe<Scalars['String']>;
11965
- mappingKey?: Maybe<Scalars['String']>;
11966
12087
  scope?: Maybe<ScopeKey>;
11967
12088
  scopeId?: Maybe<Scalars['String']>;
11968
12089
  value?: Maybe<Scalars['String']>;
package/dist/index.js CHANGED
@@ -2028,6 +2028,7 @@ var EntityTypeKey = /* @__PURE__ */ ((EntityTypeKey2) => {
2028
2028
  EntityTypeKey2["OpcuaDevice"] = "OPCUA_DEVICE";
2029
2029
  EntityTypeKey2["OpcuaNode"] = "OPCUA_NODE";
2030
2030
  EntityTypeKey2["OpcuaObject"] = "OPCUA_OBJECT";
2031
+ EntityTypeKey2["OpcuaProperty"] = "OPCUA_PROPERTY";
2031
2032
  EntityTypeKey2["OpcuaServer"] = "OPCUA_SERVER";
2032
2033
  EntityTypeKey2["OpcuaVariable"] = "OPCUA_VARIABLE";
2033
2034
  EntityTypeKey2["Opening"] = "OPENING";
@@ -4586,6 +4587,7 @@ var EntityTypeKeyInput = /* @__PURE__ */ ((EntityTypeKeyInput2) => {
4586
4587
  EntityTypeKeyInput2["OpcuaDevice"] = "OPCUA_DEVICE";
4587
4588
  EntityTypeKeyInput2["OpcuaNode"] = "OPCUA_NODE";
4588
4589
  EntityTypeKeyInput2["OpcuaObject"] = "OPCUA_OBJECT";
4590
+ EntityTypeKeyInput2["OpcuaProperty"] = "OPCUA_PROPERTY";
4589
4591
  EntityTypeKeyInput2["OpcuaServer"] = "OPCUA_SERVER";
4590
4592
  EntityTypeKeyInput2["OpcuaVariable"] = "OPCUA_VARIABLE";
4591
4593
  EntityTypeKeyInput2["Opening"] = "OPENING";
@@ -5206,7 +5206,7 @@
5206
5206
  {
5207
5207
  "kind": "OBJECT",
5208
5208
  "name": "BaseJob",
5209
- "description": null,
5209
+ "description": "A background job. `params` is free-form JSON. For connector entity jobs it is:\n\n```json\n{ \"params\": { \"buildingId\": \"BLDG8R2nW3kq\" } }\n```\n\nfor `importEntities/<connectorId>/<sourceType>`, and\n\n```json\n{\n \"connectorId\": \"CON…\",\n \"sourceType\": \"room\",\n \"commitMessage\": \"Rename floor 2 rooms\",\n \"rules\": { \"typescript\": \"<base64>\", \"javascript\": \"<base64>\" },\n \"noEntityChanges\": true,\n \"redispatchedEntities\": 12\n}\n```\n\nfor `mergeEntities/<connectorId>/<sourceType>`. `noEntityChanges` is present only on a save that changed no entity, such as a rule-only save. `redispatchedEntities` is present only when the merge picked up rows a failed merge left behind.",
5210
5210
  "fields": [
5211
5211
  {
5212
5212
  "name": "completedAt",
@@ -5294,7 +5294,7 @@
5294
5294
  },
5295
5295
  {
5296
5296
  "name": "params",
5297
- "description": null,
5297
+ "description": "Free-form JSON the job was started with; see the examples in the type description.",
5298
5298
  "args": [],
5299
5299
  "type": {
5300
5300
  "kind": "SCALAR",
@@ -12738,7 +12738,7 @@
12738
12738
  {
12739
12739
  "kind": "OBJECT",
12740
12740
  "name": "ConnectorEntity",
12741
- "description": null,
12741
+ "description": "One row of a connector's entities namespace: an entity the connector imported from its source system, staged until a merge writes it to the graph.\n\n`context` is free-form JSON. It holds the connector's own read-only source data, plus, on `previewConnectorEntities` responses only, a reserved `__preview` bucket the server computes for each row:\n\n```json\n{\n \"area\": 42.5,\n \"number\": \"B1-204\",\n \"__preview\": {\n \"tags\": [\"selected\", \"updated\", \"firstSeen\"],\n \"fields\": {\n \"name\": { \"display\": \"DEFAULT\", \"diverged\": true },\n \"floor\": { \"display\": \"RULE\", \"graphCheck\": \"UNRESOLVED\" }\n },\n \"selection\": { \"display\": \"SETTLED\" },\n \"selectable\": true,\n \"missingRequired\": [],\n \"duplicateUnique\": [],\n \"removedFields\": [\"legacyCode\"],\n \"contextChanged\": true,\n \"baseTypeChanged\": true,\n \"rulesError\": { \"scope\": \"entity\", \"message\": \"Cannot read properties of undefined\", \"line\": 3, \"column\": 12 }\n }\n}\n```\n\n`tags` values: `selected`, `added`, `updated`, `deleted`, `missing`, `unresolved`, `firstSeen`. `display` values, in precedence order: `CONFLICT`, `RULE`, `UNSAVED`, `DEFAULT`, `SETTLED`. `diverged`, `removedFields`, `contextChanged` and `baseTypeChanged` appear only when true or non-empty, and say why an `updated` row changed. `rulesError` appears only when the merge rule failed for the row: `scope` is `entity` for this row only, or `rule` for the whole rule, on every row. Keys starting with `__` are reserved for the platform.",
12742
12742
  "fields": [
12743
12743
  {
12744
12744
  "name": "baseType",
@@ -12754,7 +12754,7 @@
12754
12754
  },
12755
12755
  {
12756
12756
  "name": "context",
12757
- "description": null,
12757
+ "description": "Free-form JSON from the connector, plus the server-computed `__preview` bucket on preview responses; see the example in the type description.",
12758
12758
  "args": [],
12759
12759
  "type": {
12760
12760
  "kind": "SCALAR",
@@ -13089,7 +13089,7 @@
13089
13089
  {
13090
13090
  "kind": "OBJECT",
13091
13091
  "name": "ConnectorEntityField",
13092
- "description": null,
13092
+ "description": "A typed column of an entity. `options` is free-form JSON owned by the connector SDK. Today it carries the allow-list of target types for an `ENTITY_REF` field:\n\n```json\n{ \"allowedTypes\": [\"Floor\", \"Building\"] }\n```",
13093
13093
  "fields": [
13094
13094
  {
13095
13095
  "name": "defaultValue",
@@ -13141,7 +13141,7 @@
13141
13141
  },
13142
13142
  {
13143
13143
  "name": "options",
13144
- "description": null,
13144
+ "description": "Free-form JSON; see the example in the type description.",
13145
13145
  "args": [],
13146
13146
  "type": {
13147
13147
  "kind": "SCALAR",
@@ -13232,7 +13232,7 @@
13232
13232
  {
13233
13233
  "kind": "INPUT_OBJECT",
13234
13234
  "name": "ConnectorEntityFieldInput",
13235
- "description": null,
13235
+ "description": "A typed column of an entity. `options` is free-form JSON owned by the connector SDK. Today it carries the allow-list of target types for an `ENTITY_REF` field:\n\n```json\n{ \"allowedTypes\": [\"Floor\", \"Building\"] }\n```",
13236
13236
  "fields": null,
13237
13237
  "inputFields": [
13238
13238
  {
@@ -13285,7 +13285,7 @@
13285
13285
  },
13286
13286
  {
13287
13287
  "name": "options",
13288
- "description": null,
13288
+ "description": "Free-form JSON; see the example in the type description.",
13289
13289
  "type": {
13290
13290
  "kind": "SCALAR",
13291
13291
  "name": "GraphQLJSON",
@@ -13906,7 +13906,7 @@
13906
13906
  {
13907
13907
  "kind": "INPUT_OBJECT",
13908
13908
  "name": "ConnectorEntityImportRequestInput",
13909
- "description": null,
13909
+ "description": "Starts an import job for one namespace. `params` is free-form JSON passed verbatim to the connector's import function; its keys are whatever the connector declares as import parameters:\n\n```json\n{ \"buildingId\": \"BLDG8R2nW3kq\", \"includeArchived\": false }\n```",
13910
13910
  "fields": null,
13911
13911
  "inputFields": [
13912
13912
  {
@@ -13923,7 +13923,7 @@
13923
13923
  },
13924
13924
  {
13925
13925
  "name": "params",
13926
- "description": null,
13926
+ "description": "Free-form JSON passed verbatim to the connector; see the example in the type description.",
13927
13927
  "type": {
13928
13928
  "kind": "SCALAR",
13929
13929
  "name": "GraphQLJSON",
@@ -14779,15 +14779,15 @@
14779
14779
  {
14780
14780
  "kind": "OBJECT",
14781
14781
  "name": "ConnectorEntityMigrationOrphan",
14782
- "description": null,
14782
+ "description": "A legacy graph node the connector no longer owns after a migration, recorded for review. `data` is free-form JSON derived from the legacy place mapping:\n\n```json\n{ \"name\": \"Room 204\", \"floor\": \"2\", \"sourceId\": \"ROOM-204\" }\n```",
14783
14783
  "fields": [
14784
14784
  {
14785
14785
  "name": "data",
14786
- "description": null,
14786
+ "description": "Free-form JSON derived from the legacy place mapping; see the example in the type description.",
14787
14787
  "args": [],
14788
14788
  "type": {
14789
14789
  "kind": "SCALAR",
14790
- "name": "GeoJSON",
14790
+ "name": "GraphQLJSON",
14791
14791
  "ofType": null
14792
14792
  },
14793
14793
  "isDeprecated": false,
@@ -14842,7 +14842,7 @@
14842
14842
  },
14843
14843
  {
14844
14844
  "name": "configSnapshot",
14845
- "description": null,
14845
+ "description": "Free-form JSON copy of the connector's configuration taken when the migration committed.",
14846
14846
  "args": [],
14847
14847
  "type": {
14848
14848
  "kind": "SCALAR",
@@ -15032,11 +15032,11 @@
15032
15032
  {
15033
15033
  "kind": "OBJECT",
15034
15034
  "name": "ConnectorEntityPreviewCounts",
15035
- "description": null,
15035
+ "description": "Counts for the whole namespace of what a save would do, independent of any listing filter.",
15036
15036
  "fields": [
15037
15037
  {
15038
15038
  "name": "added",
15039
- "description": null,
15039
+ "description": "Entities this save adds to the graph.",
15040
15040
  "args": [],
15041
15041
  "type": {
15042
15042
  "kind": "SCALAR",
@@ -15048,7 +15048,31 @@
15048
15048
  },
15049
15049
  {
15050
15050
  "name": "deleted",
15051
- "description": null,
15051
+ "description": "Entities a user or a rule unselected, which this save deletes from the graph; excludes missing.",
15052
+ "args": [],
15053
+ "type": {
15054
+ "kind": "SCALAR",
15055
+ "name": "Int",
15056
+ "ofType": null
15057
+ },
15058
+ "isDeprecated": false,
15059
+ "deprecationReason": null
15060
+ },
15061
+ {
15062
+ "name": "firstSeen",
15063
+ "description": "Entities first imported after the namespace's last save, selected or not; 0 until the namespace has been saved or merged once.",
15064
+ "args": [],
15065
+ "type": {
15066
+ "kind": "SCALAR",
15067
+ "name": "Int",
15068
+ "ofType": null
15069
+ },
15070
+ "isDeprecated": false,
15071
+ "deprecationReason": null
15072
+ },
15073
+ {
15074
+ "name": "missing",
15075
+ "description": "Merged entities the source system no longer reports, which every save deletes from the graph.",
15052
15076
  "args": [],
15053
15077
  "type": {
15054
15078
  "kind": "SCALAR",
@@ -15060,7 +15084,7 @@
15060
15084
  },
15061
15085
  {
15062
15086
  "name": "selected",
15063
- "description": null,
15087
+ "description": "Entities selected after this save.",
15064
15088
  "args": [],
15065
15089
  "type": {
15066
15090
  "kind": "SCALAR",
@@ -15072,7 +15096,7 @@
15072
15096
  },
15073
15097
  {
15074
15098
  "name": "unresolved",
15075
- "description": null,
15099
+ "description": "Entities with an entity reference pointing at nothing in the graph; computed only with the FULL counts mode.",
15076
15100
  "args": [],
15077
15101
  "type": {
15078
15102
  "kind": "SCALAR",
@@ -15084,7 +15108,7 @@
15084
15108
  },
15085
15109
  {
15086
15110
  "name": "updated",
15087
- "description": null,
15111
+ "description": "Entities already in the graph whose values change — by a user, a rule, or the source system since the entity's last merge.",
15088
15112
  "args": [],
15089
15113
  "type": {
15090
15114
  "kind": "SCALAR",
@@ -22560,6 +22584,11 @@
22560
22584
  "name": "HasProviderEdge",
22561
22585
  "ofType": null
22562
22586
  },
22587
+ {
22588
+ "kind": "OBJECT",
22589
+ "name": "HasUpstreamHeartbeatEdge",
22590
+ "ofType": null
22591
+ },
22563
22592
  {
22564
22593
  "kind": "OBJECT",
22565
22594
  "name": "HostsEdge",
@@ -22680,6 +22709,11 @@
22680
22709
  "name": "IsServedByEdge",
22681
22710
  "ofType": null
22682
22711
  },
22712
+ {
22713
+ "kind": "OBJECT",
22714
+ "name": "IsUpstreamHeartbeatOfEdge",
22715
+ "ofType": null
22716
+ },
22683
22717
  {
22684
22718
  "kind": "OBJECT",
22685
22719
  "name": "ManufacturedByEdge",
@@ -34768,6 +34802,12 @@
34768
34802
  "isDeprecated": false,
34769
34803
  "deprecationReason": null
34770
34804
  },
34805
+ {
34806
+ "name": "OPCUA_PROPERTY",
34807
+ "description": null,
34808
+ "isDeprecated": false,
34809
+ "deprecationReason": null
34810
+ },
34771
34811
  {
34772
34812
  "name": "OPCUA_SERVER",
34773
34813
  "description": null,
@@ -50148,6 +50188,12 @@
50148
50188
  "isDeprecated": false,
50149
50189
  "deprecationReason": null
50150
50190
  },
50191
+ {
50192
+ "name": "OPCUA_PROPERTY",
50193
+ "description": null,
50194
+ "isDeprecated": false,
50195
+ "deprecationReason": null
50196
+ },
50151
50197
  {
50152
50198
  "name": "OPCUA_SERVER",
50153
50199
  "description": null,
@@ -58382,18 +58428,6 @@
58382
58428
  "isDeprecated": false,
58383
58429
  "deprecationReason": null
58384
58430
  },
58385
- {
58386
- "name": "mappingKey",
58387
- "description": null,
58388
- "args": [],
58389
- "type": {
58390
- "kind": "SCALAR",
58391
- "name": "String",
58392
- "ofType": null
58393
- },
58394
- "isDeprecated": false,
58395
- "deprecationReason": null
58396
- },
58397
58431
  {
58398
58432
  "name": "scope",
58399
58433
  "description": null,
@@ -58516,18 +58550,6 @@
58516
58550
  "isDeprecated": false,
58517
58551
  "deprecationReason": null
58518
58552
  },
58519
- {
58520
- "name": "mappingKey",
58521
- "description": null,
58522
- "args": [],
58523
- "type": {
58524
- "kind": "SCALAR",
58525
- "name": "String",
58526
- "ofType": null
58527
- },
58528
- "isDeprecated": false,
58529
- "deprecationReason": null
58530
- },
58531
58553
  {
58532
58554
  "name": "scope",
58533
58555
  "description": null,
@@ -68966,6 +68988,47 @@
68966
68988
  "enumValues": null,
68967
68989
  "possibleTypes": null
68968
68990
  },
68991
+ {
68992
+ "kind": "OBJECT",
68993
+ "name": "HasUpstreamHeartbeatEdge",
68994
+ "description": null,
68995
+ "fields": [
68996
+ {
68997
+ "name": "mappingKey",
68998
+ "description": null,
68999
+ "args": [],
69000
+ "type": {
69001
+ "kind": "SCALAR",
69002
+ "name": "String",
69003
+ "ofType": null
69004
+ },
69005
+ "isDeprecated": false,
69006
+ "deprecationReason": null
69007
+ },
69008
+ {
69009
+ "name": "node",
69010
+ "description": null,
69011
+ "args": [],
69012
+ "type": {
69013
+ "kind": "INTERFACE",
69014
+ "name": "GraphNode",
69015
+ "ofType": null
69016
+ },
69017
+ "isDeprecated": false,
69018
+ "deprecationReason": null
69019
+ }
69020
+ ],
69021
+ "inputFields": null,
69022
+ "interfaces": [
69023
+ {
69024
+ "kind": "INTERFACE",
69025
+ "name": "Edge",
69026
+ "ofType": null
69027
+ }
69028
+ ],
69029
+ "enumValues": null,
69030
+ "possibleTypes": null
69031
+ },
68969
69032
  {
68970
69033
  "kind": "OBJECT",
68971
69034
  "name": "Heartbeat",
@@ -69344,6 +69407,63 @@
69344
69407
  "isDeprecated": false,
69345
69408
  "deprecationReason": null
69346
69409
  },
69410
+ {
69411
+ "name": "hasUpstreamHeartbeat",
69412
+ "description": null,
69413
+ "args": [
69414
+ {
69415
+ "name": "filter",
69416
+ "description": null,
69417
+ "type": {
69418
+ "kind": "INPUT_OBJECT",
69419
+ "name": "HeartbeatFilter",
69420
+ "ofType": null
69421
+ },
69422
+ "defaultValue": null,
69423
+ "isDeprecated": false,
69424
+ "deprecationReason": null
69425
+ },
69426
+ {
69427
+ "name": "transitive",
69428
+ "description": null,
69429
+ "type": {
69430
+ "kind": "SCALAR",
69431
+ "name": "Boolean",
69432
+ "ofType": null
69433
+ },
69434
+ "defaultValue": "false",
69435
+ "isDeprecated": false,
69436
+ "deprecationReason": null
69437
+ }
69438
+ ],
69439
+ "type": {
69440
+ "kind": "LIST",
69441
+ "name": null,
69442
+ "ofType": {
69443
+ "kind": "OBJECT",
69444
+ "name": "Heartbeat",
69445
+ "ofType": null
69446
+ }
69447
+ },
69448
+ "isDeprecated": false,
69449
+ "deprecationReason": null
69450
+ },
69451
+ {
69452
+ "name": "hasUpstreamHeartbeatEdges",
69453
+ "description": null,
69454
+ "args": [],
69455
+ "type": {
69456
+ "kind": "LIST",
69457
+ "name": null,
69458
+ "ofType": {
69459
+ "kind": "OBJECT",
69460
+ "name": "HasUpstreamHeartbeatEdge",
69461
+ "ofType": null
69462
+ }
69463
+ },
69464
+ "isDeprecated": false,
69465
+ "deprecationReason": null
69466
+ },
69347
69467
  {
69348
69468
  "name": "id",
69349
69469
  "description": null,
@@ -69642,6 +69762,51 @@
69642
69762
  "isDeprecated": false,
69643
69763
  "deprecationReason": null
69644
69764
  },
69765
+ {
69766
+ "name": "isUpstreamHeartbeatOf",
69767
+ "description": null,
69768
+ "args": [
69769
+ {
69770
+ "name": "filter",
69771
+ "description": null,
69772
+ "type": {
69773
+ "kind": "INPUT_OBJECT",
69774
+ "name": "HeartbeatFilter",
69775
+ "ofType": null
69776
+ },
69777
+ "defaultValue": null,
69778
+ "isDeprecated": false,
69779
+ "deprecationReason": null
69780
+ }
69781
+ ],
69782
+ "type": {
69783
+ "kind": "LIST",
69784
+ "name": null,
69785
+ "ofType": {
69786
+ "kind": "OBJECT",
69787
+ "name": "Heartbeat",
69788
+ "ofType": null
69789
+ }
69790
+ },
69791
+ "isDeprecated": false,
69792
+ "deprecationReason": null
69793
+ },
69794
+ {
69795
+ "name": "isUpstreamHeartbeatOfEdges",
69796
+ "description": null,
69797
+ "args": [],
69798
+ "type": {
69799
+ "kind": "LIST",
69800
+ "name": null,
69801
+ "ofType": {
69802
+ "kind": "OBJECT",
69803
+ "name": "IsUpstreamHeartbeatOfEdge",
69804
+ "ofType": null
69805
+ }
69806
+ },
69807
+ "isDeprecated": false,
69808
+ "deprecationReason": null
69809
+ },
69645
69810
  {
69646
69811
  "name": "mappingKey",
69647
69812
  "description": null,
@@ -73147,6 +73312,47 @@
73147
73312
  "enumValues": null,
73148
73313
  "possibleTypes": null
73149
73314
  },
73315
+ {
73316
+ "kind": "OBJECT",
73317
+ "name": "IsUpstreamHeartbeatOfEdge",
73318
+ "description": null,
73319
+ "fields": [
73320
+ {
73321
+ "name": "mappingKey",
73322
+ "description": null,
73323
+ "args": [],
73324
+ "type": {
73325
+ "kind": "SCALAR",
73326
+ "name": "String",
73327
+ "ofType": null
73328
+ },
73329
+ "isDeprecated": false,
73330
+ "deprecationReason": null
73331
+ },
73332
+ {
73333
+ "name": "node",
73334
+ "description": null,
73335
+ "args": [],
73336
+ "type": {
73337
+ "kind": "INTERFACE",
73338
+ "name": "GraphNode",
73339
+ "ofType": null
73340
+ },
73341
+ "isDeprecated": false,
73342
+ "deprecationReason": null
73343
+ }
73344
+ ],
73345
+ "inputFields": null,
73346
+ "interfaces": [
73347
+ {
73348
+ "kind": "INTERFACE",
73349
+ "name": "Edge",
73350
+ "ofType": null
73351
+ }
73352
+ ],
73353
+ "enumValues": null,
73354
+ "possibleTypes": null
73355
+ },
73150
73356
  {
73151
73357
  "kind": "SCALAR",
73152
73358
  "name": "JSONLD",
@@ -79162,18 +79368,6 @@
79162
79368
  "isDeprecated": false,
79163
79369
  "deprecationReason": null
79164
79370
  },
79165
- {
79166
- "name": "mappingKey",
79167
- "description": null,
79168
- "args": [],
79169
- "type": {
79170
- "kind": "SCALAR",
79171
- "name": "String",
79172
- "ofType": null
79173
- },
79174
- "isDeprecated": false,
79175
- "deprecationReason": null
79176
- },
79177
79371
  {
79178
79372
  "name": "scope",
79179
79373
  "description": null,
@@ -79296,18 +79490,6 @@
79296
79490
  "isDeprecated": false,
79297
79491
  "deprecationReason": null
79298
79492
  },
79299
- {
79300
- "name": "mappingKey",
79301
- "description": null,
79302
- "args": [],
79303
- "type": {
79304
- "kind": "SCALAR",
79305
- "name": "String",
79306
- "ofType": null
79307
- },
79308
- "isDeprecated": false,
79309
- "deprecationReason": null
79310
- },
79311
79493
  {
79312
79494
  "name": "scope",
79313
79495
  "description": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapped/schema-graph-react-apollo",
3
- "version": "2.3.2",
3
+ "version": "2.3.5",
4
4
  "license": "MIT",
5
5
  "description": "Mapped Graph TypeScript typings for react-apollo",
6
6
  "repository": {