@octonodes/sdk 0.1.0 → 0.1.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/PLUGINS.md +289 -91
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/gen/types.gen.d.ts +240 -1
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +475 -16
- package/dist/plugins/schema/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin.js +105 -8
- package/dist/plugins/schema/plugin.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts +3 -0
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/catalog.js +166 -0
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/constants.d.ts +6 -0
- package/dist/plugins/sdk/definitions/compiler/constants.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/constants.js +10 -0
- package/dist/plugins/sdk/definitions/compiler/constants.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/index.d.ts +7 -0
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/index.js +490 -0
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/literals.d.ts +5 -0
- package/dist/plugins/sdk/definitions/compiler/literals.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/literals.js +78 -0
- package/dist/plugins/sdk/definitions/compiler/literals.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/schemas.d.ts +4 -0
- package/dist/plugins/sdk/definitions/compiler/schemas.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/schemas.js +95 -0
- package/dist/plugins/sdk/definitions/compiler/schemas.js.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/types.d.ts +23 -0
- package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/compiler/types.js +3 -0
- package/dist/plugins/sdk/definitions/compiler/types.js.map +1 -0
- package/dist/plugins/sdk/definitions/index.d.ts +7 -0
- package/dist/plugins/sdk/definitions/index.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/index.js +16 -0
- package/dist/plugins/sdk/definitions/index.js.map +1 -0
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +4 -0
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/npm/emit/js.js +190 -0
- package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -0
- package/dist/plugins/sdk/definitions/npm/types.d.ts +63 -0
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/npm/types.js +3 -0
- package/dist/plugins/sdk/definitions/npm/types.js.map +1 -0
- package/dist/plugins/sdk/definitions/types.d.ts +46 -0
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/types.js +3 -0
- package/dist/plugins/sdk/definitions/types.js.map +1 -0
- package/dist/plugins/sdk/nodes/index.d.ts +5 -0
- package/dist/plugins/sdk/nodes/index.d.ts.map +1 -0
- package/dist/plugins/sdk/nodes/index.js +12 -0
- package/dist/plugins/sdk/nodes/index.js.map +1 -0
- package/dist/plugins/sdk/plugin/index.d.ts +3 -0
- package/dist/plugins/sdk/plugin/index.d.ts.map +1 -0
- package/dist/plugins/sdk/plugin/index.js +8 -0
- package/dist/plugins/sdk/plugin/index.js.map +1 -0
- package/dist/plugins/sdk/plugin.js +1 -1
- package/dist/plugins/sdk/plugin.js.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.js +1 -1
- package/dist/plugins/sdk/plugins/define-node.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +1 -1
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/dist/plugins/sdk/project/index.d.ts +5 -0
- package/dist/plugins/sdk/project/index.d.ts.map +1 -0
- package/dist/plugins/sdk/project/index.js +10 -0
- package/dist/plugins/sdk/project/index.js.map +1 -0
- package/dist/plugins/sdk/runner.js +1 -1
- package/dist/plugins/sdk/runner.js.map +1 -1
- package/package.json +45 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1732,6 +1732,7 @@ export type GetApiProjectsByProjectIdSourceIndexResponses = {
|
|
|
1732
1732
|
serializable: boolean;
|
|
1733
1733
|
value?: unknown;
|
|
1734
1734
|
declarationKind?: 'const';
|
|
1735
|
+
mutable?: boolean;
|
|
1735
1736
|
expression?: string;
|
|
1736
1737
|
};
|
|
1737
1738
|
variable?: {
|
|
@@ -3407,6 +3408,20 @@ export type GetApiWorkflowsByWorkflowIdGraphResponses = {
|
|
|
3407
3408
|
};
|
|
3408
3409
|
};
|
|
3409
3410
|
nodes: Array<{
|
|
3411
|
+
plugin?: string;
|
|
3412
|
+
pluginVersion?: string;
|
|
3413
|
+
pluginUi?: {
|
|
3414
|
+
apiVersion: '1';
|
|
3415
|
+
renderers: {
|
|
3416
|
+
[key: string]: {
|
|
3417
|
+
label: string;
|
|
3418
|
+
targets: {
|
|
3419
|
+
[key: string]: string;
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
};
|
|
3424
|
+
renderer?: string;
|
|
3410
3425
|
hiddenReason?: string;
|
|
3411
3426
|
color?: string;
|
|
3412
3427
|
style?: {
|
|
@@ -3682,6 +3697,20 @@ export type PostApiWorkflowsByWorkflowIdTopologyErrors = {
|
|
|
3682
3697
|
};
|
|
3683
3698
|
};
|
|
3684
3699
|
nodes: Array<{
|
|
3700
|
+
plugin?: string;
|
|
3701
|
+
pluginVersion?: string;
|
|
3702
|
+
pluginUi?: {
|
|
3703
|
+
apiVersion: '1';
|
|
3704
|
+
renderers: {
|
|
3705
|
+
[key: string]: {
|
|
3706
|
+
label: string;
|
|
3707
|
+
targets: {
|
|
3708
|
+
[key: string]: string;
|
|
3709
|
+
};
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
renderer?: string;
|
|
3685
3714
|
hiddenReason?: string;
|
|
3686
3715
|
color?: string;
|
|
3687
3716
|
style?: {
|
|
@@ -3850,6 +3879,20 @@ export type PostApiWorkflowsByWorkflowIdTopologyResponses = {
|
|
|
3850
3879
|
};
|
|
3851
3880
|
};
|
|
3852
3881
|
nodes: Array<{
|
|
3882
|
+
plugin?: string;
|
|
3883
|
+
pluginVersion?: string;
|
|
3884
|
+
pluginUi?: {
|
|
3885
|
+
apiVersion: '1';
|
|
3886
|
+
renderers: {
|
|
3887
|
+
[key: string]: {
|
|
3888
|
+
label: string;
|
|
3889
|
+
targets: {
|
|
3890
|
+
[key: string]: string;
|
|
3891
|
+
};
|
|
3892
|
+
};
|
|
3893
|
+
};
|
|
3894
|
+
};
|
|
3895
|
+
renderer?: string;
|
|
3853
3896
|
hiddenReason?: string;
|
|
3854
3897
|
color?: string;
|
|
3855
3898
|
style?: {
|
|
@@ -4041,6 +4084,16 @@ export type GetApiMarketplaceResponses = {
|
|
|
4041
4084
|
*/
|
|
4042
4085
|
200: {
|
|
4043
4086
|
items: Array<{
|
|
4087
|
+
official?: boolean;
|
|
4088
|
+
installCount?: number;
|
|
4089
|
+
ratingCount?: number;
|
|
4090
|
+
score?: number | null;
|
|
4091
|
+
sourceKind?: 'sdk' | 'npm';
|
|
4092
|
+
npm?: {
|
|
4093
|
+
package: string;
|
|
4094
|
+
version: string;
|
|
4095
|
+
spec: string;
|
|
4096
|
+
} | null;
|
|
4044
4097
|
id: string;
|
|
4045
4098
|
name: string;
|
|
4046
4099
|
version: string;
|
|
@@ -4052,6 +4105,20 @@ export type GetApiMarketplaceResponses = {
|
|
|
4052
4105
|
tags: Array<string>;
|
|
4053
4106
|
nodes?: Array<{
|
|
4054
4107
|
id: string;
|
|
4108
|
+
source?: {
|
|
4109
|
+
kind: 'plugin';
|
|
4110
|
+
} | {
|
|
4111
|
+
kind: 'npm';
|
|
4112
|
+
package: string;
|
|
4113
|
+
version: string;
|
|
4114
|
+
};
|
|
4115
|
+
libraryExport?: string;
|
|
4116
|
+
implementation?: {
|
|
4117
|
+
module: string;
|
|
4118
|
+
export: string;
|
|
4119
|
+
parameters: Array<string>;
|
|
4120
|
+
};
|
|
4121
|
+
icon?: string;
|
|
4055
4122
|
label?: string;
|
|
4056
4123
|
symbol?: string;
|
|
4057
4124
|
description?: string;
|
|
@@ -4065,6 +4132,17 @@ export type GetApiMarketplaceResponses = {
|
|
|
4065
4132
|
[key: string]: unknown;
|
|
4066
4133
|
};
|
|
4067
4134
|
connections?: Array<string>;
|
|
4135
|
+
ui?: {
|
|
4136
|
+
apiVersion: '1';
|
|
4137
|
+
renderers: {
|
|
4138
|
+
[key: string]: {
|
|
4139
|
+
label: string;
|
|
4140
|
+
targets: {
|
|
4141
|
+
[key: string]: string;
|
|
4142
|
+
};
|
|
4143
|
+
};
|
|
4144
|
+
};
|
|
4145
|
+
};
|
|
4068
4146
|
}>;
|
|
4069
4147
|
installed: boolean;
|
|
4070
4148
|
scope?: 'user' | 'group' | 'org' | 'public';
|
|
@@ -4124,6 +4202,20 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4124
4202
|
tags: Array<string>;
|
|
4125
4203
|
nodes: Array<{
|
|
4126
4204
|
id: string;
|
|
4205
|
+
source?: {
|
|
4206
|
+
kind: 'plugin';
|
|
4207
|
+
} | {
|
|
4208
|
+
kind: 'npm';
|
|
4209
|
+
package: string;
|
|
4210
|
+
version: string;
|
|
4211
|
+
};
|
|
4212
|
+
libraryExport?: string;
|
|
4213
|
+
implementation?: {
|
|
4214
|
+
module: string;
|
|
4215
|
+
export: string;
|
|
4216
|
+
parameters: Array<string>;
|
|
4217
|
+
};
|
|
4218
|
+
icon?: string;
|
|
4127
4219
|
label?: string;
|
|
4128
4220
|
symbol?: string;
|
|
4129
4221
|
description?: string;
|
|
@@ -4137,7 +4229,34 @@ export type GetApiMarketplacePluginsByIdResponses = {
|
|
|
4137
4229
|
[key: string]: unknown;
|
|
4138
4230
|
};
|
|
4139
4231
|
connections?: Array<string>;
|
|
4232
|
+
ui?: {
|
|
4233
|
+
apiVersion: '1';
|
|
4234
|
+
renderers: {
|
|
4235
|
+
[key: string]: {
|
|
4236
|
+
label: string;
|
|
4237
|
+
targets: {
|
|
4238
|
+
[key: string]: string;
|
|
4239
|
+
};
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4242
|
+
};
|
|
4140
4243
|
}>;
|
|
4244
|
+
library?: {
|
|
4245
|
+
format: 1;
|
|
4246
|
+
entry: 'library/index.js';
|
|
4247
|
+
types: 'library/index.d.ts';
|
|
4248
|
+
exports: Array<string>;
|
|
4249
|
+
};
|
|
4250
|
+
official?: boolean;
|
|
4251
|
+
installCount?: number;
|
|
4252
|
+
ratingCount?: number;
|
|
4253
|
+
score?: number | null;
|
|
4254
|
+
sourceKind?: 'sdk' | 'npm';
|
|
4255
|
+
npm?: {
|
|
4256
|
+
package: string;
|
|
4257
|
+
version: string;
|
|
4258
|
+
spec: string;
|
|
4259
|
+
} | null;
|
|
4141
4260
|
installedVersion?: string;
|
|
4142
4261
|
versions: Array<{
|
|
4143
4262
|
version: string;
|
|
@@ -4204,6 +4323,20 @@ export type GetApiPluginsResponses = {
|
|
|
4204
4323
|
tags: Array<string>;
|
|
4205
4324
|
nodes?: Array<{
|
|
4206
4325
|
id: string;
|
|
4326
|
+
source?: {
|
|
4327
|
+
kind: 'plugin';
|
|
4328
|
+
} | {
|
|
4329
|
+
kind: 'npm';
|
|
4330
|
+
package: string;
|
|
4331
|
+
version: string;
|
|
4332
|
+
};
|
|
4333
|
+
libraryExport?: string;
|
|
4334
|
+
implementation?: {
|
|
4335
|
+
module: string;
|
|
4336
|
+
export: string;
|
|
4337
|
+
parameters: Array<string>;
|
|
4338
|
+
};
|
|
4339
|
+
icon?: string;
|
|
4207
4340
|
label?: string;
|
|
4208
4341
|
symbol?: string;
|
|
4209
4342
|
description?: string;
|
|
@@ -4217,6 +4350,17 @@ export type GetApiPluginsResponses = {
|
|
|
4217
4350
|
[key: string]: unknown;
|
|
4218
4351
|
};
|
|
4219
4352
|
connections?: Array<string>;
|
|
4353
|
+
ui?: {
|
|
4354
|
+
apiVersion: '1';
|
|
4355
|
+
renderers: {
|
|
4356
|
+
[key: string]: {
|
|
4357
|
+
label: string;
|
|
4358
|
+
targets: {
|
|
4359
|
+
[key: string]: string;
|
|
4360
|
+
};
|
|
4361
|
+
};
|
|
4362
|
+
};
|
|
4363
|
+
};
|
|
4220
4364
|
}>;
|
|
4221
4365
|
}>;
|
|
4222
4366
|
};
|
|
@@ -4253,6 +4397,20 @@ export type GetApiPluginsSearchResponses = {
|
|
|
4253
4397
|
tags: Array<string>;
|
|
4254
4398
|
nodes?: Array<{
|
|
4255
4399
|
id: string;
|
|
4400
|
+
source?: {
|
|
4401
|
+
kind: 'plugin';
|
|
4402
|
+
} | {
|
|
4403
|
+
kind: 'npm';
|
|
4404
|
+
package: string;
|
|
4405
|
+
version: string;
|
|
4406
|
+
};
|
|
4407
|
+
libraryExport?: string;
|
|
4408
|
+
implementation?: {
|
|
4409
|
+
module: string;
|
|
4410
|
+
export: string;
|
|
4411
|
+
parameters: Array<string>;
|
|
4412
|
+
};
|
|
4413
|
+
icon?: string;
|
|
4256
4414
|
label?: string;
|
|
4257
4415
|
symbol?: string;
|
|
4258
4416
|
description?: string;
|
|
@@ -4266,6 +4424,17 @@ export type GetApiPluginsSearchResponses = {
|
|
|
4266
4424
|
[key: string]: unknown;
|
|
4267
4425
|
};
|
|
4268
4426
|
connections?: Array<string>;
|
|
4427
|
+
ui?: {
|
|
4428
|
+
apiVersion: '1';
|
|
4429
|
+
renderers: {
|
|
4430
|
+
[key: string]: {
|
|
4431
|
+
label: string;
|
|
4432
|
+
targets: {
|
|
4433
|
+
[key: string]: string;
|
|
4434
|
+
};
|
|
4435
|
+
};
|
|
4436
|
+
};
|
|
4437
|
+
};
|
|
4269
4438
|
}>;
|
|
4270
4439
|
}>;
|
|
4271
4440
|
total: number;
|
|
@@ -4301,6 +4470,20 @@ export type GetApiPluginsNodesResponses = {
|
|
|
4301
4470
|
200: {
|
|
4302
4471
|
items: Array<{
|
|
4303
4472
|
id: string;
|
|
4473
|
+
source?: {
|
|
4474
|
+
kind: 'plugin';
|
|
4475
|
+
} | {
|
|
4476
|
+
kind: 'npm';
|
|
4477
|
+
package: string;
|
|
4478
|
+
version: string;
|
|
4479
|
+
};
|
|
4480
|
+
libraryExport?: string;
|
|
4481
|
+
implementation?: {
|
|
4482
|
+
module: string;
|
|
4483
|
+
export: string;
|
|
4484
|
+
parameters: Array<string>;
|
|
4485
|
+
};
|
|
4486
|
+
icon?: string;
|
|
4304
4487
|
label?: string;
|
|
4305
4488
|
symbol?: string;
|
|
4306
4489
|
description?: string;
|
|
@@ -4314,6 +4497,17 @@ export type GetApiPluginsNodesResponses = {
|
|
|
4314
4497
|
[key: string]: unknown;
|
|
4315
4498
|
};
|
|
4316
4499
|
connections?: Array<string>;
|
|
4500
|
+
ui?: {
|
|
4501
|
+
apiVersion: '1';
|
|
4502
|
+
renderers: {
|
|
4503
|
+
[key: string]: {
|
|
4504
|
+
label: string;
|
|
4505
|
+
targets: {
|
|
4506
|
+
[key: string]: string;
|
|
4507
|
+
};
|
|
4508
|
+
};
|
|
4509
|
+
};
|
|
4510
|
+
};
|
|
4317
4511
|
pluginId: string;
|
|
4318
4512
|
pluginName: string;
|
|
4319
4513
|
pluginVersion: string;
|
|
@@ -4365,6 +4559,20 @@ export type GetApiPluginsByPluginIdResponses = {
|
|
|
4365
4559
|
tags: Array<string>;
|
|
4366
4560
|
nodes: Array<{
|
|
4367
4561
|
id: string;
|
|
4562
|
+
source?: {
|
|
4563
|
+
kind: 'plugin';
|
|
4564
|
+
} | {
|
|
4565
|
+
kind: 'npm';
|
|
4566
|
+
package: string;
|
|
4567
|
+
version: string;
|
|
4568
|
+
};
|
|
4569
|
+
libraryExport?: string;
|
|
4570
|
+
implementation?: {
|
|
4571
|
+
module: string;
|
|
4572
|
+
export: string;
|
|
4573
|
+
parameters: Array<string>;
|
|
4574
|
+
};
|
|
4575
|
+
icon?: string;
|
|
4368
4576
|
label?: string;
|
|
4369
4577
|
symbol?: string;
|
|
4370
4578
|
description?: string;
|
|
@@ -4378,12 +4586,28 @@ export type GetApiPluginsByPluginIdResponses = {
|
|
|
4378
4586
|
[key: string]: unknown;
|
|
4379
4587
|
};
|
|
4380
4588
|
connections?: Array<string>;
|
|
4589
|
+
ui?: {
|
|
4590
|
+
apiVersion: '1';
|
|
4591
|
+
renderers: {
|
|
4592
|
+
[key: string]: {
|
|
4593
|
+
label: string;
|
|
4594
|
+
targets: {
|
|
4595
|
+
[key: string]: string;
|
|
4596
|
+
};
|
|
4597
|
+
};
|
|
4598
|
+
};
|
|
4599
|
+
};
|
|
4381
4600
|
language?: string;
|
|
4382
4601
|
command: string;
|
|
4383
|
-
icon?: string;
|
|
4384
4602
|
trigger?: boolean;
|
|
4385
4603
|
env?: Array<string>;
|
|
4386
4604
|
}>;
|
|
4605
|
+
library?: {
|
|
4606
|
+
format: 1;
|
|
4607
|
+
entry: 'library/index.js';
|
|
4608
|
+
types: 'library/index.d.ts';
|
|
4609
|
+
exports: Array<string>;
|
|
4610
|
+
};
|
|
4387
4611
|
installed: true;
|
|
4388
4612
|
connections?: {
|
|
4389
4613
|
[key: string]: {
|
|
@@ -4460,6 +4684,20 @@ export type PostApiPluginsByPluginIdNodesByNodeIdAddResponses = {
|
|
|
4460
4684
|
200: {
|
|
4461
4685
|
instanceId: string;
|
|
4462
4686
|
node: {
|
|
4687
|
+
plugin?: string;
|
|
4688
|
+
pluginVersion?: string;
|
|
4689
|
+
pluginUi?: {
|
|
4690
|
+
apiVersion: '1';
|
|
4691
|
+
renderers: {
|
|
4692
|
+
[key: string]: {
|
|
4693
|
+
label: string;
|
|
4694
|
+
targets: {
|
|
4695
|
+
[key: string]: string;
|
|
4696
|
+
};
|
|
4697
|
+
};
|
|
4698
|
+
};
|
|
4699
|
+
};
|
|
4700
|
+
renderer?: string;
|
|
4463
4701
|
hiddenReason?: string;
|
|
4464
4702
|
color?: string;
|
|
4465
4703
|
style?: {
|
|
@@ -4737,6 +4975,7 @@ export type PostApiNativeNodesByCatalogIdMaterializeResponses = {
|
|
|
4737
4975
|
symbol?: string;
|
|
4738
4976
|
description?: string;
|
|
4739
4977
|
color?: string;
|
|
4978
|
+
renderer?: string;
|
|
4740
4979
|
position?: {
|
|
4741
4980
|
x: number;
|
|
4742
4981
|
y: number;
|