@ductape/sdk 0.1.25 → 0.1.27
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/README.md +83 -52
- package/dist/agents/agent-context.d.ts +1 -1
- package/dist/agents/agent-context.js +1 -1
- package/dist/agents/agent-context.js.map +1 -1
- package/dist/agents/agents.service.js +4 -4
- package/dist/agents/agents.service.js.map +1 -1
- package/dist/agents/types/agents.types.d.ts +6 -6
- package/dist/api/services/featureApi.service.d.ts +199 -0
- package/dist/api/services/featureApi.service.js +201 -0
- package/dist/api/services/featureApi.service.js.map +1 -0
- package/dist/api/services/processorApi.service.d.ts +2 -2
- package/dist/api/services/processorApi.service.js +1 -1
- package/dist/api/services/productsApi.service.d.ts +6 -6
- package/dist/api/services/productsApi.service.js +3 -3
- package/dist/api/services/productsApi.service.js.map +1 -1
- package/dist/api/urls.d.ts +12 -12
- package/dist/api/urls.js +22 -22
- package/dist/api/urls.js.map +1 -1
- package/dist/apps/validators/index.d.ts +5 -1
- package/dist/apps/validators/index.js +9 -1
- package/dist/apps/validators/index.js.map +1 -1
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.d.ts +1 -0
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.js +1 -0
- package/dist/apps/validators/joi-validators/create.appWebhook.validator.js.map +1 -1
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.d.ts +1 -0
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.js +1 -0
- package/dist/apps/validators/joi-validators/create.appWebhookEvent.validator.js.map +1 -1
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.d.ts +1 -0
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.js +1 -0
- package/dist/apps/validators/joi-validators/update.appWebhook.validator.js.map +1 -1
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.d.ts +1 -0
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.js +1 -0
- package/dist/apps/validators/joi-validators/update.appWebhookEvent.validator.js.map +1 -1
- package/dist/brokers/brokers.service.d.ts +2 -2
- package/dist/brokers/brokers.service.js +2 -2
- package/dist/brokers/brokers.service.js.map +1 -1
- package/dist/brokers/types/index.d.ts +1 -1
- package/dist/cloud/cloud-database-link.util.js +22 -3
- package/dist/cloud/cloud-database-link.util.js.map +1 -1
- package/dist/cloud/cloud-service-map.util.js +6 -5
- package/dist/cloud/cloud-service-map.util.js.map +1 -1
- package/dist/cloud/index.d.ts +1 -1
- package/dist/cloud/index.js +3 -1
- package/dist/cloud/index.js.map +1 -1
- package/dist/cloud/types/cloud.types.d.ts +1 -1
- package/dist/cloud/vpc-connector-connect.util.d.ts +11 -2
- package/dist/cloud/vpc-connector-connect.util.js +7 -0
- package/dist/cloud/vpc-connector-connect.util.js.map +1 -1
- package/dist/cloud/vpc-connector-tunnel.client.d.ts +26 -0
- package/dist/cloud/vpc-connector-tunnel.client.js +70 -0
- package/dist/cloud/vpc-connector-tunnel.client.js.map +1 -1
- package/dist/database/adapters/mysql.adapter.js +15 -0
- package/dist/database/adapters/mysql.adapter.js.map +1 -1
- package/dist/database/adapters/postgresql.adapter.js +11 -55
- package/dist/database/adapters/postgresql.adapter.js.map +1 -1
- package/dist/database/databases.service.d.ts +3 -3
- package/dist/database/databases.service.js +18 -18
- package/dist/database/databases.service.js.map +1 -1
- package/dist/database/index.d.ts +1 -1
- package/dist/database/triggers/trigger-processor.d.ts +7 -7
- package/dist/database/triggers/trigger-processor.js +17 -17
- package/dist/database/triggers/trigger-processor.js.map +1 -1
- package/dist/database/types/connection.interface.d.ts +0 -2
- package/dist/database/types/index.d.ts +1 -1
- package/dist/database/types/trigger.interface.d.ts +9 -9
- package/dist/database/types/trigger.interface.js +3 -3
- package/dist/database/types/trigger.interface.js.map +1 -1
- package/dist/features/feature-builder.d.ts +70 -0
- package/dist/features/feature-builder.js +348 -0
- package/dist/features/feature-builder.js.map +1 -0
- package/dist/features/feature-executor.d.ts +289 -0
- package/dist/features/feature-executor.js +2444 -0
- package/dist/features/feature-executor.js.map +1 -0
- package/dist/features/features.service.d.ts +412 -0
- package/dist/features/features.service.js +2222 -0
- package/dist/features/features.service.js.map +1 -0
- package/dist/features/index.d.ts +30 -0
- package/dist/features/index.js +64 -0
- package/dist/features/index.js.map +1 -0
- package/dist/features/types/features.types.d.ts +1081 -0
- package/dist/features/types/features.types.js +13 -0
- package/dist/features/types/features.types.js.map +1 -0
- package/dist/features/types/index.d.ts +6 -0
- package/dist/features/types/index.js +23 -0
- package/dist/features/types/index.js.map +1 -0
- package/dist/index.d.ts +35 -48
- package/dist/index.js +48 -63
- package/dist/index.js.map +1 -1
- package/dist/init.interface.d.ts +1 -11
- package/dist/inputs/inputs.service.d.ts +4 -4
- package/dist/inputs/inputs.service.js.map +1 -1
- package/dist/introspect/index.d.ts +31 -0
- package/dist/introspect/index.js +168 -0
- package/dist/introspect/index.js.map +1 -0
- package/dist/jobs/index.d.ts +1 -1
- package/dist/jobs/types.d.ts +3 -3
- package/dist/logs/logs.service.d.ts +0 -3
- package/dist/logs/logs.service.js +1 -4
- package/dist/logs/logs.service.js.map +1 -1
- package/dist/logs/logs.types.d.ts +4 -7
- package/dist/logs/logs.types.js +2 -3
- package/dist/logs/logs.types.js.map +1 -1
- package/dist/processor/services/processor.service.d.ts +27 -26
- package/dist/processor/services/processor.service.js +71 -72
- package/dist/processor/services/processor.service.js.map +1 -1
- package/dist/processor/utils/processor.utils.d.ts +2 -2
- package/dist/processor/utils/processor.utils.js.map +1 -1
- package/dist/products/bootstrap-cache.d.ts +2 -2
- package/dist/products/bootstrap-cache.js +3 -3
- package/dist/products/bootstrap-cache.js.map +1 -1
- package/dist/products/services/products.service.d.ts +32 -57
- package/dist/products/services/products.service.js +44 -397
- package/dist/products/services/products.service.js.map +1 -1
- package/dist/products/validators/index.d.ts +1 -3
- package/dist/products/validators/index.js +1 -5
- package/dist/products/validators/index.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js +1 -1
- package/dist/products/validators/joi-validators/create.productDatabase.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/create.productFeature.validator.d.ts +1 -7
- package/dist/products/validators/joi-validators/create.productFeature.validator.js +6 -61
- package/dist/products/validators/joi-validators/create.productFeature.validator.js.map +1 -1
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js +23 -27
- package/dist/products/validators/joi-validators/update.productDatabase.validator.js.map +1 -1
- package/dist/resilience/fallback.service.js +19 -41
- package/dist/resilience/fallback.service.js.map +1 -1
- package/dist/resilience/healthcheck.service.d.ts +5 -5
- package/dist/resilience/healthcheck.service.js +26 -26
- package/dist/resilience/healthcheck.service.js.map +1 -1
- package/dist/resilience/quota.service.js +17 -27
- package/dist/resilience/quota.service.js.map +1 -1
- package/dist/resilience/resilience-execution.utils.d.ts +2 -2
- package/dist/resilience/resilience-execution.utils.js +7 -7
- package/dist/resilience/resilience-execution.utils.js.map +1 -1
- package/dist/resilience/resilience.service.js +14 -30
- package/dist/resilience/resilience.service.js.map +1 -1
- package/dist/resilience/types/index.d.ts +20 -23
- package/dist/resilience/types/index.js +2 -3
- package/dist/resilience/types/index.js.map +1 -1
- package/dist/types/enums.d.ts +1 -2
- package/dist/types/enums.js +1 -2
- package/dist/types/enums.js.map +1 -1
- package/dist/types/index.types.d.ts +3 -4
- package/dist/types/index.types.js +2 -2
- package/dist/types/index.types.js.map +1 -1
- package/dist/types/logs.types.d.ts +0 -1
- package/dist/types/logs.types.js.map +1 -1
- package/dist/types/processor.types.d.ts +11 -13
- package/dist/types/processor.types.js.map +1 -1
- package/dist/types/productsBuilder.types.d.ts +52 -58
- package/dist/types/productsBuilder.types.js +57 -55
- package/dist/types/productsBuilder.types.js.map +1 -1
- package/package.json +5 -2
|
@@ -40,7 +40,6 @@ export interface IProduct {
|
|
|
40
40
|
caches: Array<IProductCache>;
|
|
41
41
|
sessions: Array<IProductSession>;
|
|
42
42
|
notifications: Array<IProductNotification>;
|
|
43
|
-
features: Array<IProductFeature>;
|
|
44
43
|
databases: Array<IProductDatabase>;
|
|
45
44
|
jobs: Array<IProductJobs>;
|
|
46
45
|
storage: Array<IProductStorage>;
|
|
@@ -48,7 +47,7 @@ export interface IProduct {
|
|
|
48
47
|
fallback: Array<IProductFallback>;
|
|
49
48
|
messageBrokers: Array<IProductMessageBroker>;
|
|
50
49
|
healthchecks: Array<IProductAppHealth>;
|
|
51
|
-
workflows: Array<
|
|
50
|
+
workflows: Array<IProductFeature>;
|
|
52
51
|
vectors: Array<IProductVector>;
|
|
53
52
|
models: Array<IProductLLMModel>;
|
|
54
53
|
agents: Array<IProductAgent>;
|
|
@@ -245,7 +244,10 @@ export interface IProductDatabaseEnvs extends ICloudLinkedComponentFields {
|
|
|
245
244
|
export declare enum DatabaseTypes {
|
|
246
245
|
POSTGRES = "postgresql",
|
|
247
246
|
MONGODB = "mongodb",
|
|
248
|
-
MYSQL = "mysql"
|
|
247
|
+
MYSQL = "mysql",
|
|
248
|
+
MARIADB = "mariadb",
|
|
249
|
+
DYNAMODB = "dynamodb",
|
|
250
|
+
CASSANDRA = "cassandra"
|
|
249
251
|
}
|
|
250
252
|
export declare enum MigrationStatus {
|
|
251
253
|
NEW = "new",
|
|
@@ -929,7 +931,7 @@ export declare enum JobEventTypes {
|
|
|
929
931
|
DATABASE_OPERATION = "database_operation",
|
|
930
932
|
GRAPH_ACTION = "graph_action",
|
|
931
933
|
GRAPH_OPERATION = "graph_operation",
|
|
932
|
-
|
|
934
|
+
FEATURE = "feature",
|
|
933
935
|
STORAGE = "storage",
|
|
934
936
|
PUBLISH = "publish",
|
|
935
937
|
FALLBACK = "fallback",
|
|
@@ -1023,12 +1025,12 @@ export interface IFunctionRequest extends IRequest {
|
|
|
1023
1025
|
data: Record<string, unknown>;
|
|
1024
1026
|
}
|
|
1025
1027
|
export declare const ValidOperators: string[];
|
|
1026
|
-
export interface
|
|
1028
|
+
export interface IStepEvent {
|
|
1027
1029
|
product_id?: string;
|
|
1028
|
-
condition?:
|
|
1030
|
+
condition?: IStepConditional;
|
|
1029
1031
|
auth?: string;
|
|
1030
1032
|
app?: string;
|
|
1031
|
-
type: Exclude<
|
|
1033
|
+
type: Exclude<StepEventTypes, StepEventTypes.QUOTA | StepEventTypes.FALLBACK>;
|
|
1032
1034
|
event: string;
|
|
1033
1035
|
input: Partial<IActionRequest | INotificationRequest | IDbActionRequest | IFunctionRequest | IStorageRequest | IPublishRequest | {
|
|
1034
1036
|
buffer: string;
|
|
@@ -1048,17 +1050,23 @@ export declare enum Conditions {
|
|
|
1048
1050
|
LOOP = "loop",
|
|
1049
1051
|
CHECK = "check"
|
|
1050
1052
|
}
|
|
1051
|
-
export interface
|
|
1053
|
+
export interface IStepConditional {
|
|
1052
1054
|
type: Conditions;
|
|
1053
1055
|
check: string;
|
|
1054
1056
|
iter?: number;
|
|
1055
1057
|
init?: number;
|
|
1056
1058
|
}
|
|
1059
|
+
/** Loose sequence/input context threaded through action-input parsing and validation. */
|
|
1060
|
+
export interface ISequenceValidationContext {
|
|
1061
|
+
tag?: string;
|
|
1062
|
+
sequence?: IStepSequence[];
|
|
1063
|
+
input?: Record<string, IStepInput>;
|
|
1064
|
+
}
|
|
1057
1065
|
export interface IBaseActionDataParserInput {
|
|
1058
1066
|
sample: ISample;
|
|
1059
1067
|
event_index: number;
|
|
1060
1068
|
sequence_index: number;
|
|
1061
|
-
feature:
|
|
1069
|
+
feature: ISequenceValidationContext;
|
|
1062
1070
|
type: Categories;
|
|
1063
1071
|
indexes: IParsedIndexes;
|
|
1064
1072
|
}
|
|
@@ -1076,7 +1084,7 @@ export interface IParseInputStringInput {
|
|
|
1076
1084
|
stages: Array<string | number>;
|
|
1077
1085
|
}
|
|
1078
1086
|
export interface IParseInputStringMetaData {
|
|
1079
|
-
feature?:
|
|
1087
|
+
feature?: ISequenceValidationContext;
|
|
1080
1088
|
sequence_index?: number;
|
|
1081
1089
|
event_index?: number;
|
|
1082
1090
|
type?: Categories;
|
|
@@ -1102,7 +1110,7 @@ export interface IProductQuota {
|
|
|
1102
1110
|
name: string;
|
|
1103
1111
|
description: string;
|
|
1104
1112
|
tag: string;
|
|
1105
|
-
input: Record<string,
|
|
1113
|
+
input: Record<string, IStepInput>;
|
|
1106
1114
|
total_quota?: number;
|
|
1107
1115
|
total_init?: number;
|
|
1108
1116
|
options: Array<IQuotaOptions>;
|
|
@@ -1119,7 +1127,7 @@ export interface IFallbackOptions {
|
|
|
1119
1127
|
/** Code-first provider name (quota/fallback builder) */
|
|
1120
1128
|
provider?: string;
|
|
1121
1129
|
app?: string;
|
|
1122
|
-
type:
|
|
1130
|
+
type: StepEventTypes.ACTION;
|
|
1123
1131
|
event: string;
|
|
1124
1132
|
input: IActionRequest | Record<string, unknown>;
|
|
1125
1133
|
output: Record<string, unknown>;
|
|
@@ -1139,35 +1147,34 @@ export interface IProductFallback {
|
|
|
1139
1147
|
name: string;
|
|
1140
1148
|
description: string;
|
|
1141
1149
|
tag: string;
|
|
1142
|
-
input: Record<string,
|
|
1150
|
+
input: Record<string, IStepInput>;
|
|
1143
1151
|
options: Array<IFallbackOptions>;
|
|
1144
1152
|
}
|
|
1145
|
-
export declare enum
|
|
1153
|
+
export declare enum FeatureStepType {
|
|
1146
1154
|
ACTION = "action",
|
|
1147
1155
|
DATABASE_ACTION = "database_action",
|
|
1148
1156
|
NOTIFICATION = "notification",
|
|
1149
1157
|
STORAGE = "storage",
|
|
1150
|
-
/** @deprecated Use PRODUCE for messaging.produce(); kept for backward compatibility with stored
|
|
1158
|
+
/** @deprecated Use PRODUCE for messaging.produce(); kept for backward compatibility with stored features */
|
|
1151
1159
|
PUBLISH = "publish",
|
|
1152
|
-
/** Message broker produce (ctx.messaging.produce). Stored as 'produce' in
|
|
1160
|
+
/** Message broker produce (ctx.messaging.produce). Stored as 'produce' in feature steps. */
|
|
1153
1161
|
PRODUCE = "produce",
|
|
1154
|
-
FEATURE = "feature",
|
|
1155
1162
|
QUOTA = "quota",
|
|
1156
1163
|
FALLBACK = "fallback",
|
|
1157
1164
|
GRAPH = "graph",
|
|
1158
1165
|
VECTOR = "vector",
|
|
1159
|
-
|
|
1166
|
+
CHILD_FEATURE = "child_feature",
|
|
1160
1167
|
SLEEP = "sleep",
|
|
1161
1168
|
WAIT_FOR_SIGNAL = "wait_for_signal",
|
|
1162
1169
|
CHECKPOINT = "checkpoint"
|
|
1163
1170
|
}
|
|
1164
|
-
export declare enum
|
|
1171
|
+
export declare enum FeatureRollbackStrategy {
|
|
1165
1172
|
REVERSE_ALL = "reverse_all",
|
|
1166
1173
|
REVERSE_CRITICAL = "reverse_critical",
|
|
1167
1174
|
COMPENSATE = "compensate",
|
|
1168
1175
|
NONE = "none"
|
|
1169
1176
|
}
|
|
1170
|
-
export declare enum
|
|
1177
|
+
export declare enum FeatureStatus {
|
|
1171
1178
|
PENDING = "pending",
|
|
1172
1179
|
RUNNING = "running",
|
|
1173
1180
|
COMPLETED = "completed",
|
|
@@ -1176,8 +1183,8 @@ export declare enum WorkflowStatus {
|
|
|
1176
1183
|
ROLLING_BACK = "rolling_back",
|
|
1177
1184
|
PAUSED = "paused"
|
|
1178
1185
|
}
|
|
1179
|
-
export interface
|
|
1180
|
-
type:
|
|
1186
|
+
export interface IFeatureStepRollback {
|
|
1187
|
+
type: FeatureStepType;
|
|
1181
1188
|
app?: string;
|
|
1182
1189
|
database?: string;
|
|
1183
1190
|
graph?: string;
|
|
@@ -1190,7 +1197,7 @@ export interface IWorkflowStepRollback {
|
|
|
1190
1197
|
retries?: number;
|
|
1191
1198
|
continue_on_failure?: boolean;
|
|
1192
1199
|
}
|
|
1193
|
-
export interface
|
|
1200
|
+
export interface IFeatureStepOptions {
|
|
1194
1201
|
timeout?: number;
|
|
1195
1202
|
retries?: number;
|
|
1196
1203
|
retry_interval?: number;
|
|
@@ -1203,10 +1210,10 @@ export interface IWorkflowStepOptions {
|
|
|
1203
1210
|
continue_on_rollback_failure?: boolean;
|
|
1204
1211
|
cache?: string;
|
|
1205
1212
|
}
|
|
1206
|
-
export interface
|
|
1213
|
+
export interface IProductFeatureStep {
|
|
1207
1214
|
tag: string;
|
|
1208
1215
|
name?: string;
|
|
1209
|
-
type:
|
|
1216
|
+
type: FeatureStepType;
|
|
1210
1217
|
app?: string;
|
|
1211
1218
|
database?: string;
|
|
1212
1219
|
graph?: string;
|
|
@@ -1216,48 +1223,48 @@ export interface IProductWorkflowStep {
|
|
|
1216
1223
|
broker?: string;
|
|
1217
1224
|
quota?: string;
|
|
1218
1225
|
fallback?: string;
|
|
1219
|
-
|
|
1226
|
+
feature?: string;
|
|
1220
1227
|
event: string;
|
|
1221
1228
|
input: Record<string, unknown>;
|
|
1222
1229
|
/** Step output shape (operator strings), parsed from step handler return value */
|
|
1223
1230
|
output?: Record<string, unknown>;
|
|
1224
1231
|
depends_on?: string[];
|
|
1225
1232
|
condition?: string;
|
|
1226
|
-
options?:
|
|
1227
|
-
rollback?:
|
|
1233
|
+
options?: IFeatureStepOptions;
|
|
1234
|
+
rollback?: IFeatureStepRollback;
|
|
1228
1235
|
}
|
|
1229
|
-
export interface
|
|
1236
|
+
export interface IFeatureSignal {
|
|
1230
1237
|
name: string;
|
|
1231
1238
|
input?: Record<string, string>;
|
|
1232
1239
|
}
|
|
1233
|
-
export interface
|
|
1240
|
+
export interface IFeatureQuery {
|
|
1234
1241
|
name: string;
|
|
1235
1242
|
handler?: string;
|
|
1236
1243
|
}
|
|
1237
|
-
export interface
|
|
1244
|
+
export interface IFeatureOptions {
|
|
1238
1245
|
timeout?: number;
|
|
1239
1246
|
retries?: number;
|
|
1240
|
-
rollback_strategy?:
|
|
1247
|
+
rollback_strategy?: FeatureRollbackStrategy;
|
|
1241
1248
|
idempotency_key?: string;
|
|
1242
1249
|
}
|
|
1243
|
-
export interface
|
|
1250
|
+
export interface IFeatureEnv {
|
|
1244
1251
|
slug: string;
|
|
1245
1252
|
active?: boolean;
|
|
1246
1253
|
}
|
|
1247
|
-
export interface
|
|
1254
|
+
export interface IProductFeature {
|
|
1248
1255
|
_id?: string;
|
|
1249
1256
|
name: string;
|
|
1250
1257
|
description?: string;
|
|
1251
1258
|
tag: string;
|
|
1252
1259
|
input?: Record<string, unknown>;
|
|
1253
1260
|
output?: Record<string, unknown>;
|
|
1254
|
-
steps:
|
|
1255
|
-
signals?: Record<string,
|
|
1256
|
-
queries?: Record<string,
|
|
1257
|
-
options?:
|
|
1258
|
-
envs?:
|
|
1261
|
+
steps: IProductFeatureStep[];
|
|
1262
|
+
signals?: Record<string, IFeatureSignal>;
|
|
1263
|
+
queries?: Record<string, IFeatureQuery>;
|
|
1264
|
+
options?: IFeatureOptions;
|
|
1265
|
+
envs?: IFeatureEnv[];
|
|
1259
1266
|
}
|
|
1260
|
-
export declare enum
|
|
1267
|
+
export declare enum StepEventTypes {
|
|
1261
1268
|
ACTION = "action",
|
|
1262
1269
|
FEATURE = "feature",
|
|
1263
1270
|
NOTIFICATION = "notification",
|
|
@@ -1286,30 +1293,17 @@ export declare enum InputDataSources {
|
|
|
1286
1293
|
EVENT = "event",
|
|
1287
1294
|
AUTH = "auth"
|
|
1288
1295
|
}
|
|
1289
|
-
export interface
|
|
1296
|
+
export interface IStepSequence {
|
|
1290
1297
|
parents?: Array<string>;
|
|
1291
1298
|
level?: number;
|
|
1292
1299
|
tag: string;
|
|
1293
|
-
events: Array<
|
|
1300
|
+
events: Array<IStepEvent>;
|
|
1294
1301
|
}
|
|
1295
|
-
export interface
|
|
1296
|
-
_id: string;
|
|
1297
|
-
name: string;
|
|
1298
|
-
description: string;
|
|
1299
|
-
input_type: string;
|
|
1300
|
-
store_event_results: boolean;
|
|
1301
|
-
tag: string;
|
|
1302
|
-
input: Record<string, IFeatureInput>;
|
|
1303
|
-
sequence: IFeatureSequence[];
|
|
1304
|
-
output: Record<string, string | Record<string, string | object>>;
|
|
1305
|
-
}
|
|
1306
|
-
export interface IFeatureInput {
|
|
1302
|
+
export interface IStepInput {
|
|
1307
1303
|
type: DataTypes | FileType;
|
|
1308
1304
|
minlength?: number;
|
|
1309
1305
|
maxlength?: number;
|
|
1310
1306
|
}
|
|
1311
|
-
export interface IFeatureOutput extends IFeatureInput {
|
|
1312
|
-
}
|
|
1313
1307
|
export interface IDependencyMatrix {
|
|
1314
1308
|
event_tag: string;
|
|
1315
1309
|
sequence_tag: string;
|
|
@@ -1527,8 +1521,8 @@ export declare enum TriggerActionTypes {
|
|
|
1527
1521
|
CACHE_SET = "cache.set",
|
|
1528
1522
|
CACHE_INVALIDATE = "cache.invalidate",
|
|
1529
1523
|
CACHE_DELETE = "cache.delete",
|
|
1530
|
-
|
|
1531
|
-
|
|
1524
|
+
FEATURE_EXECUTE = "feature.execute",
|
|
1525
|
+
FEATURE_DISPATCH = "feature.dispatch",
|
|
1532
1526
|
ACTION_EXECUTE = "action.execute",
|
|
1533
1527
|
AGENT_RUN = "agent.run",
|
|
1534
1528
|
QUOTA_RUN = "quota.run",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TriggerConditionOperator = exports.TriggerActionTypes = exports.TriggerTimingType = exports.TriggerEventType = exports.PricingTag = exports.InputDataSources = exports.MessageBrokerTypes = exports.WebhookEventTypes = exports.
|
|
3
|
+
exports.TriggerConditionOperator = exports.TriggerActionTypes = exports.TriggerTimingType = exports.TriggerEventType = exports.PricingTag = exports.InputDataSources = exports.MessageBrokerTypes = exports.WebhookEventTypes = exports.StepEventTypes = exports.FeatureStatus = exports.FeatureRollbackStrategy = exports.FeatureStepType = exports.ProviderStatus = exports.Conditions = exports.ValidOperators = exports.JobEventTypes = exports.FunctionInputType = exports.VectorActionTypes = exports.VectorDistanceMetrics = exports.VectorDBTypes = exports.DatabaseActionTypes = exports.GraphTypes = exports.MigrationStatus = exports.DatabaseTypes = exports.StorageProviders = exports.HealthcheckProbeType = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Healthcheck probe type
|
|
6
6
|
*/
|
|
@@ -22,6 +22,9 @@ var DatabaseTypes;
|
|
|
22
22
|
DatabaseTypes["POSTGRES"] = "postgresql";
|
|
23
23
|
DatabaseTypes["MONGODB"] = "mongodb";
|
|
24
24
|
DatabaseTypes["MYSQL"] = "mysql";
|
|
25
|
+
DatabaseTypes["MARIADB"] = "mariadb";
|
|
26
|
+
DatabaseTypes["DYNAMODB"] = "dynamodb";
|
|
27
|
+
DatabaseTypes["CASSANDRA"] = "cassandra";
|
|
25
28
|
})(DatabaseTypes || (exports.DatabaseTypes = DatabaseTypes = {}));
|
|
26
29
|
var MigrationStatus;
|
|
27
30
|
(function (MigrationStatus) {
|
|
@@ -128,7 +131,7 @@ var JobEventTypes;
|
|
|
128
131
|
JobEventTypes["DATABASE_OPERATION"] = "database_operation";
|
|
129
132
|
JobEventTypes["GRAPH_ACTION"] = "graph_action";
|
|
130
133
|
JobEventTypes["GRAPH_OPERATION"] = "graph_operation";
|
|
131
|
-
JobEventTypes["
|
|
134
|
+
JobEventTypes["FEATURE"] = "feature";
|
|
132
135
|
JobEventTypes["STORAGE"] = "storage";
|
|
133
136
|
JobEventTypes["PUBLISH"] = "publish";
|
|
134
137
|
JobEventTypes["FALLBACK"] = "fallback";
|
|
@@ -145,58 +148,57 @@ var ProviderStatus;
|
|
|
145
148
|
ProviderStatus["AVAILABLE"] = "available";
|
|
146
149
|
ProviderStatus["UNAVAILABLE"] = "unavailable";
|
|
147
150
|
})(ProviderStatus || (exports.ProviderStatus = ProviderStatus = {}));
|
|
148
|
-
//
|
|
149
|
-
var
|
|
150
|
-
(function (
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
/** @deprecated Use PRODUCE for messaging.produce(); kept for backward compatibility with stored
|
|
156
|
-
|
|
157
|
-
/** Message broker produce (ctx.messaging.produce). Stored as 'produce' in
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
FeatureEventTypes["STORAGE"] = "storage";
|
|
151
|
+
// Feature Types
|
|
152
|
+
var FeatureStepType;
|
|
153
|
+
(function (FeatureStepType) {
|
|
154
|
+
FeatureStepType["ACTION"] = "action";
|
|
155
|
+
FeatureStepType["DATABASE_ACTION"] = "database_action";
|
|
156
|
+
FeatureStepType["NOTIFICATION"] = "notification";
|
|
157
|
+
FeatureStepType["STORAGE"] = "storage";
|
|
158
|
+
/** @deprecated Use PRODUCE for messaging.produce(); kept for backward compatibility with stored features */
|
|
159
|
+
FeatureStepType["PUBLISH"] = "publish";
|
|
160
|
+
/** Message broker produce (ctx.messaging.produce). Stored as 'produce' in feature steps. */
|
|
161
|
+
FeatureStepType["PRODUCE"] = "produce";
|
|
162
|
+
FeatureStepType["QUOTA"] = "quota";
|
|
163
|
+
FeatureStepType["FALLBACK"] = "fallback";
|
|
164
|
+
FeatureStepType["GRAPH"] = "graph";
|
|
165
|
+
FeatureStepType["VECTOR"] = "vector";
|
|
166
|
+
FeatureStepType["CHILD_FEATURE"] = "child_feature";
|
|
167
|
+
FeatureStepType["SLEEP"] = "sleep";
|
|
168
|
+
FeatureStepType["WAIT_FOR_SIGNAL"] = "wait_for_signal";
|
|
169
|
+
FeatureStepType["CHECKPOINT"] = "checkpoint";
|
|
170
|
+
})(FeatureStepType || (exports.FeatureStepType = FeatureStepType = {}));
|
|
171
|
+
var FeatureRollbackStrategy;
|
|
172
|
+
(function (FeatureRollbackStrategy) {
|
|
173
|
+
FeatureRollbackStrategy["REVERSE_ALL"] = "reverse_all";
|
|
174
|
+
FeatureRollbackStrategy["REVERSE_CRITICAL"] = "reverse_critical";
|
|
175
|
+
FeatureRollbackStrategy["COMPENSATE"] = "compensate";
|
|
176
|
+
FeatureRollbackStrategy["NONE"] = "none";
|
|
177
|
+
})(FeatureRollbackStrategy || (exports.FeatureRollbackStrategy = FeatureRollbackStrategy = {}));
|
|
178
|
+
var FeatureStatus;
|
|
179
|
+
(function (FeatureStatus) {
|
|
180
|
+
FeatureStatus["PENDING"] = "pending";
|
|
181
|
+
FeatureStatus["RUNNING"] = "running";
|
|
182
|
+
FeatureStatus["COMPLETED"] = "completed";
|
|
183
|
+
FeatureStatus["FAILED"] = "failed";
|
|
184
|
+
FeatureStatus["ROLLED_BACK"] = "rolled_back";
|
|
185
|
+
FeatureStatus["ROLLING_BACK"] = "rolling_back";
|
|
186
|
+
FeatureStatus["PAUSED"] = "paused";
|
|
187
|
+
})(FeatureStatus || (exports.FeatureStatus = FeatureStatus = {}));
|
|
188
|
+
var StepEventTypes;
|
|
189
|
+
(function (StepEventTypes) {
|
|
190
|
+
StepEventTypes["ACTION"] = "action";
|
|
191
|
+
StepEventTypes["FEATURE"] = "feature";
|
|
192
|
+
StepEventTypes["NOTIFICATION"] = "notification";
|
|
193
|
+
StepEventTypes["DB_ACTION"] = "database_action";
|
|
194
|
+
StepEventTypes["JOB"] = "job";
|
|
195
|
+
StepEventTypes["STORAGE"] = "storage";
|
|
194
196
|
//MESSAGE = 'message',
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
})(
|
|
197
|
+
StepEventTypes["PUBLISH"] = "publish";
|
|
198
|
+
StepEventTypes["SUBSCRIBE"] = "subscribe";
|
|
199
|
+
StepEventTypes["QUOTA"] = "quota";
|
|
200
|
+
StepEventTypes["FALLBACK"] = "fallback";
|
|
201
|
+
})(StepEventTypes || (exports.StepEventTypes = StepEventTypes = {}));
|
|
200
202
|
var WebhookEventTypes;
|
|
201
203
|
(function (WebhookEventTypes) {
|
|
202
204
|
WebhookEventTypes["WEBHOOK_REGISTER"] = "WEBHOOK_REGISTER";
|
|
@@ -266,8 +268,8 @@ var TriggerActionTypes;
|
|
|
266
268
|
TriggerActionTypes["CACHE_SET"] = "cache.set";
|
|
267
269
|
TriggerActionTypes["CACHE_INVALIDATE"] = "cache.invalidate";
|
|
268
270
|
TriggerActionTypes["CACHE_DELETE"] = "cache.delete";
|
|
269
|
-
TriggerActionTypes["
|
|
270
|
-
TriggerActionTypes["
|
|
271
|
+
TriggerActionTypes["FEATURE_EXECUTE"] = "feature.execute";
|
|
272
|
+
TriggerActionTypes["FEATURE_DISPATCH"] = "feature.dispatch";
|
|
271
273
|
TriggerActionTypes["ACTION_EXECUTE"] = "action.execute";
|
|
272
274
|
TriggerActionTypes["AGENT_RUN"] = "agent.run";
|
|
273
275
|
TriggerActionTypes["QUOTA_RUN"] = "quota.run";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productsBuilder.types.js","sourceRoot":"","sources":["../../src/types/productsBuilder.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"productsBuilder.types.js","sourceRoot":"","sources":["../../src/types/productsBuilder.types.ts"],"names":[],"mappings":";;;AA+EA;;GAEG;AACH,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,mCAAW,CAAA;IACX,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,2CAAmB,CAAA;AACrB,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAgKD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,+BAAW,CAAA;IACX,+BAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA0BD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IAC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IAC7B,+DAAyC,CAAA;IACzC,2DAAqC,CAAA;IACrC,6DAAuC,CAAA;IACvC,qEAA+C,CAAA;IAC/C,uDAAiC,CAAA;IACjC,6CAAuB,CAAA;IACvB,2DAAqC,CAAA;IACrC,mDAA6B,CAAA;IAC7B,yDAAmC,CAAA;IACnC,2DAAqC,CAAA;IACrC,uDAAiC,CAAA;IACjC,6CAAuB,CAAA;IACvB,6CAAuB,CAAA;IACvB,mDAA6B,CAAA;IAC7B,yDAAmC,CAAA;IACnC,+CAAyB,CAAA;IACzB,uDAAiC,CAAA;IACjC,qDAA+B,CAAA;IAC/B,qDAA+B,CAAA;IAC/B,yDAAmC,CAAA;IACnC,iDAA2B,CAAA;AAC7B,CAAC,EA7BW,kBAAkB,kCAAlB,kBAAkB,QA6B7B;AAED;;GAEG;AACH,IAAY,wBAqBX;AArBD,WAAY,wBAAwB;IAClC,yCAAa,CAAA;IACb,8CAAkB,CAAA;IAClB,+CAAmB,CAAA;IACnB,0DAA8B,CAAA;IAC9B,4CAAgB,CAAA;IAChB,uDAA2B,CAAA;IAC3B,qCAAS,CAAA;IACT,4CAAgB,CAAA;IAChB,iDAAqB,CAAA;IACrB,sDAA0B,CAAA;IAC1B,kDAAsB,CAAA;IACtB,+CAAmB,CAAA;IACnB,8CAAkB,CAAA;IAClB,qDAAyB,CAAA;IACzB,gDAAoB,CAAA;IACpB,uDAA2B,CAAA;IAC3B,+CAAmB,CAAA;IACnB,sDAA0B,CAAA;IAC1B,oDAAwB,CAAA;IACxB,wDAA4B,CAAA;AAC9B,CAAC,EArBW,wBAAwB,wCAAxB,wBAAwB,QAqBnC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ductape/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "sdk for building ductaped products",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -113,7 +113,8 @@
|
|
|
113
113
|
"redis": "^4.7.0",
|
|
114
114
|
"sql-parser": "^0.5.0",
|
|
115
115
|
"twilio": "^5.5.2",
|
|
116
|
-
"ws": "^8.18.0"
|
|
116
|
+
"ws": "^8.18.0",
|
|
117
|
+
"xml2json": "^0.12.0"
|
|
117
118
|
},
|
|
118
119
|
"devDependencies": {
|
|
119
120
|
"@aws-sdk/client-dynamodb": "^3.948.0",
|
|
@@ -131,6 +132,8 @@
|
|
|
131
132
|
"@types/nodemailer": "^6.4.17",
|
|
132
133
|
"@types/pg": "^8.11.11",
|
|
133
134
|
"@types/uuid": "^10.0.0",
|
|
135
|
+
"@types/xml2js": "^0.4.11",
|
|
136
|
+
"@types/xml2json": "^0.11.4",
|
|
134
137
|
"cassandra-driver": "^4.8.0",
|
|
135
138
|
"jest": "^30.2.0",
|
|
136
139
|
"mysql2": "^3.15.3",
|