node-type-registry 0.29.1 → 0.30.0
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/data/data-realtime.d.ts +2 -0
- package/data/data-realtime.js +31 -0
- package/data/index.d.ts +1 -0
- package/data/index.js +3 -1
- package/esm/data/data-realtime.d.ts +2 -0
- package/esm/data/data-realtime.js +28 -0
- package/esm/data/index.d.ts +1 -0
- package/esm/data/index.js +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataRealtime = void 0;
|
|
4
|
+
exports.DataRealtime = {
|
|
5
|
+
name: 'DataRealtime',
|
|
6
|
+
slug: 'data_realtime',
|
|
7
|
+
category: 'data',
|
|
8
|
+
display_name: 'Realtime Subscriptions',
|
|
9
|
+
description: 'Creates per-table subscriber tables in subscriptions_public with ' +
|
|
10
|
+
'RLS policies derived from source table SELECT policies. Attaches ' +
|
|
11
|
+
'statement-level triggers to emit changes to subscribers.',
|
|
12
|
+
parameter_schema: {
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {
|
|
15
|
+
operations: {
|
|
16
|
+
type: 'array',
|
|
17
|
+
items: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
enum: ['INSERT', 'UPDATE', 'DELETE']
|
|
20
|
+
},
|
|
21
|
+
description: 'Which DML operations to track with emit_change triggers',
|
|
22
|
+
default: ['INSERT', 'UPDATE', 'DELETE']
|
|
23
|
+
},
|
|
24
|
+
subscriber_table_name: {
|
|
25
|
+
type: 'string',
|
|
26
|
+
description: 'Custom name for the subscriber table (defaults to {source_table}_subscriber)'
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
tags: ['realtime', 'subscriptions', 'triggers']
|
|
31
|
+
};
|
package/data/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { DataOwnedFields } from './data-owned-fields';
|
|
|
17
17
|
export { DataOwnershipInEntity } from './data-ownership-in-entity';
|
|
18
18
|
export { DataPeoplestamps } from './data-peoplestamps';
|
|
19
19
|
export { DataPublishable } from './data-publishable';
|
|
20
|
+
export { DataRealtime } from './data-realtime';
|
|
20
21
|
export { DataSlug } from './data-slug';
|
|
21
22
|
export { DataSoftDelete } from './data-soft-delete';
|
|
22
23
|
export { DataStatusField } from './data-status-field';
|
package/data/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableUserSettings = exports.TableUserProfiles = exports.TableOrganizationSettings = exports.SearchVector = exports.SearchUnified = exports.SearchTrgm = exports.SearchSpatialAggregate = exports.SearchSpatial = exports.SearchFullText = exports.SearchBm25 = exports.DataTimestamps = exports.DataTags = exports.DataStatusField = exports.DataSoftDelete = exports.DataSlug = exports.DataPublishable = exports.DataPeoplestamps = exports.DataOwnershipInEntity = exports.DataOwnedFields = exports.DataJsonb = exports.DataLimitCounter = exports.DataJobTrigger = exports.DataInheritFromParent = exports.DataInflection = exports.DataImmutableFields = exports.DataImageEmbedding = exports.DataId = exports.DataForceCurrentUser = exports.DataFeatureFlag = exports.DataFileEmbedding = exports.DataEntityMembership = exports.DataDirectOwner = exports.DataCompositeField = exports.DataChunks = void 0;
|
|
3
|
+
exports.TableUserSettings = exports.TableUserProfiles = exports.TableOrganizationSettings = exports.SearchVector = exports.SearchUnified = exports.SearchTrgm = exports.SearchSpatialAggregate = exports.SearchSpatial = exports.SearchFullText = exports.SearchBm25 = exports.DataTimestamps = exports.DataTags = exports.DataStatusField = exports.DataSoftDelete = exports.DataSlug = exports.DataRealtime = exports.DataPublishable = exports.DataPeoplestamps = exports.DataOwnershipInEntity = exports.DataOwnedFields = exports.DataJsonb = exports.DataLimitCounter = exports.DataJobTrigger = exports.DataInheritFromParent = exports.DataInflection = exports.DataImmutableFields = exports.DataImageEmbedding = exports.DataId = exports.DataForceCurrentUser = exports.DataFeatureFlag = exports.DataFileEmbedding = exports.DataEntityMembership = exports.DataDirectOwner = exports.DataCompositeField = exports.DataChunks = void 0;
|
|
4
4
|
var data_chunks_1 = require("./data-chunks");
|
|
5
5
|
Object.defineProperty(exports, "DataChunks", { enumerable: true, get: function () { return data_chunks_1.DataChunks; } });
|
|
6
6
|
var data_composite_field_1 = require("./data-composite-field");
|
|
@@ -39,6 +39,8 @@ var data_peoplestamps_1 = require("./data-peoplestamps");
|
|
|
39
39
|
Object.defineProperty(exports, "DataPeoplestamps", { enumerable: true, get: function () { return data_peoplestamps_1.DataPeoplestamps; } });
|
|
40
40
|
var data_publishable_1 = require("./data-publishable");
|
|
41
41
|
Object.defineProperty(exports, "DataPublishable", { enumerable: true, get: function () { return data_publishable_1.DataPublishable; } });
|
|
42
|
+
var data_realtime_1 = require("./data-realtime");
|
|
43
|
+
Object.defineProperty(exports, "DataRealtime", { enumerable: true, get: function () { return data_realtime_1.DataRealtime; } });
|
|
42
44
|
var data_slug_1 = require("./data-slug");
|
|
43
45
|
Object.defineProperty(exports, "DataSlug", { enumerable: true, get: function () { return data_slug_1.DataSlug; } });
|
|
44
46
|
var data_soft_delete_1 = require("./data-soft-delete");
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const DataRealtime = {
|
|
2
|
+
name: 'DataRealtime',
|
|
3
|
+
slug: 'data_realtime',
|
|
4
|
+
category: 'data',
|
|
5
|
+
display_name: 'Realtime Subscriptions',
|
|
6
|
+
description: 'Creates per-table subscriber tables in subscriptions_public with ' +
|
|
7
|
+
'RLS policies derived from source table SELECT policies. Attaches ' +
|
|
8
|
+
'statement-level triggers to emit changes to subscribers.',
|
|
9
|
+
parameter_schema: {
|
|
10
|
+
type: 'object',
|
|
11
|
+
properties: {
|
|
12
|
+
operations: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
enum: ['INSERT', 'UPDATE', 'DELETE']
|
|
17
|
+
},
|
|
18
|
+
description: 'Which DML operations to track with emit_change triggers',
|
|
19
|
+
default: ['INSERT', 'UPDATE', 'DELETE']
|
|
20
|
+
},
|
|
21
|
+
subscriber_table_name: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'Custom name for the subscriber table (defaults to {source_table}_subscriber)'
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
tags: ['realtime', 'subscriptions', 'triggers']
|
|
28
|
+
};
|
package/esm/data/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { DataOwnedFields } from './data-owned-fields';
|
|
|
17
17
|
export { DataOwnershipInEntity } from './data-ownership-in-entity';
|
|
18
18
|
export { DataPeoplestamps } from './data-peoplestamps';
|
|
19
19
|
export { DataPublishable } from './data-publishable';
|
|
20
|
+
export { DataRealtime } from './data-realtime';
|
|
20
21
|
export { DataSlug } from './data-slug';
|
|
21
22
|
export { DataSoftDelete } from './data-soft-delete';
|
|
22
23
|
export { DataStatusField } from './data-status-field';
|
package/esm/data/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export { DataOwnedFields } from './data-owned-fields';
|
|
|
17
17
|
export { DataOwnershipInEntity } from './data-ownership-in-entity';
|
|
18
18
|
export { DataPeoplestamps } from './data-peoplestamps';
|
|
19
19
|
export { DataPublishable } from './data-publishable';
|
|
20
|
+
export { DataRealtime } from './data-realtime';
|
|
20
21
|
export { DataSlug } from './data-slug';
|
|
21
22
|
export { DataSoftDelete } from './data-soft-delete';
|
|
22
23
|
export { DataStatusField } from './data-status-field';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-type-registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Node type definitions for the Constructive blueprint system. Single source of truth for all Authz*, Data*, Relation*, and View* node types.",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"registry",
|
|
48
48
|
"graphile"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "90016935b53d6fb84e0b83879377f0c2eb9abce6"
|
|
51
51
|
}
|