@mapped/schema-graph-react-apollo 2.3.3 → 2.3.7

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
 
@@ -1865,13 +1942,119 @@ export type ConnectorEntityImportResponse = {
1865
1942
  job?: Maybe<BaseJob>;
1866
1943
  };
1867
1944
 
1945
+ /**
1946
+ * Narrows the entities of one namespace. `previewConnectorEntities` (as `list.filter`) is the searchable listing; `listConnectorEntities` rejects a non-blank `searchQuery` with `UNIMPLEMENTED`.
1947
+ *
1948
+ * | Field | `listConnectorEntities` | `previewConnectorEntities` |
1949
+ * |---|---|---|
1950
+ * | `id` | `eq` / `in` | `eq` / `in` |
1951
+ * | `refId`, `mappingKey` | `eq` / `in` | ignored; use `searchQuery` |
1952
+ * | `mergingState` | the first of `eq`, `in`, `ne` that is set | `eq`, `in` and `ne` together, against the state the entity would have after this save |
1953
+ * | `lastChangeDate` | every operator set, so `gte` + `lte` is a closed range; an entity never merged matches no bound | same |
1954
+ * | `lastChangeKind` | the first of `eq`, `in`, `ne` that is set | same |
1955
+ * | `searchQuery` | rejected | the grammar below |
1956
+ *
1957
+ * **searchQuery**
1958
+ *
1959
+ * Up to three parts, separated by whitespace, in any order, all combined with AND. Canonical order:
1960
+ *
1961
+ * ```text
1962
+ * #tags gridv1:TOKEN free text
1963
+ * ```
1964
+ *
1965
+ * **Free text**
1966
+ *
1967
+ * - Split on whitespace; every word must appear, as a case-insensitive substring, somewhere in the entity. Word order does not matter.
1968
+ * - Searched: `refId`, the `exactType` and `baseType` names, every `context` value, and every field value of any type (displayed, default and saved), including an entity reference's readable parts.
1969
+ * - Platform ids (`id`, `mappedId`, `mappingKey`, `legacyMappingKey`, and the ids inside an entity reference) match only a word of 8 or more characters: a pasted id finds its entity, a short word such as `2` never matches every entity through a shared id prefix.
1970
+ * - Never searched: `sourceType`, context keys starting with `__`, field slugs, labels and `options`, boolean values, and platform state such as `mergingState` (use the hashtags).
1971
+ *
1972
+ * **Hashtags**
1973
+ *
1974
+ * Case-insensitive and whitespace-bounded; several are combined with AND. Each keeps the entities carrying that tag in `context.__preview.tags`:
1975
+ *
1976
+ * - `#selected`: selected after this save.
1977
+ * - `#added`: this save adds it to the graph.
1978
+ * - `#updated`: already in the graph, and its values change (by a user, a rule, or the source system since its last merge).
1979
+ * - `#deleted`: a user or a rule unselected it, so this save deletes it from the graph; never a missing entity.
1980
+ * - `#missing`: merged, but the source system no longer reports it, so every save deletes it; never tagged `deleted`.
1981
+ * - `#firstSeen`: first imported after the namespace's last save, selected or not; none until the namespace has been saved or merged once.
1982
+ * - `#unresolved`: added or updated, with an entity reference pointing at nothing in the graph. It runs the graph check: if the check cannot complete, the request fails with `ABORTED` (retry) or `RESOURCE_EXHAUSTED` (too many references) instead of returning an empty page.
1983
+ *
1984
+ * Any other `#word`, and a tag glued to another word (`abc#added`), is free text.
1985
+ *
1986
+ * **Grid token**
1987
+ *
1988
+ * A column filter and sort, at most one per query: `gridv1:` followed by the unpadded base64url encoding of this JSON (MUI X DataGrid's filter and sort models; other keys are ignored, both models are optional):
1989
+ *
1990
+ * ```json
1991
+ * {
1992
+ * "filterModel": {
1993
+ * "items": [{ "field": "floor", "operator": ">=", "value": 2 }],
1994
+ * "logicOperator": "and"
1995
+ * },
1996
+ * "sortModel": [{ "field": "name", "sort": "asc" }]
1997
+ * }
1998
+ * ```
1999
+ *
2000
+ * - `logicOperator` is `and` (the default) or `or`, over a flat list of items. `sort` is `asc`, `desc`, or `null` (ignored).
2001
+ * - `field` is a field slug, `@` followed by a context key (non-string values compare as their JSON), or one of the reserved keys `refId`, `mappingKey`, `mappedId`, `legacyMappingKey`. A field slug the namespace does not declare is ignored; a context key starting with `__` is rejected.
2002
+ * - Columns compare as numbers (`FLOOR_LEVEL` fields), by presence only (`ENTITY_REF` fields, whose names are resolved client-side; not sortable), or as text (every other field and key). Operators:
2003
+ *
2004
+ * ```text
2005
+ * operator text number entity reference
2006
+ * contains, doesNotContain yes - -
2007
+ * equals, =, is / doesNotEqual, !=, not yes yes -
2008
+ * startsWith, endsWith yes - -
2009
+ * isEmpty, isNotEmpty yes yes yes
2010
+ * isAnyOf (value is an array) yes yes -
2011
+ * >, >=, <, <= - yes -
2012
+ * ```
2013
+ *
2014
+ * - Values compare against the displayed value (after rules and unsaved edits). Text equality and `isAnyOf` ignore case and accents; `contains`, `startsWith` and `endsWith` ignore case only. Blank text counts as empty. An item with no usable value (missing, blank, `NaN`, an empty array) is ignored.
2015
+ * - Sort keys apply in order: natural order ("Room 2" before "Room 10"), case-insensitive, empty values last in both directions, ties broken by entity `id`.
2016
+ * - Filters and sorts the listing before pagination; never changes the counts.
2017
+ * - Limits, counted before ignored fields are dropped: 50 filter items, 200 `isAnyOf` values summed over the whole query, 10 sort keys, and a 32 KiB encoded payload.
2018
+ * - A second token, an unknown `gridvN` version, a payload that is not base64url JSON of this shape, an unknown operator, an operator the column cannot take, a sort on an entity reference, or a limit exceeded fails with `INVALID_ARGUMENT` and a message starting `Invalid grid query:`.
2019
+ *
2020
+ * **Example**
2021
+ *
2022
+ * For a namespace with fields `floor` (`FLOOR_LEVEL`), `building` (`ENTITY_REF`) and `name` (`NAME`): entities this save adds, on floor 2 or above, whose `department` context is IT or Facilities, with a building set, containing "lobby", sorted by name.
2023
+ *
2024
+ * ```text
2025
+ * #added gridv1:eyJmaWx0ZXJNb2RlbCI6eyJpdGVtcyI6W3siZmllbGQiOiJmbG9vciIsIm9wZXJhdG9yIjoiPj0iLCJ2YWx1ZSI6Mn0seyJmaWVsZCI6IkBkZXBhcnRtZW50Iiwib3BlcmF0b3IiOiJpc0FueU9mIiwidmFsdWUiOlsiSVQiLCJGYWNpbGl0aWVzIl19LHsiZmllbGQiOiJidWlsZGluZyIsIm9wZXJhdG9yIjoiaXNOb3RFbXB0eSJ9XSwibG9naWNPcGVyYXRvciI6ImFuZCJ9LCJzb3J0TW9kZWwiOlt7ImZpZWxkIjoibmFtZSIsInNvcnQiOiJhc2MifV19 lobby
2026
+ * ```
2027
+ *
2028
+ * The token decodes to:
2029
+ *
2030
+ * ```json
2031
+ * {
2032
+ * "filterModel": {
2033
+ * "items": [
2034
+ * { "field": "floor", "operator": ">=", "value": 2 },
2035
+ * { "field": "@department", "operator": "isAnyOf", "value": ["IT", "Facilities"] },
2036
+ * { "field": "building", "operator": "isNotEmpty" }
2037
+ * ],
2038
+ * "logicOperator": "and"
2039
+ * },
2040
+ * "sortModel": [{ "field": "name", "sort": "asc" }]
2041
+ * }
2042
+ * ```
2043
+ */
1868
2044
  export type ConnectorEntityListFilterInput = {
2045
+ /** Entity ids to keep, by eq or in. */
1869
2046
  id?: Maybe<IdFilterExpressionInput>;
2047
+ /** When a merge last changed the entity in the graph; every operator set applies, so gte with lte is a closed range, and an entity never merged matches no bound. */
1870
2048
  lastChangeDate?: Maybe<TimestampFilterExpressionInput>;
2049
+ /** What the last merge did to the entity; only the first operator set among eq, in and ne applies. */
1871
2050
  lastChangeKind?: Maybe<ConnectorEntityChangeKindFilterExpressionInput>;
2051
+ /** Mapping keys to keep, by eq or in; applied by listConnectorEntities only, previewConnectorEntities ignores it. */
1872
2052
  mappingKey?: Maybe<IdFilterExpressionInput>;
2053
+ /** Merging states to keep; listConnectorEntities applies the first operator set among eq, in and ne, previewConnectorEntities applies all of them to the state the entity would have after the save. */
1873
2054
  mergingState?: Maybe<ConnectorEntityMergingStateFilterExpressionInput>;
2055
+ /** Source-system ids to keep, by eq or in; applied by listConnectorEntities only, previewConnectorEntities ignores it. */
1874
2056
  refId?: Maybe<IdFilterExpressionInput>;
2057
+ /** Free text, hashtag filters and an optional grid filter and sort token, honoured by previewConnectorEntities only (listConnectorEntities rejects it); see the type description for the grammar and an example. */
1875
2058
  searchQuery?: Maybe<Scalars['String']>;
1876
2059
  };
