@salesforce/lds-adapters-platform-slack-bridge 1.380.0-dev13 → 1.380.0-dev15
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/es/es2018/platform-slack-bridge.js +257 -84
- package/dist/es/es2018/types/src/generated/types/SlackBridgeMessageOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SlackBridgeRoomOutputRepresentation.d.ts +40 -0
- package/package.json +3 -3
- package/sfdc/index.js +244 -71
- package/src/raml/api.raml +27 -0
|
@@ -112,8 +112,8 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
const VERSION$
|
|
116
|
-
function validate$
|
|
115
|
+
const VERSION$v = "d8f70047b26b82f280d95ae8abe94157";
|
|
116
|
+
function validate$v(obj, path = 'SlackBridgeEnterpriseUserInfoOutputRepresentation') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -151,10 +151,10 @@ function validate$u(obj, path = 'SlackBridgeEnterpriseUserInfoOutputRepresentati
|
|
|
151
151
|
})();
|
|
152
152
|
return v_error === undefined ? null : v_error;
|
|
153
153
|
}
|
|
154
|
-
const select$
|
|
154
|
+
const select$T = function SlackBridgeEnterpriseUserInfoOutputRepresentationSelect() {
|
|
155
155
|
return {
|
|
156
156
|
kind: 'Fragment',
|
|
157
|
-
version: VERSION$
|
|
157
|
+
version: VERSION$v,
|
|
158
158
|
private: [],
|
|
159
159
|
selections: [
|
|
160
160
|
{
|
|
@@ -184,7 +184,7 @@ const select$S = function SlackBridgeEnterpriseUserInfoOutputRepresentationSelec
|
|
|
184
184
|
]
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
function equals$
|
|
187
|
+
function equals$v(existing, incoming) {
|
|
188
188
|
const existing_isAdmin = existing.isAdmin;
|
|
189
189
|
const incoming_isAdmin = incoming.isAdmin;
|
|
190
190
|
if (!(existing_isAdmin === incoming_isAdmin)) {
|
|
@@ -218,8 +218,8 @@ function equals$u(existing, incoming) {
|
|
|
218
218
|
return true;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
const VERSION$
|
|
222
|
-
function validate$
|
|
221
|
+
const VERSION$u = "6a2ede1150bccf991e3f6ea7b55a9964";
|
|
222
|
+
function validate$u(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
|
|
223
223
|
const v_error = (() => {
|
|
224
224
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
225
225
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -305,10 +305,10 @@ function validate$t(obj, path = 'SlackBridgeEmojiValueOutputRepresentation') {
|
|
|
305
305
|
})();
|
|
306
306
|
return v_error === undefined ? null : v_error;
|
|
307
307
|
}
|
|
308
|
-
const select$
|
|
308
|
+
const select$S = function SlackBridgeEmojiValueOutputRepresentationSelect() {
|
|
309
309
|
return {
|
|
310
310
|
kind: 'Fragment',
|
|
311
|
-
version: VERSION$
|
|
311
|
+
version: VERSION$u,
|
|
312
312
|
private: [],
|
|
313
313
|
selections: [
|
|
314
314
|
{
|
|
@@ -326,7 +326,7 @@ const select$R = function SlackBridgeEmojiValueOutputRepresentationSelect() {
|
|
|
326
326
|
]
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
|
-
function equals$
|
|
329
|
+
function equals$u(existing, incoming) {
|
|
330
330
|
const existing_appleUrl = existing.appleUrl;
|
|
331
331
|
const incoming_appleUrl = incoming.appleUrl;
|
|
332
332
|
if (!(existing_appleUrl === incoming_appleUrl)) {
|
|
@@ -346,8 +346,8 @@ function equals$t(existing, incoming) {
|
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
const TTL$7 = 2592000000;
|
|
349
|
-
const VERSION$
|
|
350
|
-
function validate$
|
|
349
|
+
const VERSION$t = "a0e1530372a57d61a1264218124bbb5c";
|
|
350
|
+
function validate$t(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
|
|
351
351
|
const v_error = (() => {
|
|
352
352
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
353
353
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -465,7 +465,7 @@ function validate$s(obj, path = 'SlackBridgeEmojiOutputRepresentation') {
|
|
|
465
465
|
const path_value = path + '.value';
|
|
466
466
|
let obj_value_union0 = null;
|
|
467
467
|
const obj_value_union0_error = (() => {
|
|
468
|
-
const referencepath_valueValidationError = validate$
|
|
468
|
+
const referencepath_valueValidationError = validate$u(obj_value, path_value);
|
|
469
469
|
if (referencepath_valueValidationError !== null) {
|
|
470
470
|
let message = 'Object doesn\'t match SlackBridgeEmojiValueOutputRepresentation (at "' + path_value + '")\n';
|
|
471
471
|
message += referencepath_valueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -506,11 +506,11 @@ function keyBuilderFromType$b(luvio, object) {
|
|
|
506
506
|
function normalize$k(input, existing, path, luvio, store, timestamp) {
|
|
507
507
|
return input;
|
|
508
508
|
}
|
|
509
|
-
const select$
|
|
510
|
-
const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$
|
|
509
|
+
const select$R = function SlackBridgeEmojiOutputRepresentationSelect() {
|
|
510
|
+
const { selections: SlackBridgeEmojiValueOutputRepresentation__selections, opaque: SlackBridgeEmojiValueOutputRepresentation__opaque, } = select$S();
|
|
511
511
|
return {
|
|
512
512
|
kind: 'Fragment',
|
|
513
|
-
version: VERSION$
|
|
513
|
+
version: VERSION$t,
|
|
514
514
|
private: [],
|
|
515
515
|
selections: [
|
|
516
516
|
{
|
|
@@ -542,7 +542,7 @@ const select$Q = function SlackBridgeEmojiOutputRepresentationSelect() {
|
|
|
542
542
|
]
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
|
-
function equals$
|
|
545
|
+
function equals$t(existing, incoming) {
|
|
546
546
|
const existing_name = existing.name;
|
|
547
547
|
const incoming_name = incoming.name;
|
|
548
548
|
if (!(existing_name === incoming_name)) {
|
|
@@ -573,21 +573,21 @@ function equals$s(existing, incoming) {
|
|
|
573
573
|
if (!(existing_value === incoming_value
|
|
574
574
|
|| (existing_value != null &&
|
|
575
575
|
incoming_value != null &&
|
|
576
|
-
equals$
|
|
576
|
+
equals$u(existing_value, incoming_value)))) {
|
|
577
577
|
return false;
|
|
578
578
|
}
|
|
579
579
|
return true;
|
|
580
580
|
}
|
|
581
581
|
const ingest$k = function SlackBridgeEmojiOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
582
582
|
if (process.env.NODE_ENV !== 'production') {
|
|
583
|
-
const validateError = validate$
|
|
583
|
+
const validateError = validate$t(input);
|
|
584
584
|
if (validateError !== null) {
|
|
585
585
|
throw validateError;
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
const key = keyBuilderFromType$b(luvio, input);
|
|
589
589
|
const ttlToUse = TTL$7;
|
|
590
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "SlackBridge", VERSION$
|
|
590
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "SlackBridge", VERSION$t, RepresentationType$k, equals$t);
|
|
591
591
|
return createLink(key);
|
|
592
592
|
};
|
|
593
593
|
function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -601,8 +601,8 @@ function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
const TTL$6 = 900000;
|
|
604
|
-
const VERSION$
|
|
605
|
-
function validate$
|
|
604
|
+
const VERSION$s = "e028e881472367bb6b51398f0ceca161";
|
|
605
|
+
function validate$s(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
606
606
|
const v_error = (() => {
|
|
607
607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
608
608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -669,7 +669,7 @@ function validate$r(obj, path = 'SlackBridgeUserInfoOutputRepresentation') {
|
|
|
669
669
|
const path_enterpriseUser = path + '.enterpriseUser';
|
|
670
670
|
let obj_enterpriseUser_union0 = null;
|
|
671
671
|
const obj_enterpriseUser_union0_error = (() => {
|
|
672
|
-
const referencepath_enterpriseUserValidationError = validate$
|
|
672
|
+
const referencepath_enterpriseUserValidationError = validate$v(obj_enterpriseUser, path_enterpriseUser);
|
|
673
673
|
if (referencepath_enterpriseUserValidationError !== null) {
|
|
674
674
|
let message = 'Object doesn\'t match SlackBridgeEnterpriseUserInfoOutputRepresentation (at "' + path_enterpriseUser + '")\n';
|
|
675
675
|
message += referencepath_enterpriseUserValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1170,11 +1170,11 @@ function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
return input;
|
|
1172
1172
|
}
|
|
1173
|
-
const select$
|
|
1174
|
-
const { selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections, opaque: SlackBridgeEnterpriseUserInfoOutputRepresentation__opaque, } = select$
|
|
1173
|
+
const select$Q = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
1174
|
+
const { selections: SlackBridgeEnterpriseUserInfoOutputRepresentation__selections, opaque: SlackBridgeEnterpriseUserInfoOutputRepresentation__opaque, } = select$T();
|
|
1175
1175
|
return {
|
|
1176
1176
|
kind: 'Fragment',
|
|
1177
|
-
version: VERSION$
|
|
1177
|
+
version: VERSION$s,
|
|
1178
1178
|
private: [],
|
|
1179
1179
|
selections: [
|
|
1180
1180
|
{
|
|
@@ -1275,7 +1275,7 @@ const select$P = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1275
1275
|
name: 'statusEmoji',
|
|
1276
1276
|
kind: 'Link',
|
|
1277
1277
|
nullable: true,
|
|
1278
|
-
fragment: select$
|
|
1278
|
+
fragment: select$R()
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
1281
|
name: 'statusMessage',
|
|
@@ -1302,7 +1302,7 @@ const select$P = function SlackBridgeUserInfoOutputRepresentationSelect() {
|
|
|
1302
1302
|
]
|
|
1303
1303
|
};
|
|
1304
1304
|
};
|
|
1305
|
-
function equals$
|
|
1305
|
+
function equals$s(existing, incoming) {
|
|
1306
1306
|
const existing_bot = existing.bot;
|
|
1307
1307
|
const incoming_bot = incoming.bot;
|
|
1308
1308
|
if (!(existing_bot === incoming_bot)) {
|
|
@@ -1383,7 +1383,7 @@ function equals$r(existing, incoming) {
|
|
|
1383
1383
|
if (!(existing_enterpriseUser === incoming_enterpriseUser
|
|
1384
1384
|
|| (existing_enterpriseUser != null &&
|
|
1385
1385
|
incoming_enterpriseUser != null &&
|
|
1386
|
-
equals$
|
|
1386
|
+
equals$v(existing_enterpriseUser, incoming_enterpriseUser)))) {
|
|
1387
1387
|
return false;
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
@@ -1503,14 +1503,14 @@ function equals$r(existing, incoming) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
const ingest$j = function SlackBridgeUserInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1505
1505
|
if (process.env.NODE_ENV !== 'production') {
|
|
1506
|
-
const validateError = validate$
|
|
1506
|
+
const validateError = validate$s(input);
|
|
1507
1507
|
if (validateError !== null) {
|
|
1508
1508
|
throw validateError;
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
1511
|
const key = keyBuilderFromType$a(luvio, input);
|
|
1512
1512
|
const ttlToUse = TTL$6;
|
|
1513
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SlackBridge", VERSION$
|
|
1513
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "SlackBridge", VERSION$s, RepresentationType$j, equals$s);
|
|
1514
1514
|
return createLink(key);
|
|
1515
1515
|
};
|
|
1516
1516
|
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1526,8 +1526,8 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
|
-
const VERSION$
|
|
1530
|
-
function validate$
|
|
1529
|
+
const VERSION$r = "90163ce3734714c2b87ec91b0ae3ff53";
|
|
1530
|
+
function validate$r(obj, path = 'SlackBridgeConversationRestrictionsOutputRepresentation') {
|
|
1531
1531
|
const v_error = (() => {
|
|
1532
1532
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1533
1533
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1559,10 +1559,10 @@ function validate$q(obj, path = 'SlackBridgeConversationRestrictionsOutputRepres
|
|
|
1559
1559
|
})();
|
|
1560
1560
|
return v_error === undefined ? null : v_error;
|
|
1561
1561
|
}
|
|
1562
|
-
const select$
|
|
1562
|
+
const select$P = function SlackBridgeConversationRestrictionsOutputRepresentationSelect() {
|
|
1563
1563
|
return {
|
|
1564
1564
|
kind: 'Fragment',
|
|
1565
|
-
version: VERSION$
|
|
1565
|
+
version: VERSION$r,
|
|
1566
1566
|
private: [],
|
|
1567
1567
|
selections: [
|
|
1568
1568
|
{
|
|
@@ -1578,7 +1578,7 @@ const select$O = function SlackBridgeConversationRestrictionsOutputRepresentatio
|
|
|
1578
1578
|
]
|
|
1579
1579
|
};
|
|
1580
1580
|
};
|
|
1581
|
-
function equals$
|
|
1581
|
+
function equals$r(existing, incoming) {
|
|
1582
1582
|
const existing_type = existing.type;
|
|
1583
1583
|
const incoming_type = incoming.type;
|
|
1584
1584
|
const equals_type_items = equalsArray(existing_type, incoming_type, (existing_type_item, incoming_type_item) => {
|
|
@@ -1602,8 +1602,8 @@ function equals$q(existing, incoming) {
|
|
|
1602
1602
|
return true;
|
|
1603
1603
|
}
|
|
1604
1604
|
|
|
1605
|
-
const VERSION$
|
|
1606
|
-
function validate$
|
|
1605
|
+
const VERSION$q = "139b4530e5abfb4424ce58620c1e6934";
|
|
1606
|
+
function validate$q(obj, path = 'SlackBridgeConversationPropertiesOutputRepresentation') {
|
|
1607
1607
|
const v_error = (() => {
|
|
1608
1608
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1609
1609
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1690,7 +1690,7 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1690
1690
|
const path_postingRestrictedTo = path + '.postingRestrictedTo';
|
|
1691
1691
|
let obj_postingRestrictedTo_union0 = null;
|
|
1692
1692
|
const obj_postingRestrictedTo_union0_error = (() => {
|
|
1693
|
-
const referencepath_postingRestrictedToValidationError = validate$
|
|
1693
|
+
const referencepath_postingRestrictedToValidationError = validate$r(obj_postingRestrictedTo, path_postingRestrictedTo);
|
|
1694
1694
|
if (referencepath_postingRestrictedToValidationError !== null) {
|
|
1695
1695
|
let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_postingRestrictedTo + '")\n';
|
|
1696
1696
|
message += referencepath_postingRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1719,7 +1719,7 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1719
1719
|
const path_threadsRestrictedTo = path + '.threadsRestrictedTo';
|
|
1720
1720
|
let obj_threadsRestrictedTo_union0 = null;
|
|
1721
1721
|
const obj_threadsRestrictedTo_union0_error = (() => {
|
|
1722
|
-
const referencepath_threadsRestrictedToValidationError = validate$
|
|
1722
|
+
const referencepath_threadsRestrictedToValidationError = validate$r(obj_threadsRestrictedTo, path_threadsRestrictedTo);
|
|
1723
1723
|
if (referencepath_threadsRestrictedToValidationError !== null) {
|
|
1724
1724
|
let message = 'Object doesn\'t match SlackBridgeConversationRestrictionsOutputRepresentation (at "' + path_threadsRestrictedTo + '")\n';
|
|
1725
1725
|
message += referencepath_threadsRestrictedToValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1747,11 +1747,11 @@ function validate$p(obj, path = 'SlackBridgeConversationPropertiesOutputRepresen
|
|
|
1747
1747
|
})();
|
|
1748
1748
|
return v_error === undefined ? null : v_error;
|
|
1749
1749
|
}
|
|
1750
|
-
const select$
|
|
1751
|
-
const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$
|
|
1750
|
+
const select$O = function SlackBridgeConversationPropertiesOutputRepresentationSelect() {
|
|
1751
|
+
const { selections: SlackBridgeConversationRestrictionsOutputRepresentation__selections, opaque: SlackBridgeConversationRestrictionsOutputRepresentation__opaque, } = select$P();
|
|
1752
1752
|
return {
|
|
1753
1753
|
kind: 'Fragment',
|
|
1754
|
-
version: VERSION$
|
|
1754
|
+
version: VERSION$q,
|
|
1755
1755
|
private: [],
|
|
1756
1756
|
selections: [
|
|
1757
1757
|
{
|
|
@@ -1781,7 +1781,7 @@ const select$N = function SlackBridgeConversationPropertiesOutputRepresentationS
|
|
|
1781
1781
|
]
|
|
1782
1782
|
};
|
|
1783
1783
|
};
|
|
1784
|
-
function equals$
|
|
1784
|
+
function equals$q(existing, incoming) {
|
|
1785
1785
|
const existing_atChannelRestricted = existing.atChannelRestricted;
|
|
1786
1786
|
const incoming_atChannelRestricted = incoming.atChannelRestricted;
|
|
1787
1787
|
if (!(existing_atChannelRestricted === incoming_atChannelRestricted)) {
|
|
@@ -1802,7 +1802,7 @@ function equals$p(existing, incoming) {
|
|
|
1802
1802
|
if (!(existing_postingRestrictedTo === incoming_postingRestrictedTo
|
|
1803
1803
|
|| (existing_postingRestrictedTo != null &&
|
|
1804
1804
|
incoming_postingRestrictedTo != null &&
|
|
1805
|
-
equals$
|
|
1805
|
+
equals$r(existing_postingRestrictedTo, incoming_postingRestrictedTo)))) {
|
|
1806
1806
|
return false;
|
|
1807
1807
|
}
|
|
1808
1808
|
const existing_threadsRestrictedTo = existing.threadsRestrictedTo;
|
|
@@ -1810,15 +1810,15 @@ function equals$p(existing, incoming) {
|
|
|
1810
1810
|
if (!(existing_threadsRestrictedTo === incoming_threadsRestrictedTo
|
|
1811
1811
|
|| (existing_threadsRestrictedTo != null &&
|
|
1812
1812
|
incoming_threadsRestrictedTo != null &&
|
|
1813
|
-
equals$
|
|
1813
|
+
equals$r(existing_threadsRestrictedTo, incoming_threadsRestrictedTo)))) {
|
|
1814
1814
|
return false;
|
|
1815
1815
|
}
|
|
1816
1816
|
return true;
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
1819
|
const TTL$5 = 900000;
|
|
1820
|
-
const VERSION$
|
|
1821
|
-
function validate$
|
|
1820
|
+
const VERSION$p = "898110c1fd3651e7f407ba56cf0ca85a";
|
|
1821
|
+
function validate$p(obj, path = 'SlackBridgeConversationInfoOutputRepresentation') {
|
|
1822
1822
|
const v_error = (() => {
|
|
1823
1823
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1824
1824
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2308,7 +2308,7 @@ function validate$o(obj, path = 'SlackBridgeConversationInfoOutputRepresentation
|
|
|
2308
2308
|
const path_properties = path + '.properties';
|
|
2309
2309
|
let obj_properties_union0 = null;
|
|
2310
2310
|
const obj_properties_union0_error = (() => {
|
|
2311
|
-
const referencepath_propertiesValidationError = validate$
|
|
2311
|
+
const referencepath_propertiesValidationError = validate$q(obj_properties, path_properties);
|
|
2312
2312
|
if (referencepath_propertiesValidationError !== null) {
|
|
2313
2313
|
let message = 'Object doesn\'t match SlackBridgeConversationPropertiesOutputRepresentation (at "' + path_properties + '")\n';
|
|
2314
2314
|
message += referencepath_propertiesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2439,11 +2439,11 @@ function keyBuilderFromType$9(luvio, object) {
|
|
|
2439
2439
|
function normalize$i(input, existing, path, luvio, store, timestamp) {
|
|
2440
2440
|
return input;
|
|
2441
2441
|
}
|
|
2442
|
-
const select$
|
|
2443
|
-
const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$
|
|
2442
|
+
const select$N = function SlackBridgeConversationInfoOutputRepresentationSelect() {
|
|
2443
|
+
const { selections: SlackBridgeConversationPropertiesOutputRepresentation__selections, opaque: SlackBridgeConversationPropertiesOutputRepresentation__opaque, } = select$O();
|
|
2444
2444
|
return {
|
|
2445
2445
|
kind: 'Fragment',
|
|
2446
|
-
version: VERSION$
|
|
2446
|
+
version: VERSION$p,
|
|
2447
2447
|
private: [],
|
|
2448
2448
|
selections: [
|
|
2449
2449
|
{
|
|
@@ -2556,7 +2556,7 @@ const select$M = function SlackBridgeConversationInfoOutputRepresentationSelect(
|
|
|
2556
2556
|
]
|
|
2557
2557
|
};
|
|
2558
2558
|
};
|
|
2559
|
-
function equals$
|
|
2559
|
+
function equals$p(existing, incoming) {
|
|
2560
2560
|
const existing_id = existing.id;
|
|
2561
2561
|
const incoming_id = incoming.id;
|
|
2562
2562
|
if (!(existing_id === incoming_id)) {
|
|
@@ -2690,7 +2690,7 @@ function equals$o(existing, incoming) {
|
|
|
2690
2690
|
if (!(existing_properties === incoming_properties
|
|
2691
2691
|
|| (existing_properties != null &&
|
|
2692
2692
|
incoming_properties != null &&
|
|
2693
|
-
equals$
|
|
2693
|
+
equals$q(existing_properties, incoming_properties)))) {
|
|
2694
2694
|
return false;
|
|
2695
2695
|
}
|
|
2696
2696
|
}
|
|
@@ -2729,14 +2729,14 @@ function equals$o(existing, incoming) {
|
|
|
2729
2729
|
}
|
|
2730
2730
|
const ingest$i = function SlackBridgeConversationInfoOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2731
2731
|
if (process.env.NODE_ENV !== 'production') {
|
|
2732
|
-
const validateError = validate$
|
|
2732
|
+
const validateError = validate$p(input);
|
|
2733
2733
|
if (validateError !== null) {
|
|
2734
2734
|
throw validateError;
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
2737
|
const key = keyBuilderFromType$9(luvio, input);
|
|
2738
2738
|
const ttlToUse = TTL$5;
|
|
2739
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$
|
|
2739
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "SlackBridge", VERSION$p, RepresentationType$i, equals$p);
|
|
2740
2740
|
return createLink(key);
|
|
2741
2741
|
};
|
|
2742
2742
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2749,8 +2749,8 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2749
2749
|
});
|
|
2750
2750
|
}
|
|
2751
2751
|
|
|
2752
|
-
const VERSION$
|
|
2753
|
-
function validate$
|
|
2752
|
+
const VERSION$o = "7820a930852347bb0506c08d8b528281";
|
|
2753
|
+
function validate$o(obj, path = 'SlackBridgeReactionOutputRepresentation') {
|
|
2754
2754
|
const v_error = (() => {
|
|
2755
2755
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2756
2756
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2827,10 +2827,10 @@ function validate$n(obj, path = 'SlackBridgeReactionOutputRepresentation') {
|
|
|
2827
2827
|
})();
|
|
2828
2828
|
return v_error === undefined ? null : v_error;
|
|
2829
2829
|
}
|
|
2830
|
-
const select$
|
|
2830
|
+
const select$M = function SlackBridgeReactionOutputRepresentationSelect() {
|
|
2831
2831
|
return {
|
|
2832
2832
|
kind: 'Fragment',
|
|
2833
|
-
version: VERSION$
|
|
2833
|
+
version: VERSION$o,
|
|
2834
2834
|
private: [],
|
|
2835
2835
|
selections: [
|
|
2836
2836
|
{
|
|
@@ -2853,7 +2853,7 @@ const select$L = function SlackBridgeReactionOutputRepresentationSelect() {
|
|
|
2853
2853
|
]
|
|
2854
2854
|
};
|
|
2855
2855
|
};
|
|
2856
|
-
function equals$
|
|
2856
|
+
function equals$o(existing, incoming) {
|
|
2857
2857
|
const existing_name = existing.name;
|
|
2858
2858
|
const incoming_name = incoming.name;
|
|
2859
2859
|
if (!(existing_name === incoming_name)) {
|
|
@@ -2882,6 +2882,124 @@ function equals$n(existing, incoming) {
|
|
|
2882
2882
|
return true;
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
|
+
const VERSION$n = "488003a3c8d2f6eea2dab88ab8abf74a";
|
|
2886
|
+
function validate$n(obj, path = 'SlackBridgeRoomOutputRepresentation') {
|
|
2887
|
+
const v_error = (() => {
|
|
2888
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2889
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2890
|
+
}
|
|
2891
|
+
const obj_hasEnded = obj.hasEnded;
|
|
2892
|
+
const path_hasEnded = path + '.hasEnded';
|
|
2893
|
+
if (typeof obj_hasEnded !== 'boolean') {
|
|
2894
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasEnded + '" (at "' + path_hasEnded + '")');
|
|
2895
|
+
}
|
|
2896
|
+
const obj_huddleLink = obj.huddleLink;
|
|
2897
|
+
const path_huddleLink = path + '.huddleLink';
|
|
2898
|
+
if (typeof obj_huddleLink !== 'string') {
|
|
2899
|
+
return new TypeError('Expected "string" but received "' + typeof obj_huddleLink + '" (at "' + path_huddleLink + '")');
|
|
2900
|
+
}
|
|
2901
|
+
const obj_id = obj.id;
|
|
2902
|
+
const path_id = path + '.id';
|
|
2903
|
+
if (typeof obj_id !== 'string') {
|
|
2904
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
2905
|
+
}
|
|
2906
|
+
const obj_participantHistory = obj.participantHistory;
|
|
2907
|
+
const path_participantHistory = path + '.participantHistory';
|
|
2908
|
+
if (!ArrayIsArray(obj_participantHistory)) {
|
|
2909
|
+
return new TypeError('Expected "array" but received "' + typeof obj_participantHistory + '" (at "' + path_participantHistory + '")');
|
|
2910
|
+
}
|
|
2911
|
+
for (let i = 0; i < obj_participantHistory.length; i++) {
|
|
2912
|
+
const obj_participantHistory_item = obj_participantHistory[i];
|
|
2913
|
+
const path_participantHistory_item = path_participantHistory + '[' + i + ']';
|
|
2914
|
+
if (typeof obj_participantHistory_item !== 'string') {
|
|
2915
|
+
return new TypeError('Expected "string" but received "' + typeof obj_participantHistory_item + '" (at "' + path_participantHistory_item + '")');
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
const obj_participants = obj.participants;
|
|
2919
|
+
const path_participants = path + '.participants';
|
|
2920
|
+
if (!ArrayIsArray(obj_participants)) {
|
|
2921
|
+
return new TypeError('Expected "array" but received "' + typeof obj_participants + '" (at "' + path_participants + '")');
|
|
2922
|
+
}
|
|
2923
|
+
for (let i = 0; i < obj_participants.length; i++) {
|
|
2924
|
+
const obj_participants_item = obj_participants[i];
|
|
2925
|
+
const path_participants_item = path_participants + '[' + i + ']';
|
|
2926
|
+
if (typeof obj_participants_item !== 'string') {
|
|
2927
|
+
return new TypeError('Expected "string" but received "' + typeof obj_participants_item + '" (at "' + path_participants_item + '")');
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
})();
|
|
2931
|
+
return v_error === undefined ? null : v_error;
|
|
2932
|
+
}
|
|
2933
|
+
const select$L = function SlackBridgeRoomOutputRepresentationSelect() {
|
|
2934
|
+
return {
|
|
2935
|
+
kind: 'Fragment',
|
|
2936
|
+
version: VERSION$n,
|
|
2937
|
+
private: [],
|
|
2938
|
+
selections: [
|
|
2939
|
+
{
|
|
2940
|
+
name: 'hasEnded',
|
|
2941
|
+
kind: 'Scalar'
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
name: 'huddleLink',
|
|
2945
|
+
kind: 'Scalar'
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
name: 'id',
|
|
2949
|
+
kind: 'Scalar'
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
name: 'participantHistory',
|
|
2953
|
+
kind: 'Scalar',
|
|
2954
|
+
plural: true
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
name: 'participants',
|
|
2958
|
+
kind: 'Scalar',
|
|
2959
|
+
plural: true
|
|
2960
|
+
}
|
|
2961
|
+
]
|
|
2962
|
+
};
|
|
2963
|
+
};
|
|
2964
|
+
function equals$n(existing, incoming) {
|
|
2965
|
+
const existing_hasEnded = existing.hasEnded;
|
|
2966
|
+
const incoming_hasEnded = incoming.hasEnded;
|
|
2967
|
+
if (!(existing_hasEnded === incoming_hasEnded)) {
|
|
2968
|
+
return false;
|
|
2969
|
+
}
|
|
2970
|
+
const existing_huddleLink = existing.huddleLink;
|
|
2971
|
+
const incoming_huddleLink = incoming.huddleLink;
|
|
2972
|
+
if (!(existing_huddleLink === incoming_huddleLink)) {
|
|
2973
|
+
return false;
|
|
2974
|
+
}
|
|
2975
|
+
const existing_id = existing.id;
|
|
2976
|
+
const incoming_id = incoming.id;
|
|
2977
|
+
if (!(existing_id === incoming_id)) {
|
|
2978
|
+
return false;
|
|
2979
|
+
}
|
|
2980
|
+
const existing_participantHistory = existing.participantHistory;
|
|
2981
|
+
const incoming_participantHistory = incoming.participantHistory;
|
|
2982
|
+
const equals_participantHistory_items = equalsArray(existing_participantHistory, incoming_participantHistory, (existing_participantHistory_item, incoming_participantHistory_item) => {
|
|
2983
|
+
if (!(existing_participantHistory_item === incoming_participantHistory_item)) {
|
|
2984
|
+
return false;
|
|
2985
|
+
}
|
|
2986
|
+
});
|
|
2987
|
+
if (equals_participantHistory_items === false) {
|
|
2988
|
+
return false;
|
|
2989
|
+
}
|
|
2990
|
+
const existing_participants = existing.participants;
|
|
2991
|
+
const incoming_participants = incoming.participants;
|
|
2992
|
+
const equals_participants_items = equalsArray(existing_participants, incoming_participants, (existing_participants_item, incoming_participants_item) => {
|
|
2993
|
+
if (!(existing_participants_item === incoming_participants_item)) {
|
|
2994
|
+
return false;
|
|
2995
|
+
}
|
|
2996
|
+
});
|
|
2997
|
+
if (equals_participants_items === false) {
|
|
2998
|
+
return false;
|
|
2999
|
+
}
|
|
3000
|
+
return true;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
2885
3003
|
const VERSION$m = "4634cd404d8392ac4ca9f0e1be03bfbd";
|
|
2886
3004
|
function validate$m(obj, path = 'SlackBridgeFileTypeOutputRepresentation') {
|
|
2887
3005
|
const v_error = (() => {
|
|
@@ -4390,7 +4508,7 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4390
4508
|
});
|
|
4391
4509
|
}
|
|
4392
4510
|
|
|
4393
|
-
const VERSION$i = "
|
|
4511
|
+
const VERSION$i = "cc3b0409eeb9f8a45956130e18c9be91";
|
|
4394
4512
|
function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
4395
4513
|
const v_error = (() => {
|
|
4396
4514
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4659,7 +4777,7 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
4659
4777
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
4660
4778
|
const obj_reactions_item = obj_reactions[i];
|
|
4661
4779
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
4662
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
4780
|
+
const referencepath_reactions_itemValidationError = validate$o(obj_reactions_item, path_reactions_item);
|
|
4663
4781
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
4664
4782
|
let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
4665
4783
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4730,6 +4848,37 @@ function validate$i(obj, path = 'SlackBridgeMessageOutputRepresentation') {
|
|
|
4730
4848
|
message += '\n' + obj_replyUsersCount_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4731
4849
|
return new TypeError(message);
|
|
4732
4850
|
}
|
|
4851
|
+
if (obj.room !== undefined) {
|
|
4852
|
+
const obj_room = obj.room;
|
|
4853
|
+
const path_room = path + '.room';
|
|
4854
|
+
let obj_room_union0 = null;
|
|
4855
|
+
const obj_room_union0_error = (() => {
|
|
4856
|
+
const referencepath_roomValidationError = validate$n(obj_room, path_room);
|
|
4857
|
+
if (referencepath_roomValidationError !== null) {
|
|
4858
|
+
let message = 'Object doesn\'t match SlackBridgeRoomOutputRepresentation (at "' + path_room + '")\n';
|
|
4859
|
+
message += referencepath_roomValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4860
|
+
return new TypeError(message);
|
|
4861
|
+
}
|
|
4862
|
+
})();
|
|
4863
|
+
if (obj_room_union0_error != null) {
|
|
4864
|
+
obj_room_union0 = obj_room_union0_error.message;
|
|
4865
|
+
}
|
|
4866
|
+
let obj_room_union1 = null;
|
|
4867
|
+
const obj_room_union1_error = (() => {
|
|
4868
|
+
if (obj_room !== null) {
|
|
4869
|
+
return new TypeError('Expected "null" but received "' + typeof obj_room + '" (at "' + path_room + '")');
|
|
4870
|
+
}
|
|
4871
|
+
})();
|
|
4872
|
+
if (obj_room_union1_error != null) {
|
|
4873
|
+
obj_room_union1 = obj_room_union1_error.message;
|
|
4874
|
+
}
|
|
4875
|
+
if (obj_room_union0 && obj_room_union1) {
|
|
4876
|
+
let message = 'Object doesn\'t match union (at "' + path_room + '")';
|
|
4877
|
+
message += '\n' + obj_room_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4878
|
+
message += '\n' + obj_room_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4879
|
+
return new TypeError(message);
|
|
4880
|
+
}
|
|
4881
|
+
}
|
|
4733
4882
|
const obj_slackInviterId = obj.slackInviterId;
|
|
4734
4883
|
const path_slackInviterId = path + '.slackInviterId';
|
|
4735
4884
|
let obj_slackInviterId_union0 = null;
|
|
@@ -4917,7 +5066,8 @@ function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
|
4917
5066
|
return input;
|
|
4918
5067
|
}
|
|
4919
5068
|
const select$G = function SlackBridgeMessageOutputRepresentationSelect() {
|
|
4920
|
-
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$
|
|
5069
|
+
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$M();
|
|
5070
|
+
const { selections: SlackBridgeRoomOutputRepresentation__selections, opaque: SlackBridgeRoomOutputRepresentation__opaque, } = select$L();
|
|
4921
5071
|
return {
|
|
4922
5072
|
kind: 'Fragment',
|
|
4923
5073
|
version: VERSION$i,
|
|
@@ -5000,6 +5150,13 @@ const select$G = function SlackBridgeMessageOutputRepresentationSelect() {
|
|
|
5000
5150
|
name: 'replyUsersCount',
|
|
5001
5151
|
kind: 'Scalar'
|
|
5002
5152
|
},
|
|
5153
|
+
{
|
|
5154
|
+
name: 'room',
|
|
5155
|
+
kind: 'Object',
|
|
5156
|
+
nullable: true,
|
|
5157
|
+
selections: SlackBridgeRoomOutputRepresentation__selections,
|
|
5158
|
+
required: false
|
|
5159
|
+
},
|
|
5003
5160
|
{
|
|
5004
5161
|
name: 'slackInviterId',
|
|
5005
5162
|
kind: 'Scalar'
|
|
@@ -5147,7 +5304,7 @@ function equals$i(existing, incoming) {
|
|
|
5147
5304
|
const existing_reactions = existing.reactions;
|
|
5148
5305
|
const incoming_reactions = incoming.reactions;
|
|
5149
5306
|
const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
|
|
5150
|
-
if (!(equals$
|
|
5307
|
+
if (!(equals$o(existing_reactions_item, incoming_reactions_item))) {
|
|
5151
5308
|
return false;
|
|
5152
5309
|
}
|
|
5153
5310
|
});
|
|
@@ -5174,6 +5331,22 @@ function equals$i(existing, incoming) {
|
|
|
5174
5331
|
if (!(existing_replyUsersCount === incoming_replyUsersCount)) {
|
|
5175
5332
|
return false;
|
|
5176
5333
|
}
|
|
5334
|
+
const existing_room = existing.room;
|
|
5335
|
+
const incoming_room = incoming.room;
|
|
5336
|
+
// if at least one of these optionals is defined
|
|
5337
|
+
if (existing_room !== undefined || incoming_room !== undefined) {
|
|
5338
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
5339
|
+
// not equal
|
|
5340
|
+
if (existing_room === undefined || incoming_room === undefined) {
|
|
5341
|
+
return false;
|
|
5342
|
+
}
|
|
5343
|
+
if (!(existing_room === incoming_room
|
|
5344
|
+
|| (existing_room != null &&
|
|
5345
|
+
incoming_room != null &&
|
|
5346
|
+
equals$n(existing_room, incoming_room)))) {
|
|
5347
|
+
return false;
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5177
5350
|
const existing_slackInviterId = existing.slackInviterId;
|
|
5178
5351
|
const incoming_slackInviterId = incoming.slackInviterId;
|
|
5179
5352
|
if (!(existing_slackInviterId === incoming_slackInviterId)) {
|
|
@@ -5823,25 +5996,25 @@ const select$E = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
5823
5996
|
name: 'contextUserInfo',
|
|
5824
5997
|
kind: 'Link',
|
|
5825
5998
|
nullable: true,
|
|
5826
|
-
fragment: select$
|
|
5999
|
+
fragment: select$Q()
|
|
5827
6000
|
},
|
|
5828
6001
|
{
|
|
5829
6002
|
name: 'conversationInfo',
|
|
5830
6003
|
kind: 'Link',
|
|
5831
6004
|
nullable: true,
|
|
5832
|
-
fragment: select$
|
|
6005
|
+
fragment: select$N()
|
|
5833
6006
|
},
|
|
5834
6007
|
{
|
|
5835
6008
|
name: 'conversationInfos',
|
|
5836
6009
|
kind: 'Link',
|
|
5837
6010
|
plural: true,
|
|
5838
|
-
fragment: select$
|
|
6011
|
+
fragment: select$N()
|
|
5839
6012
|
},
|
|
5840
6013
|
{
|
|
5841
6014
|
name: 'emojis',
|
|
5842
6015
|
kind: 'Link',
|
|
5843
6016
|
plural: true,
|
|
5844
|
-
fragment: select$
|
|
6017
|
+
fragment: select$R()
|
|
5845
6018
|
},
|
|
5846
6019
|
{
|
|
5847
6020
|
name: 'history',
|
|
@@ -5860,7 +6033,7 @@ const select$E = function SlackBridgeConversationOutputRepresentationSelect() {
|
|
|
5860
6033
|
name: 'userInfos',
|
|
5861
6034
|
kind: 'Link',
|
|
5862
6035
|
plural: true,
|
|
5863
|
-
fragment: select$
|
|
6036
|
+
fragment: select$Q()
|
|
5864
6037
|
},
|
|
5865
6038
|
{
|
|
5866
6039
|
name: 'websocketUrl',
|
|
@@ -6667,7 +6840,7 @@ const select$x = function SlackBridgeRecordChannelInfoOutputRepresentationSelect
|
|
|
6667
6840
|
{
|
|
6668
6841
|
name: 'conversationInfo',
|
|
6669
6842
|
kind: 'Link',
|
|
6670
|
-
fragment: select$
|
|
6843
|
+
fragment: select$N()
|
|
6671
6844
|
},
|
|
6672
6845
|
{
|
|
6673
6846
|
name: 'relatedRecordId',
|
|
@@ -7042,7 +7215,7 @@ const select$u = function SlackBridgeRelatedThreadsOutputRepresentationSelect()
|
|
|
7042
7215
|
name: 'conversations',
|
|
7043
7216
|
kind: 'Link',
|
|
7044
7217
|
plural: true,
|
|
7045
|
-
fragment: select$
|
|
7218
|
+
fragment: select$N()
|
|
7046
7219
|
},
|
|
7047
7220
|
{
|
|
7048
7221
|
name: 'messages',
|
|
@@ -8850,7 +9023,7 @@ function validate$5(obj, path = 'SlackBridgeReactionsOutputRepresentation') {
|
|
|
8850
9023
|
for (let i = 0; i < obj_reactions.length; i++) {
|
|
8851
9024
|
const obj_reactions_item = obj_reactions[i];
|
|
8852
9025
|
const path_reactions_item = path_reactions + '[' + i + ']';
|
|
8853
|
-
const referencepath_reactions_itemValidationError = validate$
|
|
9026
|
+
const referencepath_reactions_itemValidationError = validate$o(obj_reactions_item, path_reactions_item);
|
|
8854
9027
|
if (referencepath_reactions_itemValidationError !== null) {
|
|
8855
9028
|
let message = 'Object doesn\'t match SlackBridgeReactionOutputRepresentation (at "' + path_reactions_item + '")\n';
|
|
8856
9029
|
message += referencepath_reactions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8879,7 +9052,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
8879
9052
|
return input;
|
|
8880
9053
|
}
|
|
8881
9054
|
const select$f = function SlackBridgeReactionsOutputRepresentationSelect() {
|
|
8882
|
-
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$
|
|
9055
|
+
const { selections: SlackBridgeReactionOutputRepresentation__selections, opaque: SlackBridgeReactionOutputRepresentation__opaque, } = select$M();
|
|
8883
9056
|
return {
|
|
8884
9057
|
kind: 'Fragment',
|
|
8885
9058
|
version: VERSION$5,
|
|
@@ -8925,7 +9098,7 @@ function equals$5(existing, incoming) {
|
|
|
8925
9098
|
const existing_reactions = existing.reactions;
|
|
8926
9099
|
const incoming_reactions = incoming.reactions;
|
|
8927
9100
|
const equals_reactions_items = equalsArray(existing_reactions, incoming_reactions, (existing_reactions_item, incoming_reactions_item) => {
|
|
8928
|
-
if (!(equals$
|
|
9101
|
+
if (!(equals$o(existing_reactions_item, incoming_reactions_item))) {
|
|
8929
9102
|
return false;
|
|
8930
9103
|
}
|
|
8931
9104
|
});
|
|
@@ -9213,7 +9386,7 @@ const select$d = function SlackBridgeConversationInfosOutputRepresentationSelect
|
|
|
9213
9386
|
name: 'conversationInfos',
|
|
9214
9387
|
kind: 'Link',
|
|
9215
9388
|
plural: true,
|
|
9216
|
-
fragment: select$
|
|
9389
|
+
fragment: select$N()
|
|
9217
9390
|
},
|
|
9218
9391
|
{
|
|
9219
9392
|
name: 'searchString',
|
|
@@ -9400,7 +9573,7 @@ const getSlackConversationInfosAdapterFactory = (luvio) => function SlackBridge_
|
|
|
9400
9573
|
};
|
|
9401
9574
|
|
|
9402
9575
|
function select$b(luvio, params) {
|
|
9403
|
-
return select$
|
|
9576
|
+
return select$N();
|
|
9404
9577
|
}
|
|
9405
9578
|
function keyBuilder$f(luvio, params) {
|
|
9406
9579
|
return keyBuilder$I(luvio, {
|
|
@@ -9433,7 +9606,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
9433
9606
|
const storeMetadataParams = {
|
|
9434
9607
|
ttl: TTL$5,
|
|
9435
9608
|
namespace: keyPrefix,
|
|
9436
|
-
version: VERSION$
|
|
9609
|
+
version: VERSION$p,
|
|
9437
9610
|
representationName: RepresentationType$i
|
|
9438
9611
|
};
|
|
9439
9612
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -9591,7 +9764,7 @@ const select$a = function SlackBridgeEmojisOutputRepresentationSelect() {
|
|
|
9591
9764
|
name: 'emojis',
|
|
9592
9765
|
kind: 'Link',
|
|
9593
9766
|
plural: true,
|
|
9594
|
-
fragment: select$
|
|
9767
|
+
fragment: select$R()
|
|
9595
9768
|
}
|
|
9596
9769
|
]
|
|
9597
9770
|
};
|
|
@@ -9769,7 +9942,7 @@ const getSlackEmojisAdapterFactory = (luvio) => function SlackBridge__getSlackEm
|
|
|
9769
9942
|
};
|
|
9770
9943
|
|
|
9771
9944
|
function select$8(luvio, params) {
|
|
9772
|
-
return select$
|
|
9945
|
+
return select$R();
|
|
9773
9946
|
}
|
|
9774
9947
|
function keyBuilder$b(luvio, params) {
|
|
9775
9948
|
return keyBuilder$K(luvio, {
|
|
@@ -9802,7 +9975,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
9802
9975
|
const storeMetadataParams = {
|
|
9803
9976
|
ttl: TTL$7,
|
|
9804
9977
|
namespace: keyPrefix,
|
|
9805
|
-
version: VERSION$
|
|
9978
|
+
version: VERSION$t,
|
|
9806
9979
|
representationName: RepresentationType$k
|
|
9807
9980
|
};
|
|
9808
9981
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -10618,7 +10791,7 @@ const select$2 = function SlackBridgeUserInfosOutputRepresentationSelect() {
|
|
|
10618
10791
|
name: 'userInfos',
|
|
10619
10792
|
kind: 'Link',
|
|
10620
10793
|
plural: true,
|
|
10621
|
-
fragment: select$
|
|
10794
|
+
fragment: select$Q()
|
|
10622
10795
|
}
|
|
10623
10796
|
]
|
|
10624
10797
|
};
|
|
@@ -10809,7 +10982,7 @@ const getSlackSearchUserAdapterFactory = (luvio) => function SlackBridge__getSla
|
|
|
10809
10982
|
};
|
|
10810
10983
|
|
|
10811
10984
|
function select(luvio, params) {
|
|
10812
|
-
return select$
|
|
10985
|
+
return select$Q();
|
|
10813
10986
|
}
|
|
10814
10987
|
function keyBuilder$1(luvio, params) {
|
|
10815
10988
|
return keyBuilder$J(luvio, {
|
|
@@ -10842,7 +11015,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
10842
11015
|
const storeMetadataParams = {
|
|
10843
11016
|
ttl: TTL$6,
|
|
10844
11017
|
namespace: keyPrefix,
|
|
10845
|
-
version: VERSION$
|
|
11018
|
+
version: VERSION$s,
|
|
10846
11019
|
representationName: RepresentationType$j
|
|
10847
11020
|
};
|
|
10848
11021
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|