@ai-matrx/records 0.99.24 → 0.99.25
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/CHANGELOG.md +1 -1
- package/dist/{client-BgyGYbAY.d.ts → client-CFaUo85X.d.ts} +129 -1
- package/dist/{client-CL-dgaM6.d.cts → client-Dxs_M4if.d.cts} +129 -1
- package/dist/core/index.cjs +24 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +4 -2
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +24 -0
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +17 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/index.js +17 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-CWbYby6X.d.cts → declareTable-DGzmOJw0.d.cts} +1 -1
- package/dist/{declareTable-DO6Aeptz.d.ts → declareTable-j7whJWGf.d.ts} +1 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/questions/index.d.cts +1 -1
- package/dist/questions/index.d.ts +1 -1
- package/dist/react/index.cjs +24 -0
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +129 -1
- package/dist/react/index.d.ts +129 -1
- package/dist/react/index.js +24 -0
- package/dist/react/index.js.map +1 -1
- package/dist/setup/index.cjs +17 -0
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.d.cts +1 -1
- package/dist/setup/index.d.ts +1 -1
- package/dist/setup/index.js +17 -0
- package/dist/setup/index.js.map +1 -1
- package/dist/typed-table/index.cjs +17 -0
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +2 -2
- package/dist/typed-table/index.d.ts +2 -2
- package/dist/typed-table/index.js +17 -0
- package/dist/typed-table/index.js.map +1 -1
- package/dist/views/index.d.cts +1 -1
- package/dist/views/index.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FieldDrift, R as RecordsClient } from './client-
|
|
1
|
+
import { F as FieldDrift, R as RecordsClient } from './client-Dxs_M4if.cjs';
|
|
2
2
|
import { a as FieldTypeWord, N as NewFieldDeclaration } from './field-Bm5OFzc7.cjs';
|
|
3
3
|
import { U as Uuid, a as RecordsError } from './record-GKSmu35W.cjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FieldDrift, R as RecordsClient } from './client-
|
|
1
|
+
import { F as FieldDrift, R as RecordsClient } from './client-CFaUo85X.js';
|
|
2
2
|
import { a as FieldTypeWord, N as NewFieldDeclaration } from './field-BMZs98m8.js';
|
|
3
3
|
import { U as Uuid, a as RecordsError } from './record-GKSmu35W.js';
|
|
4
4
|
|
package/dist/index.cjs
CHANGED
|
@@ -112,6 +112,7 @@ __export(src_exports, {
|
|
|
112
112
|
asChoiceNudge: () => asChoiceNudge,
|
|
113
113
|
asPermissionLevel: () => asPermissionLevel,
|
|
114
114
|
atLeast: () => atLeast,
|
|
115
|
+
automationWebhookUrl: () => automationWebhookUrl,
|
|
115
116
|
autonumberJoin: () => autonumberJoin,
|
|
116
117
|
autonumberPrefixOf: () => autonumberPrefixOf,
|
|
117
118
|
autonumberSearchOf: () => autonumberSearchOf,
|
|
@@ -1745,6 +1746,12 @@ function moveInOrder(order, moved, toIndex) {
|
|
|
1745
1746
|
return [...rest.slice(0, at), moved, ...rest.slice(at)];
|
|
1746
1747
|
}
|
|
1747
1748
|
|
|
1749
|
+
// src/automation.ts
|
|
1750
|
+
function automationWebhookUrl(serverBase, item2) {
|
|
1751
|
+
if (!item2.webhook_secret) return null;
|
|
1752
|
+
return `${serverBase.replace(/\/+$/, "")}/api/automations/hooks/${item2.id}/${item2.webhook_secret}`;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1748
1755
|
// src/placement.ts
|
|
1749
1756
|
function keptOutOfSight(placement) {
|
|
1750
1757
|
return placement?.platform_owned === true;
|