1877
2060
 
@@ -1982,9 +2165,17 @@ export type ConnectorEntityMigrationEntity = {
1982
2165
  legacyMappingKey?: Maybe<Scalars['String']>;
1983
2166
  };
1984
2167
 
2168
+ /**
2169
+ * 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:
2170
+ *
2171
+ * ```json
2172
+ * { "name": "Room 204", "floor": "2", "sourceId": "ROOM-204" }
2173
+ * ```
2174
+ */
1985
2175
  export type ConnectorEntityMigrationOrphan = {
1986
2176
  __typename?: 'ConnectorEntityMigrationOrphan';
1987
- data?: Maybe<Scalars['GeoJSON']>;
2177
+ /** Free-form JSON derived from the legacy place mapping; see the example in the type description. */
2178
+ data?: Maybe<Scalars['GraphQLJSON']>;
1988
2179
  exactType?: Maybe<EntityTypeKey>;
1989
2180
  legacyMappingKey?: Maybe<Scalars['String']>;
1990
2181
  };
@@ -1992,6 +2183,7 @@ export type ConnectorEntityMigrationOrphan = {
1992
2183
  export type ConnectorEntityMigrationState = {
1993
2184
  __typename?: 'ConnectorEntityMigrationState';
1994
2185
  configHash?: Maybe<Scalars['String']>;
2186
+ /** Free-form JSON copy of the connector's configuration taken when the migration committed. */
1995
2187
  configSnapshot?: Maybe<Scalars['GraphQLJSON']>;
1996
2188
  counts?: Maybe<ConnectorEntityMigrationCounts>;
1997
2189
  error?: Maybe<Scalars['String']>;
@@ -2019,12 +2211,22 @@ export type ConnectorEntityPrepareMigrationRequestInput = {
2019
2211
  connectorId?: Maybe<Scalars['String']>;
2020
2212
  };
2021
2213
 
2214
+ /** Counts for the whole namespace of what a save would do, independent of any listing filter. */
2022
2215
  export type ConnectorEntityPreviewCounts = {
2023
2216
  __typename?: 'ConnectorEntityPreviewCounts';
2217
+ /** Entities this save adds to the graph. */
2024
2218
  added?: Maybe<Scalars['Int']>;
2219
+ /** Entities a user or a rule unselected, which this save deletes from the graph; excludes missing. */
2025
2220
  deleted?: Maybe<Scalars['Int']>;
2221
+ /** Entities first imported after the namespace's last save, selected or not; 0 until the namespace has been saved or merged once. */
2222
+ firstSeen?: Maybe<Scalars['Int']>;
2223
+ /** Merged entities the source system no longer reports, which every save deletes from the graph. */
2224
+ missing?: Maybe<Scalars['Int']>;
2225
+ /** Entities selected after this save. */
2026
2226
  selected?: Maybe<Scalars['Int']>;
2227
+ /** Entities with an entity reference pointing at nothing in the graph; computed only with the FULL counts mode. */
2027
2228
  unresolved?: Maybe<Scalars['Int']>;
2229
+ /** Entities already in the graph whose values change — by a user, a rule, or the source system since the entity's last merge. */
2028
2230
  updated?: Maybe<Scalars['Int']>;
2029
2231
  };
2030
2232
 
@@ -4901,6 +5103,7 @@ export enum EntityTypeKey {
4901
5103
  OpcuaDevice = 'OPCUA_DEVICE',
4902
5104
  OpcuaNode = 'OPCUA_NODE',
4903
5105
  OpcuaObject = 'OPCUA_OBJECT',
5106
+ OpcuaProperty = 'OPCUA_PROPERTY',
4904
5107
  OpcuaServer = 'OPCUA_SERVER',
4905
5108
  OpcuaVariable = 'OPCUA_VARIABLE',
4906
5109
  Opening = 'OPENING',
@@ -7464,6 +7667,7 @@ export enum EntityTypeKeyInput {
7464
7667
  OpcuaDevice = 'OPCUA_DEVICE',
7465
7668
  OpcuaNode = 'OPCUA_NODE',
7466
7669
  OpcuaObject = 'OPCUA_OBJECT',
7670
+ OpcuaProperty = 'OPCUA_PROPERTY',
7467
7671
  OpcuaServer = 'OPCUA_SERVER',
7468
7672
  OpcuaVariable = 'OPCUA_VARIABLE',
7469
7673
  Opening = 'OPENING',
@@ -10212,6 +10416,12 @@ export type HasProviderEdge = Edge & {
10212
10416
  node?: Maybe<GraphNode>;
10213
10417
  };
10214
10418
 
10419
+ export type HasUpstreamHeartbeatEdge = Edge & {
10420
+ __typename?: 'HasUpstreamHeartbeatEdge';
10421
+ mappingKey?: Maybe<Scalars['String']>;
10422
+ node?: Maybe<GraphNode>;
10423
+ };
10424
+
10215
10425
  export type Heartbeat = GraphNode & {
10216
10426
  __typename?: 'Heartbeat';
10217
10427
  connectedDataSourceId?: Maybe<Scalars['String']>;
@@ -10231,6 +10441,8 @@ export type Heartbeat = GraphNode & {
10231
10441
  hasPrimBindingEdges?: Maybe<Array<Maybe<HasPrimBindingEdge>>>;
10232
10442
  hasPropertyContributedFrom?: Maybe<Array<Maybe<HeartbeatHasPropertyContributedFromUnion>>>;
10233
10443
  hasPropertyContributedFromEdges?: Maybe<Array<Maybe<HeartbeatHasPropertyContributedFromEdge>>>;
10444
+ hasUpstreamHeartbeat?: Maybe<Array<Maybe<Heartbeat>>>;
10445
+ hasUpstreamHeartbeatEdges?: Maybe<Array<Maybe<HasUpstreamHeartbeatEdge>>>;
10234
10446
  id: Scalars['String'];
10235
10447
  identities?: Maybe<Array<Maybe<HeartbeatIdentityUnion>>>;
10236
10448
  isBilledTo?: Maybe<Account>;
@@ -10245,6 +10457,8 @@ export type Heartbeat = GraphNode & {
10245
10457
  isPartOfEdges?: Maybe<Array<Maybe<IsPartOfEdge>>>;
10246
10458
  isPointOf?: Maybe<Array<Maybe<IsPointOfUnion>>>;
10247
10459
  isPointOfEdges?: Maybe<Array<Maybe<IsPointOfEdge>>>;
10460
+ isUpstreamHeartbeatOf?: Maybe<Array<Maybe<Heartbeat>>>;
10461
+ isUpstreamHeartbeatOfEdges?: Maybe<Array<Maybe<IsUpstreamHeartbeatOfEdge>>>;
10248
10462
  mappingKey?: Maybe<Scalars['String']>;
10249
10463
  name?: Maybe<Scalars['String']>;
10250
10464
  series?: Maybe<Array<Maybe<TimeseriesRow>>>;
@@ -10285,6 +10499,12 @@ export type HeartbeatHasPrimBindingArgs = {
10285
10499
  };
10286
10500
 
10287
10501
 
10502
+ export type HeartbeatHasUpstreamHeartbeatArgs = {
10503
+ filter?: Maybe<HeartbeatFilter>;
10504
+ transitive?: Maybe<Scalars['Boolean']>;
10505
+ };
10506
+
10507
+
10288
10508
  export type HeartbeatIsBilledToArgs = {
10289
10509
  filter?: Maybe<AccountFilter>;
10290
10510
  };
@@ -10315,6 +10535,11 @@ export type HeartbeatIsPointOfArgs = {
10315
10535
  };
10316
10536
 
10317
10537
 
10538
+ export type HeartbeatIsUpstreamHeartbeatOfArgs = {
10539
+ filter?: Maybe<HeartbeatFilter>;
10540
+ };
10541
+
10542
+
10318
10543
  export type HeartbeatSeriesArgs = {
10319
10544
  endTime?: Maybe<Scalars['DateTime']>;
10320
10545
  latest?: Maybe<Scalars['Boolean']>;
@@ -10726,6 +10951,12 @@ export type IsServedByEdge = Edge & {
10726
10951
  node?: Maybe<GraphNode>;
10727
10952
  };
10728
10953
 
10954
+ export type IsUpstreamHeartbeatOfEdge = Edge & {
10955
+ __typename?: 'IsUpstreamHeartbeatOfEdge';
10956
+ mappingKey?: Maybe<Scalars['String']>;
10957
+ node?: Maybe<GraphNode>;
10958
+ };
10959
+
10729
10960
 
10730
10961
 
10731
10962
  /** Job interface - base type for all job types */
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",
@@ -13964,12 +13964,12 @@
13964
13964
  {
13965
13965
  "kind": "INPUT_OBJECT",
13966
13966
  "name": "ConnectorEntityListFilterInput",
13967
- "description": null,
13967
+ "description": "Narrows the entities of one namespace. `previewConnectorEntities` (as `list.filter`) is the searchable listing; `listConnectorEntities` rejects a non-blank `searchQuery` with `UNIMPLEMENTED`.\n\n| Field | `listConnectorEntities` | `previewConnectorEntities` |\n|---|---|---|\n| `id` | `eq` / `in` | `eq` / `in` |\n| `refId`, `mappingKey` | `eq` / `in` | ignored; use `searchQuery` |\n| `mergingState` | the first of `eq`, `in`, `ne` that is set | `eq`, `in` and `ne` together, against the state the entity would have after this save |\n| `lastChangeDate` | every operator set, so `gte` + `lte` is a closed range; an entity never merged matches no bound | same |\n| `lastChangeKind` | the first of `eq`, `in`, `ne` that is set | same |\n| `searchQuery` | rejected | the grammar below |\n\n**searchQuery**\n\nUp to three parts, separated by whitespace, in any order, all combined with AND. Canonical order:\n\n```text\n#tags gridv1:TOKEN free text\n```\n\n**Free text**\n\n- Split on whitespace; every word must appear, as a case-insensitive substring, somewhere in the entity. Word order does not matter.\n- Searched: `refId`, the `exactType` and `baseType` names, every `context` value, and every field value of any type (displayed, default and saved), including an entity reference's readable parts.\n- Platform ids (`id`, `mappedId`, `mappingKey`, `legacyMappingKey`, and the ids inside an entity reference) match only a word of 8 or more characters: a pasted id finds its entity, a short word such as `2` never matches every entity through a shared id prefix.\n- Never searched: `sourceType`, context keys starting with `__`, field slugs, labels and `options`, boolean values, and platform state such as `mergingState` (use the hashtags).\n\n**Hashtags**\n\nCase-insensitive and whitespace-bounded; several are combined with AND. Each keeps the entities carrying that tag in `context.__preview.tags`:\n\n- `#selected`: selected after this save.\n- `#added`: this save adds it to the graph.\n- `#updated`: already in the graph, and its values change (by a user, a rule, or the source system since its last merge).\n- `#deleted`: a user or a rule unselected it, so this save deletes it from the graph; never a missing entity.\n- `#missing`: merged, but the source system no longer reports it, so every save deletes it; never tagged `deleted`.\n- `#firstSeen`: first imported after the namespace's last save, selected or not; none until the namespace has been saved or merged once.\n- `#unresolved`: added or updated, with an entity reference pointing at nothing in the graph. It runs the graph check: if the check cannot complete, the request fails with `ABORTED` (retry) or `RESOURCE_EXHAUSTED` (too many references) instead of returning an empty page.\n\nAny other `#word`, and a tag glued to another word (`abc#added`), is free text.\n\n**Grid token**\n\nA column filter and sort, at most one per query: `gridv1:` followed by the unpadded base64url encoding of this JSON (MUI X DataGrid's filter and sort models; other keys are ignored, both models are optional):\n\n```json\n{\n \"filterModel\": {\n \"items\": [{ \"field\": \"floor\", \"operator\": \">=\", \"value\": 2 }],\n \"logicOperator\": \"and\"\n },\n \"sortModel\": [{ \"field\": \"name\", \"sort\": \"asc\" }]\n}\n```\n\n- `logicOperator` is `and` (the default) or `or`, over a flat list of items. `sort` is `asc`, `desc`, or `null` (ignored).\n- `field` is a field slug, `@` followed by a context key (non-string values compare as their JSON), or one of the reserved keys `refId`, `mappingKey`, `mappedId`, `legacyMappingKey`. A field slug the namespace does not declare is ignored; a context key starting with `__` is rejected.\n- Columns compare as numbers (`FLOOR_LEVEL` fields), by presence only (`ENTITY_REF` fields, whose names are resolved client-side; not sortable), or as text (every other field and key). Operators:\n\n```text\noperator text number entity reference\ncontains, doesNotContain yes - -\nequals, =, is / doesNotEqual, !=, not yes yes -\nstartsWith, endsWith yes - -\nisEmpty, isNotEmpty yes yes yes\nisAnyOf (value is an array) yes yes -\n>, >=, <, <= - yes -\n```\n\n- Values compare against the displayed value (after rules and unsaved edits). Text equality and `isAnyOf` ignore case and accents; `contains`, `startsWith` and `endsWith` ignore case only. Blank text counts as empty. An item with no usable value (missing, blank, `NaN`, an empty array) is ignored.\n- Sort keys apply in order: natural order (\"Room 2\" before \"Room 10\"), case-insensitive, empty values last in both directions, ties broken by entity `id`.\n- Filters and sorts the listing before pagination; never changes the counts.\n- Limits, counted before ignored fields are dropped: 50 filter items, 200 `isAnyOf` values summed over the whole query, 10 sort keys, and a 32 KiB encoded payload.\n- A second token, an unknown `gridvN` version, a payload that is not base64url JSON of this shape, an unknown operator, an operator the column cannot take, a sort on an entity reference, or a limit exceeded fails with `INVALID_ARGUMENT` and a message starting `Invalid grid query:`.\n\n**Example**\n\nFor a namespace with fields `floor` (`FLOOR_LEVEL`), `building` (`ENTITY_REF`) and `name` (`NAME`): entities this save adds, on floor 2 or above, whose `department` context is IT or Facilities, with a building set, containing \"lobby\", sorted by name.\n\n```text\n#added gridv1:eyJmaWx0ZXJNb2RlbCI6eyJpdGVtcyI6W3siZmllbGQiOiJmbG9vciIsIm9wZXJhdG9yIjoiPj0iLCJ2YWx1ZSI6Mn0seyJmaWVsZCI6IkBkZXBhcnRtZW50Iiwib3BlcmF0b3IiOiJpc0FueU9mIiwidmFsdWUiOlsiSVQiLCJGYWNpbGl0aWVzIl19LHsiZmllbGQiOiJidWlsZGluZyIsIm9wZXJhdG9yIjoiaXNOb3RFbXB0eSJ9XSwibG9naWNPcGVyYXRvciI6ImFuZCJ9LCJzb3J0TW9kZWwiOlt7ImZpZWxkIjoibmFtZSIsInNvcnQiOiJhc2MifV19 lobby\n```\n\nThe token decodes to:\n\n```json\n{\n \"filterModel\": {\n \"items\": [\n { \"field\": \"floor\", \"operator\": \">=\", \"value\": 2 },\n { \"field\": \"@department\", \"operator\": \"isAnyOf\", \"value\": [\"IT\", \"Facilities\"] },\n { \"field\": \"building\", \"operator\": \"isNotEmpty\" }\n ],\n \"logicOperator\": \"and\"\n },\n \"sortModel\": [{ \"field\": \"name\", \"sort\": \"asc\" }]\n}\n```",
13968
13968
  "fields": null,
13969
13969
  "inputFields": [
13970
13970
  {
13971
13971
  "name": "id",
13972
- "description": null,
13972
+ "description": "Entity ids to keep, by eq or in.",
13973
13973
  "type": {
13974
13974
  "kind": "INPUT_OBJECT",
13975
13975
  "name": "IDFilterExpressionInput",
@@ -13981,7 +13981,7 @@
13981
13981
  },
13982
13982
  {
13983
13983
  "name": "lastChangeDate",
13984
- "description": null,
13984
+ "description": "When a merge last changed the entity in the graph; every operator set applies, so gte with lte is a closed range, and an entity never merged matches no bound.",
13985
13985
  "type": {
13986
13986
  "kind": "INPUT_OBJECT",
13987
13987
  "name": "TimestampFilterExpressionInput",
@@ -13993,7 +13993,7 @@
13993
13993
  },
13994
13994
  {
13995
13995
  "name": "lastChangeKind",
13996
- "description": null,
13996
+ "description": "What the last merge did to the entity; only the first operator set among eq, in and ne applies.",
13997
13997
  "type": {
13998
13998
  "kind": "INPUT_OBJECT",
13999
13999
  "name": "ConnectorEntityChangeKindFilterExpressionInput",
@@ -14005,7 +14005,7 @@
14005
14005
  },
14006
14006
  {
14007
14007
  "name": "mappingKey",
14008
- "description": null,
14008
+ "description": "Mapping keys to keep, by eq or in; applied by listConnectorEntities only, previewConnectorEntities ignores it.",
14009
14009
  "type": {
14010
14010
  "kind": "INPUT_OBJECT",
14011
14011
  "name": "IDFilterExpressionInput",
@@ -14017,7 +14017,7 @@
14017
14017
  },
14018
14018
  {
14019
14019
  "name": "mergingState",
14020
- "description": null,
14020
+ "description": "Merging states to keep; listConnectorEntities applies the first operator set among eq, in and ne, previewConnectorEntities applies all of them to the state the entity would have after the save.",
14021
14021
  "type": {
14022
14022
  "kind": "INPUT_OBJECT",
14023
14023
  "name": "ConnectorEntityMergingStateFilterExpressionInput",
@@ -14029,7 +14029,7 @@
14029
14029
  },
14030
14030
  {
14031
14031
  "name": "refId",
14032
- "description": null,
14032
+ "description": "Source-system ids to keep, by eq or in; applied by listConnectorEntities only, previewConnectorEntities ignores it.",
14033
14033
  "type": {
14034
14034
  "kind": "INPUT_OBJECT",
14035
14035
  "name": "IDFilterExpressionInput",
@@ -14041,7 +14041,7 @@
14041
14041
  },
14042
14042
  {
14043
14043
  "name": "searchQuery",
14044
- "description": null,
14044
+ "description": "Free text, hashtag filters and an optional grid filter and sort token, honoured by previewConnectorEntities only (listConnectorEntities rejects it); see the type description for the grammar and an example.",
14045
14045
  "type": {
14046
14046
  "kind": "SCALAR",
14047
14047
  "name": "String",
@@ -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,
@@ -68942,6 +68988,47 @@
68942
68988
  "enumValues": null,
68943
68989
  "possibleTypes": null
68944
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
+ },
68945
69032
  {
68946
69033
  "kind": "OBJECT",
68947
69034
  "name": "Heartbeat",
@@ -69320,6 +69407,63 @@
69320
69407
  "isDeprecated": false,
69321
69408
  "deprecationReason": null
69322
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
+ },
69323
69467
  {
69324
69468
  "name": "id",
69325
69469
  "description": null,
@@ -69618,6 +69762,51 @@
69618
69762
  "isDeprecated": false,
69619
69763
  "deprecationReason": null
69620
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
+ },
69621
69810
  {
69622
69811
  "name": "mappingKey",
69623
69812
  "description": null,
@@ -73123,6 +73312,47 @@
73123
73312
  "enumValues": null,
73124
73313
  "possibleTypes": null
73125
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
+ },
73126
73356
  {
73127
73357
  "kind": "SCALAR",
73128
73358
  "name": "JSONLD",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapped/schema-graph-react-apollo",
3
- "version": "2.3.3",
3
+ "version": "2.3.7",
4
4
  "license": "MIT",
5
5
  "description": "Mapped Graph TypeScript typings for react-apollo",
6
6
  "repository": {