@abyss-project/main 1.0.110 → 1.0.111
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/api/billing-account.admin.api.d.ts +10 -0
- package/dist/api/billing-account.admin.api.js +38 -0
- package/dist/api/billing-addon-template.admin.api.d.ts +7 -0
- package/dist/api/billing-addon-template.admin.api.js +26 -0
- package/dist/api/billing-plan.admin.api.d.ts +6 -0
- package/dist/api/billing-plan.admin.api.js +20 -0
- package/dist/api/billing-plan.api.d.ts +4 -0
- package/dist/api/billing-plan.api.js +12 -0
- package/dist/api/index.d.ts +7 -4
- package/dist/api/index.js +7 -4
- package/dist/api/organization-billing.api.d.ts +17 -0
- package/dist/api/organization-billing.api.js +64 -0
- package/dist/api/organization-member.api.d.ts +9 -6
- package/dist/api/organization-member.api.js +19 -7
- package/dist/api/organization.api.d.ts +3 -2
- package/dist/api/organization.api.js +5 -1
- package/dist/api/project-access.admin.api.d.ts +1 -3
- package/dist/api/project-access.admin.api.js +1 -9
- package/dist/api/project-access.api.d.ts +5 -3
- package/dist/api/project-access.api.js +17 -9
- package/dist/api/project-api-key.api.d.ts +8 -0
- package/dist/api/project-api-key.api.js +29 -0
- package/dist/api/project.api.d.ts +1 -5
- package/dist/api/project.api.js +1 -17
- package/dist/api/user-billing.api.d.ts +11 -0
- package/dist/api/user-billing.api.js +40 -0
- package/dist/api/user.api.d.ts +1 -4
- package/dist/api/user.api.js +1 -16
- package/dist/index.d.ts +1 -37
- package/dist/index.js +1 -37
- package/dist/permissions/ability.d.ts +12 -0
- package/dist/permissions/ability.js +134 -0
- package/dist/permissions/index.d.ts +1 -0
- package/dist/{workflow → permissions}/index.js +1 -1
- package/dist/types/enum/abyss-application-event.enum.d.ts +17 -1
- package/dist/types/enum/abyss-application-event.enum.js +16 -0
- package/dist/types/enum/index.d.ts +1 -4
- package/dist/types/enum/index.js +1 -4
- package/dist/types/enum/onboarding-steps.enum.d.ts +5 -3
- package/dist/types/enum/onboarding-steps.enum.js +5 -3
- package/dist/types/enum/organization-billing.enum.d.ts +70 -0
- package/dist/types/enum/organization-billing.enum.js +82 -0
- package/dist/types/enum/user-type.enum.d.ts +1 -0
- package/dist/types/enum/user-type.enum.js +1 -0
- package/dist/types/interface/api/index.d.ts +13 -8
- package/dist/types/interface/api/index.js +13 -8
- package/dist/types/interface/api/requests/billing-account.admin.request.d.ts +53 -0
- package/dist/types/interface/api/requests/billing-addon-template.request.d.ts +32 -0
- package/dist/types/interface/api/requests/billing-plan.request.d.ts +37 -0
- package/dist/types/interface/api/requests/organization-billing.request.d.ts +95 -0
- package/dist/types/interface/api/requests/organization-member.request.d.ts +13 -3
- package/dist/types/interface/api/requests/organization.request.d.ts +10 -0
- package/dist/types/interface/api/requests/project-access.admin.request.d.ts +1 -20
- package/dist/types/interface/api/requests/project-access.request.d.ts +16 -20
- package/dist/types/interface/api/requests/project-api-key.request.d.ts +39 -0
- package/dist/types/interface/api/requests/project.request.d.ts +2 -23
- package/dist/types/interface/api/requests/user-billing.request.d.ts +23 -0
- package/dist/types/interface/api/requests/user.request.d.ts +2 -8
- package/dist/types/interface/api/responses/billing-account.admin.response.d.ts +38 -0
- package/dist/types/interface/api/responses/billing-addon-template.response.d.ts +22 -0
- package/dist/types/interface/api/responses/billing-plan.response.d.ts +26 -0
- package/dist/types/interface/api/responses/gift-code.admin.response.d.ts +0 -1
- package/dist/types/interface/api/responses/gift-code.response.d.ts +0 -1
- package/dist/types/interface/api/responses/organization-billing.response.d.ts +82 -0
- package/dist/types/interface/api/responses/organization-member.response.d.ts +20 -8
- package/dist/types/interface/api/responses/project-access.admin.response.d.ts +0 -8
- package/dist/types/interface/api/responses/project-access.response.d.ts +16 -8
- package/dist/types/interface/api/responses/project-api-key.response.d.ts +26 -0
- package/dist/types/interface/api/responses/project.response.d.ts +0 -14
- package/dist/types/interface/api/responses/report.public.response.d.ts +0 -1
- package/dist/types/interface/api/responses/user-billing.response.d.ts +45 -0
- package/dist/types/interface/index.d.ts +13 -3
- package/dist/types/interface/index.js +13 -3
- package/dist/types/interface/models/application.model.d.ts +1 -1
- package/dist/types/interface/models/atlas-group.model.d.ts +2 -2
- package/dist/types/interface/models/atlas-page.model.d.ts +2 -2
- package/dist/types/interface/models/atlas.model.d.ts +8 -5
- package/dist/types/interface/models/billing-account.model.d.ts +40 -0
- package/dist/types/interface/models/billing-account.model.js +2 -0
- package/dist/types/interface/models/billing-addon-template.model.d.ts +15 -0
- package/dist/types/interface/models/billing-addon-template.model.js +2 -0
- package/dist/types/interface/models/board-card-checklist.model.d.ts +1 -1
- package/dist/types/interface/models/board-card.model.d.ts +6 -6
- package/dist/types/interface/models/board-column.model.d.ts +1 -1
- package/dist/types/interface/models/board.model.d.ts +7 -4
- package/dist/types/interface/models/credit-transaction.model.d.ts +22 -0
- package/dist/types/interface/models/credit-transaction.model.js +2 -0
- package/dist/types/interface/models/draw.model.d.ts +3 -0
- package/dist/types/interface/models/gift-code-activation.model.d.ts +4 -3
- package/dist/types/interface/models/gift-code.model.d.ts +1 -1
- package/dist/types/interface/models/invoice.model.d.ts +26 -0
- package/dist/types/interface/models/invoice.model.js +2 -0
- package/dist/types/interface/models/memo.model.d.ts +3 -0
- package/dist/types/interface/models/organization-billing.model.d.ts +37 -0
- package/dist/types/interface/models/organization-billing.model.js +2 -0
- package/dist/types/interface/models/organization-member.model.d.ts +0 -1
- package/dist/types/interface/models/organization-project-quota.model.d.ts +15 -0
- package/dist/types/interface/models/organization-project-quota.model.js +2 -0
- package/dist/types/interface/models/organization-quota-alert.model.d.ts +11 -0
- package/dist/types/interface/models/organization-quota-alert.model.js +2 -0
- package/dist/types/interface/models/organization-service-quota.model.d.ts +13 -0
- package/dist/types/interface/models/organization-service-quota.model.js +2 -0
- package/dist/types/interface/models/organization.model.d.ts +7 -0
- package/dist/types/interface/models/plan-template.model.d.ts +29 -0
- package/dist/types/interface/models/plan-template.model.js +2 -0
- package/dist/types/interface/models/project-access.model.d.ts +5 -6
- package/dist/types/interface/models/project-api-key-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/project-api-key-application-access.model.js +2 -0
- package/dist/types/interface/models/project-api-key.model.d.ts +15 -0
- package/dist/types/interface/models/project-api-key.model.js +2 -0
- package/dist/types/interface/models/project.model.d.ts +8 -12
- package/dist/types/interface/models/quota-grant.model.d.ts +20 -0
- package/dist/types/interface/models/quota-grant.model.js +2 -0
- package/dist/types/interface/models/retrospective.model.d.ts +6 -3
- package/dist/types/interface/models/short-link.model.d.ts +4 -1
- package/dist/types/interface/models/team-project-access.model.d.ts +2 -0
- package/dist/types/interface/models/team-project-application-access.model.d.ts +13 -0
- package/dist/types/interface/models/team-project-application-access.model.js +2 -0
- package/dist/types/interface/models/team.model.d.ts +1 -1
- package/dist/types/interface/models/token-history.model.d.ts +2 -0
- package/dist/types/interface/models/usage-record.model.d.ts +24 -0
- package/dist/types/interface/models/usage-record.model.js +2 -0
- package/dist/types/interface/models/user-ticket-message.model.d.ts +1 -1
- package/dist/types/interface/models/user-ticket.model.d.ts +1 -1
- package/dist/types/interface/models/user.model.d.ts +16 -18
- package/dist/types/utils/onboarding.utils.d.ts +1 -6
- package/dist/types/utils/onboarding.utils.js +9 -5
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -1
- package/package.json +2 -1
- package/dist/api/user-credit-purchase.admin.api.d.ts +0 -7
- package/dist/api/user-credit-purchase.admin.api.js +0 -28
- package/dist/api/user-credit-purchase.api.d.ts +0 -3
- package/dist/api/user-credit-purchase.api.js +0 -14
- package/dist/api/user-transaction.admin.api.d.ts +0 -5
- package/dist/api/user-transaction.admin.api.js +0 -20
- package/dist/api/user-transaction.api.d.ts +0 -3
- package/dist/api/user-transaction.api.js +0 -14
- package/dist/expressions/index.d.ts +0 -5
- package/dist/expressions/index.js +0 -16
- package/dist/expressions/mapper.d.ts +0 -9
- package/dist/expressions/mapper.js +0 -90
- package/dist/expressions/parser.d.ts +0 -3
- package/dist/expressions/parser.js +0 -97
- package/dist/expressions/resolver.d.ts +0 -12
- package/dist/expressions/resolver.js +0 -88
- package/dist/expressions/types.d.ts +0 -36
- package/dist/types/enum/integration-type.enum.d.ts +0 -4
- package/dist/types/enum/integration-type.enum.js +0 -8
- package/dist/types/enum/invoice-status.enum.d.ts +0 -7
- package/dist/types/enum/invoice-status.enum.js +0 -11
- package/dist/types/enum/organization-role.enum.d.ts +0 -6
- package/dist/types/enum/organization-role.enum.js +0 -10
- package/dist/types/enum/organization-subscription-status.enum.d.ts +0 -7
- package/dist/types/enum/organization-subscription-status.enum.js +0 -11
- package/dist/types/enum/plan-billing-period.enum.d.ts +0 -4
- package/dist/types/enum/plan-billing-period.enum.js +0 -8
- package/dist/types/enum/plan-status.enum.d.ts +0 -4
- package/dist/types/enum/plan-status.enum.js +0 -8
- package/dist/types/enum/subscription-level.enum.d.ts +0 -72
- package/dist/types/enum/subscription-level.enum.js +0 -179
- package/dist/types/enum/usage-record-type.enum.d.ts +0 -8
- package/dist/types/enum/usage-record-type.enum.js +0 -12
- package/dist/types/enum/user-credit-purchase-payment-method.enum.d.ts +0 -3
- package/dist/types/enum/user-credit-purchase-payment-method.enum.js +0 -7
- package/dist/types/enum/user-credit-purchase-platform.enum.d.ts +0 -8
- package/dist/types/enum/user-credit-purchase-platform.enum.js +0 -12
- package/dist/types/enum/user-transaction-type.enum.d.ts +0 -14
- package/dist/types/enum/user-transaction-type.enum.js +0 -18
- package/dist/types/interface/api/requests/user-credit-purchase.admin.request.d.ts +0 -42
- package/dist/types/interface/api/requests/user-credit-purchase.request.d.ts +0 -9
- package/dist/types/interface/api/requests/user-transaction.admin.request.d.ts +0 -30
- package/dist/types/interface/api/requests/user-transaction.request.d.ts +0 -8
- package/dist/types/interface/api/responses/user-credit-purchase.admin.response.d.ts +0 -22
- package/dist/types/interface/api/responses/user-credit-purchase.response.d.ts +0 -8
- package/dist/types/interface/api/responses/user-transaction.admin.response.d.ts +0 -13
- package/dist/types/interface/api/responses/user-transaction.response.d.ts +0 -11
- package/dist/types/interface/models/subscription.model.d.ts +0 -16
- package/dist/types/interface/models/user-credit-purchase.model.d.ts +0 -22
- package/dist/types/interface/models/user-transaction.model.d.ts +0 -19
- package/dist/utils/organization-permission.utils.d.ts +0 -3
- package/dist/utils/organization-permission.utils.js +0 -36
- package/dist/utils/subscription.utils.d.ts +0 -6
- package/dist/utils/subscription.utils.js +0 -41
- package/dist/workflow/expression/expression-functions.utils.d.ts +0 -6
- package/dist/workflow/expression/expression-functions.utils.js +0 -61
- package/dist/workflow/expression/expression-mapper.d.ts +0 -11
- package/dist/workflow/expression/expression-mapper.js +0 -32
- package/dist/workflow/expression/expression-mapping.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-mapping.utils.js +0 -43
- package/dist/workflow/expression/expression-resolver.utils.d.ts +0 -3
- package/dist/workflow/expression/expression-resolver.utils.js +0 -54
- package/dist/workflow/expression/expression-tokenizer.utils.d.ts +0 -4
- package/dist/workflow/expression/expression-tokenizer.utils.js +0 -123
- package/dist/workflow/expression/expression.types.d.ts +0 -33
- package/dist/workflow/expression/expression.types.js +0 -17
- package/dist/workflow/expression/index.d.ts +0 -10
- package/dist/workflow/expression/index.js +0 -40
- package/dist/workflow/expression/workflow-resolver.d.ts +0 -9
- package/dist/workflow/expression/workflow-resolver.js +0 -102
- package/dist/workflow/expressions/functions/array.d.ts +0 -2
- package/dist/workflow/expressions/functions/array.js +0 -252
- package/dist/workflow/expressions/functions/crypto.d.ts +0 -2
- package/dist/workflow/expressions/functions/crypto.js +0 -101
- package/dist/workflow/expressions/functions/datetime.d.ts +0 -2
- package/dist/workflow/expressions/functions/datetime.js +0 -256
- package/dist/workflow/expressions/functions/index.d.ts +0 -7
- package/dist/workflow/expressions/functions/index.js +0 -46
- package/dist/workflow/expressions/functions/math.d.ts +0 -2
- package/dist/workflow/expressions/functions/math.js +0 -174
- package/dist/workflow/expressions/functions/string.d.ts +0 -2
- package/dist/workflow/expressions/functions/string.js +0 -301
- package/dist/workflow/expressions/functions/utility.d.ts +0 -2
- package/dist/workflow/expressions/functions/utility.js +0 -230
- package/dist/workflow/expressions/helpers.d.ts +0 -26
- package/dist/workflow/expressions/helpers.js +0 -132
- package/dist/workflow/expressions/index.d.ts +0 -15
- package/dist/workflow/expressions/index.js +0 -61
- package/dist/workflow/expressions/parser.d.ts +0 -8
- package/dist/workflow/expressions/parser.js +0 -436
- package/dist/workflow/expressions/pipes/array-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/array-pipes.js +0 -248
- package/dist/workflow/expressions/pipes/index.d.ts +0 -8
- package/dist/workflow/expressions/pipes/index.js +0 -40
- package/dist/workflow/expressions/pipes/object-pipes.d.ts +0 -2
- package/dist/workflow/expressions/pipes/object-pipes.js +0 -243
- package/dist/workflow/expressions/pipes/string-pipes.d.ts +0 -9
- package/dist/workflow/expressions/pipes/string-pipes.js +0 -178
- package/dist/workflow/expressions/resolver.d.ts +0 -8
- package/dist/workflow/expressions/resolver.js +0 -263
- package/dist/workflow/expressions/types.d.ts +0 -144
- package/dist/workflow/expressions/types.js +0 -33
- package/dist/workflow/index.d.ts +0 -1
- /package/dist/{expressions/types.js → types/interface/api/requests/billing-account.admin.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-credit-purchase.admin.request.js → billing-addon-template.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-credit-purchase.request.js → billing-plan.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-transaction.admin.request.js → organization-billing.request.js} +0 -0
- /package/dist/types/interface/api/requests/{user-transaction.request.js → project-api-key.request.js} +0 -0
- /package/dist/types/interface/api/{responses/user-credit-purchase.admin.response.js → requests/user-billing.request.js} +0 -0
- /package/dist/types/interface/api/responses/{user-credit-purchase.response.js → billing-account.admin.response.js} +0 -0
- /package/dist/types/interface/api/responses/{user-transaction.admin.response.js → billing-addon-template.response.js} +0 -0
- /package/dist/types/interface/api/responses/{user-transaction.response.js → billing-plan.response.js} +0 -0
- /package/dist/types/interface/{models/subscription.model.js → api/responses/organization-billing.response.js} +0 -0
- /package/dist/types/interface/{models/user-credit-purchase.model.js → api/responses/project-api-key.response.js} +0 -0
- /package/dist/types/interface/{models/user-transaction.model.js → api/responses/user-billing.response.js} +0 -0
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stringPipes = void 0;
|
|
4
|
-
exports.stringPipes = {
|
|
5
|
-
upper: {
|
|
6
|
-
name: 'upper',
|
|
7
|
-
description: 'Converts to uppercase',
|
|
8
|
-
category: 'string',
|
|
9
|
-
signature: 'upper',
|
|
10
|
-
examples: ['{{trigger.name | upper}}'],
|
|
11
|
-
execute: (value) => String(value).toUpperCase(),
|
|
12
|
-
},
|
|
13
|
-
lower: {
|
|
14
|
-
name: 'lower',
|
|
15
|
-
description: 'Converts to lowercase',
|
|
16
|
-
category: 'string',
|
|
17
|
-
signature: 'lower',
|
|
18
|
-
examples: ['{{trigger.email | lower}}'],
|
|
19
|
-
execute: (value) => String(value).toLowerCase(),
|
|
20
|
-
},
|
|
21
|
-
capitalize: {
|
|
22
|
-
name: 'capitalize',
|
|
23
|
-
description: 'Capitalizes the first letter',
|
|
24
|
-
category: 'string',
|
|
25
|
-
signature: 'capitalize',
|
|
26
|
-
examples: ['{{trigger.name | capitalize}}'],
|
|
27
|
-
execute: (value) => {
|
|
28
|
-
const str = String(value);
|
|
29
|
-
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
trim: {
|
|
33
|
-
name: 'trim',
|
|
34
|
-
description: 'Removes whitespace from both ends',
|
|
35
|
-
category: 'string',
|
|
36
|
-
signature: 'trim',
|
|
37
|
-
examples: ['{{trigger.input | trim}}'],
|
|
38
|
-
execute: (value) => String(value).trim(),
|
|
39
|
-
},
|
|
40
|
-
truncate: {
|
|
41
|
-
name: 'truncate',
|
|
42
|
-
description: 'Truncates a string to a specified length',
|
|
43
|
-
category: 'string',
|
|
44
|
-
signature: 'truncate(length)',
|
|
45
|
-
examples: ['{{trigger.description | truncate(100)}}'],
|
|
46
|
-
execute: (value, length) => {
|
|
47
|
-
const str = String(value);
|
|
48
|
-
const len = Number(length);
|
|
49
|
-
return str.length > len ? str.substring(0, len) + '...' : str;
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
replace: {
|
|
53
|
-
name: 'replace',
|
|
54
|
-
description: 'Replaces occurrences of a pattern',
|
|
55
|
-
category: 'string',
|
|
56
|
-
signature: 'replace(search, replacement)',
|
|
57
|
-
examples: ['{{trigger.text | replace("old", "new")}}'],
|
|
58
|
-
execute: (value, search, replacement) => {
|
|
59
|
-
const searchStr = String(search);
|
|
60
|
-
const replaceStr = String(replacement);
|
|
61
|
-
return String(value).replace(new RegExp(searchStr.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'g'), replaceStr);
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
split: {
|
|
65
|
-
name: 'split',
|
|
66
|
-
description: 'Splits a string into an array',
|
|
67
|
-
category: 'string',
|
|
68
|
-
signature: 'split(separator)',
|
|
69
|
-
examples: ['{{trigger.tags | split(",")}}'],
|
|
70
|
-
execute: (value, separator) => {
|
|
71
|
-
return String(value).split(String(separator));
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
substring: {
|
|
75
|
-
name: 'substring',
|
|
76
|
-
description: 'Extracts a substring',
|
|
77
|
-
category: 'string',
|
|
78
|
-
signature: 'substring(start, end?)',
|
|
79
|
-
examples: ['{{trigger.id | substring(0, 8)}}'],
|
|
80
|
-
execute: (value, start, end) => {
|
|
81
|
-
return String(value).substring(Number(start), end !== undefined ? Number(end) : undefined);
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
padStart: {
|
|
85
|
-
name: 'padStart',
|
|
86
|
-
description: 'Pads a string from the start',
|
|
87
|
-
category: 'string',
|
|
88
|
-
signature: 'padStart(length, padString?)',
|
|
89
|
-
examples: ['{{trigger.id | padStart(10, "0")}}'],
|
|
90
|
-
execute: (value, length, padString) => {
|
|
91
|
-
return String(value).padStart(Number(length), padString !== undefined ? String(padString) : ' ');
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
padEnd: {
|
|
95
|
-
name: 'padEnd',
|
|
96
|
-
description: 'Pads a string from the end',
|
|
97
|
-
category: 'string',
|
|
98
|
-
signature: 'padEnd(length, padString?)',
|
|
99
|
-
examples: ['{{trigger.code | padEnd(5, "X")}}'],
|
|
100
|
-
execute: (value, length, padString) => {
|
|
101
|
-
return String(value).padEnd(Number(length), padString !== undefined ? String(padString) : ' ');
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
repeat: {
|
|
105
|
-
name: 'repeat',
|
|
106
|
-
description: 'Repeats a string n times',
|
|
107
|
-
category: 'string',
|
|
108
|
-
signature: 'repeat(count)',
|
|
109
|
-
examples: ['{{trigger.char | repeat(3)}}'],
|
|
110
|
-
execute: (value, count) => {
|
|
111
|
-
return String(value).repeat(Number(count));
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
reverse: {
|
|
115
|
-
name: 'reverse',
|
|
116
|
-
description: 'Reverses a string',
|
|
117
|
-
category: 'string',
|
|
118
|
-
signature: 'reverse',
|
|
119
|
-
examples: ['{{trigger.text | reverse}}'],
|
|
120
|
-
execute: (value) => {
|
|
121
|
-
return String(value).split('').reverse().join('');
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
slugify: {
|
|
125
|
-
name: 'slugify',
|
|
126
|
-
description: 'Converts to URL-friendly slug',
|
|
127
|
-
category: 'string',
|
|
128
|
-
signature: 'slugify',
|
|
129
|
-
examples: ['{{trigger.title | slugify}}'],
|
|
130
|
-
execute: (value) => {
|
|
131
|
-
return String(value)
|
|
132
|
-
.toLowerCase()
|
|
133
|
-
.trim()
|
|
134
|
-
.replace(/[^\w\s-]/g, '')
|
|
135
|
-
.replace(/[\s_-]+/g, '-')
|
|
136
|
-
.replace(/^-+|-+$/g, '');
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
camelCase: {
|
|
140
|
-
name: 'camelCase',
|
|
141
|
-
description: 'Converts to camelCase',
|
|
142
|
-
category: 'string',
|
|
143
|
-
signature: 'camelCase',
|
|
144
|
-
examples: ['{{trigger.text | camelCase}}'],
|
|
145
|
-
execute: (value) => {
|
|
146
|
-
return String(value)
|
|
147
|
-
.replace(/[^\w\s]/g, '')
|
|
148
|
-
.replace(/\s+(.)/g, (_, char) => char.toUpperCase())
|
|
149
|
-
.replace(/^\w/, (char) => char.toLowerCase());
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
kebabCase: {
|
|
153
|
-
name: 'kebabCase',
|
|
154
|
-
description: 'Converts to kebab-case',
|
|
155
|
-
category: 'string',
|
|
156
|
-
signature: 'kebabCase',
|
|
157
|
-
examples: ['{{trigger.text | kebabCase}}'],
|
|
158
|
-
execute: (value) => {
|
|
159
|
-
return String(value)
|
|
160
|
-
.replace(/([a-z])([A-Z])/g, '$1-$2')
|
|
161
|
-
.replace(/[\s_]+/g, '-')
|
|
162
|
-
.toLowerCase();
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
snakeCase: {
|
|
166
|
-
name: 'snakeCase',
|
|
167
|
-
description: 'Converts to snake_case',
|
|
168
|
-
category: 'string',
|
|
169
|
-
signature: 'snakeCase',
|
|
170
|
-
examples: ['{{trigger.text | snakeCase}}'],
|
|
171
|
-
execute: (value) => {
|
|
172
|
-
return String(value)
|
|
173
|
-
.replace(/([a-z])([A-Z])/g, '$1_$2')
|
|
174
|
-
.replace(/[\s-]+/g, '_')
|
|
175
|
-
.toLowerCase();
|
|
176
|
-
},
|
|
177
|
-
},
|
|
178
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ParsedExpression, WorkflowContext } from './types';
|
|
2
|
-
export declare function buildResolverContext(workflowContext?: WorkflowContext): Record<string, unknown>;
|
|
3
|
-
export declare function resolvePathValue(path: string, context: Record<string, unknown>): unknown;
|
|
4
|
-
export declare function evaluateExpression(parsed: ParsedExpression, context: Record<string, unknown>, secretsMap?: Map<string, string>): unknown;
|
|
5
|
-
export declare function interpolateString(template: string, context: Record<string, unknown>, secretsMap?: Map<string, string>, options?: {
|
|
6
|
-
maskSecrets?: boolean;
|
|
7
|
-
}): string;
|
|
8
|
-
export declare function resolveExpression(expression: string, context: Record<string, unknown>, secretsMap?: Map<string, string>): unknown;
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveExpression = exports.interpolateString = exports.evaluateExpression = exports.resolvePathValue = exports.buildResolverContext = void 0;
|
|
4
|
-
const parser_1 = require("./parser");
|
|
5
|
-
const functions_1 = require("./functions");
|
|
6
|
-
const pipes_1 = require("./pipes");
|
|
7
|
-
function buildResolverContext(workflowContext) {
|
|
8
|
-
var _a;
|
|
9
|
-
if (!workflowContext) {
|
|
10
|
-
return {};
|
|
11
|
-
}
|
|
12
|
-
const context = {};
|
|
13
|
-
if (workflowContext.triggerData) {
|
|
14
|
-
context.trigger = workflowContext.triggerData;
|
|
15
|
-
context.triggerData = workflowContext.triggerData;
|
|
16
|
-
}
|
|
17
|
-
if (workflowContext.stepExecutions) {
|
|
18
|
-
const steps = {};
|
|
19
|
-
for (const [stepId, execution] of Object.entries(workflowContext.stepExecutions)) {
|
|
20
|
-
const step = (_a = workflowContext.steps) === null || _a === void 0 ? void 0 : _a.find((s) => s.id === stepId);
|
|
21
|
-
const stepKey = (step === null || step === void 0 ? void 0 : step.name) || stepId;
|
|
22
|
-
steps[stepKey] = execution.outputData;
|
|
23
|
-
}
|
|
24
|
-
context.steps = steps;
|
|
25
|
-
}
|
|
26
|
-
if (workflowContext.variables) {
|
|
27
|
-
context.variables = workflowContext.variables;
|
|
28
|
-
}
|
|
29
|
-
context.project = {
|
|
30
|
-
id: workflowContext.projectId,
|
|
31
|
-
...(workflowContext.projectName
|
|
32
|
-
? { name: workflowContext.projectName }
|
|
33
|
-
: {}),
|
|
34
|
-
};
|
|
35
|
-
if (workflowContext.workflowId) {
|
|
36
|
-
context.workflow = {
|
|
37
|
-
id: workflowContext.workflowId,
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
return context;
|
|
41
|
-
}
|
|
42
|
-
exports.buildResolverContext = buildResolverContext;
|
|
43
|
-
function resolvePathValue(path, context) {
|
|
44
|
-
const segments = (0, parser_1.parsePathSegments)(path);
|
|
45
|
-
let current = context;
|
|
46
|
-
for (const segment of segments) {
|
|
47
|
-
if (current === null || current === undefined) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
if (/^\d+$/.test(segment) && Array.isArray(current)) {
|
|
51
|
-
current = current[Number(segment)];
|
|
52
|
-
}
|
|
53
|
-
else if (typeof current === 'object') {
|
|
54
|
-
current = current[segment];
|
|
55
|
-
}
|
|
56
|
-
else {
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
return current;
|
|
61
|
-
}
|
|
62
|
-
exports.resolvePathValue = resolvePathValue;
|
|
63
|
-
function evaluateExpression(parsed, context, secretsMap) {
|
|
64
|
-
switch (parsed.type) {
|
|
65
|
-
case 'literal':
|
|
66
|
-
return parsed.literalValue;
|
|
67
|
-
case 'path':
|
|
68
|
-
return evaluatePathExpression(parsed, context, secretsMap);
|
|
69
|
-
case 'function':
|
|
70
|
-
return evaluateFunctionExpression(parsed, context, secretsMap);
|
|
71
|
-
case 'binary':
|
|
72
|
-
return evaluateBinaryExpression(parsed, context, secretsMap);
|
|
73
|
-
case 'unary':
|
|
74
|
-
return evaluateUnaryExpression(parsed, context, secretsMap);
|
|
75
|
-
case 'ternary':
|
|
76
|
-
return evaluateTernaryExpression(parsed, context, secretsMap);
|
|
77
|
-
case 'group':
|
|
78
|
-
return evaluateExpression(parsed.expression, context, secretsMap);
|
|
79
|
-
default:
|
|
80
|
-
return undefined;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.evaluateExpression = evaluateExpression;
|
|
84
|
-
function evaluatePathExpression(parsed, context, secretsMap) {
|
|
85
|
-
var _a;
|
|
86
|
-
if (parsed.source === 'secret' && secretsMap && parsed.path) {
|
|
87
|
-
const secretKey = parsed.path.replace('secret.', '');
|
|
88
|
-
let value = (_a = secretsMap.get(secretKey)) !== null && _a !== void 0 ? _a : `[Secret: ${secretKey}]`;
|
|
89
|
-
if (parsed.operations && parsed.operations.length > 0) {
|
|
90
|
-
for (const op of parsed.operations) {
|
|
91
|
-
try {
|
|
92
|
-
const resolvedArgs = op.args.map((arg) => {
|
|
93
|
-
if (typeof arg === 'string' && arg.includes('.')) {
|
|
94
|
-
const resolved = resolvePathValue(arg, context);
|
|
95
|
-
return resolved !== undefined ? resolved : arg;
|
|
96
|
-
}
|
|
97
|
-
return arg;
|
|
98
|
-
});
|
|
99
|
-
value = (0, pipes_1.executePipeOperation)(op.name, value, resolvedArgs);
|
|
100
|
-
}
|
|
101
|
-
catch (error) {
|
|
102
|
-
return `[Error: ${error.message}]`;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
return value;
|
|
107
|
-
}
|
|
108
|
-
let value = parsed.path ? resolvePathValue(parsed.path, context) : undefined;
|
|
109
|
-
if (parsed.operations && parsed.operations.length > 0) {
|
|
110
|
-
for (const op of parsed.operations) {
|
|
111
|
-
try {
|
|
112
|
-
const resolvedArgs = op.args.map((arg) => {
|
|
113
|
-
if (typeof arg === 'string' && arg.includes('.')) {
|
|
114
|
-
const resolved = resolvePathValue(arg, context);
|
|
115
|
-
return resolved !== undefined ? resolved : arg;
|
|
116
|
-
}
|
|
117
|
-
return arg;
|
|
118
|
-
});
|
|
119
|
-
value = (0, pipes_1.executePipeOperation)(op.name, value, resolvedArgs);
|
|
120
|
-
}
|
|
121
|
-
catch (error) {
|
|
122
|
-
return `[Error: ${error.message}]`;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
return value;
|
|
127
|
-
}
|
|
128
|
-
function evaluateFunctionExpression(parsed, context, secretsMap) {
|
|
129
|
-
if (!parsed.functionName) {
|
|
130
|
-
return undefined;
|
|
131
|
-
}
|
|
132
|
-
const resolvedArgs = (parsed.functionArgs || []).map((arg) => {
|
|
133
|
-
if (typeof arg === 'string' && arg.includes('.')) {
|
|
134
|
-
const resolved = resolvePathValue(arg, context);
|
|
135
|
-
return resolved !== undefined ? resolved : arg;
|
|
136
|
-
}
|
|
137
|
-
return arg;
|
|
138
|
-
});
|
|
139
|
-
try {
|
|
140
|
-
let value = (0, functions_1.executeFunction)(parsed.functionName, resolvedArgs);
|
|
141
|
-
if (parsed.operations && parsed.operations.length > 0) {
|
|
142
|
-
for (const op of parsed.operations) {
|
|
143
|
-
try {
|
|
144
|
-
const resolvedPipeArgs = op.args.map((arg) => {
|
|
145
|
-
if (typeof arg === 'string' && arg.includes('.')) {
|
|
146
|
-
const resolved = resolvePathValue(arg, context);
|
|
147
|
-
return resolved !== undefined ? resolved : arg;
|
|
148
|
-
}
|
|
149
|
-
return arg;
|
|
150
|
-
});
|
|
151
|
-
value = (0, pipes_1.executePipeOperation)(op.name, value, resolvedPipeArgs);
|
|
152
|
-
}
|
|
153
|
-
catch (error) {
|
|
154
|
-
return `[Error: ${error.message}]`;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
return value;
|
|
159
|
-
}
|
|
160
|
-
catch (error) {
|
|
161
|
-
return `[Error: ${error.message}]`;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
function evaluateBinaryExpression(parsed, context, secretsMap) {
|
|
165
|
-
const left = evaluateExpression(parsed.left, context, secretsMap);
|
|
166
|
-
const right = evaluateExpression(parsed.right, context, secretsMap);
|
|
167
|
-
switch (parsed.operator) {
|
|
168
|
-
case '+':
|
|
169
|
-
return left + right;
|
|
170
|
-
case '-':
|
|
171
|
-
return left - right;
|
|
172
|
-
case '*':
|
|
173
|
-
return left * right;
|
|
174
|
-
case '/':
|
|
175
|
-
return left / right;
|
|
176
|
-
case '%':
|
|
177
|
-
return left % right;
|
|
178
|
-
case '**':
|
|
179
|
-
return Math.pow(left, right);
|
|
180
|
-
case '==':
|
|
181
|
-
case '===':
|
|
182
|
-
return left === right;
|
|
183
|
-
case '!=':
|
|
184
|
-
case '!==':
|
|
185
|
-
return left !== right;
|
|
186
|
-
case '<':
|
|
187
|
-
return left < right;
|
|
188
|
-
case '>':
|
|
189
|
-
return left > right;
|
|
190
|
-
case '<=':
|
|
191
|
-
return left <= right;
|
|
192
|
-
case '>=':
|
|
193
|
-
return left >= right;
|
|
194
|
-
case '&&':
|
|
195
|
-
return left && right;
|
|
196
|
-
case '||':
|
|
197
|
-
return left || right;
|
|
198
|
-
default:
|
|
199
|
-
return undefined;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
function evaluateUnaryExpression(parsed, context, secretsMap) {
|
|
203
|
-
const operand = evaluateExpression(parsed.operand, context, secretsMap);
|
|
204
|
-
switch (parsed.operator) {
|
|
205
|
-
case '!':
|
|
206
|
-
return !operand;
|
|
207
|
-
case '-':
|
|
208
|
-
return -operand;
|
|
209
|
-
default:
|
|
210
|
-
return undefined;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
function evaluateTernaryExpression(parsed, context, secretsMap) {
|
|
214
|
-
const condition = evaluateExpression(parsed.condition, context, secretsMap);
|
|
215
|
-
return condition
|
|
216
|
-
? evaluateExpression(parsed.consequent, context, secretsMap)
|
|
217
|
-
: evaluateExpression(parsed.alternate, context, secretsMap);
|
|
218
|
-
}
|
|
219
|
-
function interpolateString(template, context, secretsMap, options = {}) {
|
|
220
|
-
const tokens = (0, parser_1.tokenizeTemplate)(template);
|
|
221
|
-
let result = '';
|
|
222
|
-
for (const token of tokens) {
|
|
223
|
-
if (token.type === 'text') {
|
|
224
|
-
result += token.value;
|
|
225
|
-
}
|
|
226
|
-
else if (token.type === 'expression') {
|
|
227
|
-
try {
|
|
228
|
-
const parsed = (0, parser_1.parseExpression)(token.value);
|
|
229
|
-
let value = evaluateExpression(parsed, context, secretsMap);
|
|
230
|
-
if (parsed.type === 'path' &&
|
|
231
|
-
parsed.source === 'secret' &&
|
|
232
|
-
options.maskSecrets) {
|
|
233
|
-
result += '••••••••';
|
|
234
|
-
}
|
|
235
|
-
else if (value !== undefined && value !== null) {
|
|
236
|
-
result +=
|
|
237
|
-
typeof value === 'object' ? JSON.stringify(value) : String(value);
|
|
238
|
-
}
|
|
239
|
-
else {
|
|
240
|
-
result += `{{${token.value}}}`;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
catch (error) {
|
|
244
|
-
result += `[Error: ${error.message}]`;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
return result;
|
|
249
|
-
}
|
|
250
|
-
exports.interpolateString = interpolateString;
|
|
251
|
-
function resolveExpression(expression, context, secretsMap) {
|
|
252
|
-
if (expression.includes('{{') && expression.includes('}}')) {
|
|
253
|
-
const tokens = (0, parser_1.tokenizeTemplate)(expression);
|
|
254
|
-
if (tokens.length === 1 && tokens[0].type === 'expression') {
|
|
255
|
-
const parsed = (0, parser_1.parseExpression)(tokens[0].value);
|
|
256
|
-
return evaluateExpression(parsed, context, secretsMap);
|
|
257
|
-
}
|
|
258
|
-
return interpolateString(expression, context, secretsMap);
|
|
259
|
-
}
|
|
260
|
-
const parsed = (0, parser_1.parseExpression)(expression);
|
|
261
|
-
return evaluateExpression(parsed, context, secretsMap);
|
|
262
|
-
}
|
|
263
|
-
exports.resolveExpression = resolveExpression;
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
export declare enum DataSourceType {
|
|
2
|
-
WORKFLOW_TRIGGER = "trigger",
|
|
3
|
-
WORKFLOW_STEPS = "steps",
|
|
4
|
-
WORKFLOW_VARIABLES = "variables",
|
|
5
|
-
IP_ADDRESSES = "ipAddress",
|
|
6
|
-
DOMAINS = "domain",
|
|
7
|
-
APPLICATIONS = "app",
|
|
8
|
-
SECRETS = "secret",
|
|
9
|
-
PROJECT = "project",
|
|
10
|
-
ENV = "env",
|
|
11
|
-
ABYSS_CONFIG = "abyss",
|
|
12
|
-
FUNCTIONS = "fn"
|
|
13
|
-
}
|
|
14
|
-
export declare const OPERATOR_PRECEDENCE: Record<string, number>;
|
|
15
|
-
export type ParsedExpression = PathExpression | FunctionExpression | BinaryExpression | UnaryExpression | TernaryExpression | LiteralExpression | GroupExpression;
|
|
16
|
-
export interface BaseExpression {
|
|
17
|
-
type: string;
|
|
18
|
-
isValid: boolean;
|
|
19
|
-
error?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface PathExpression extends BaseExpression {
|
|
22
|
-
type: 'path';
|
|
23
|
-
path: string;
|
|
24
|
-
source: DataSourceType | null;
|
|
25
|
-
operations?: PipeOperation[];
|
|
26
|
-
resolvedValue?: unknown;
|
|
27
|
-
}
|
|
28
|
-
export interface FunctionExpression extends BaseExpression {
|
|
29
|
-
type: 'function';
|
|
30
|
-
isFunction: true;
|
|
31
|
-
functionName: string;
|
|
32
|
-
functionArgs: unknown[];
|
|
33
|
-
operations?: PipeOperation[];
|
|
34
|
-
resolvedValue?: unknown;
|
|
35
|
-
}
|
|
36
|
-
export interface BinaryExpression extends BaseExpression {
|
|
37
|
-
type: 'binary';
|
|
38
|
-
operator: string;
|
|
39
|
-
left: ParsedExpression;
|
|
40
|
-
right: ParsedExpression;
|
|
41
|
-
}
|
|
42
|
-
export interface UnaryExpression extends BaseExpression {
|
|
43
|
-
type: 'unary';
|
|
44
|
-
operator: string;
|
|
45
|
-
operand: ParsedExpression;
|
|
46
|
-
}
|
|
47
|
-
export interface TernaryExpression extends BaseExpression {
|
|
48
|
-
type: 'ternary';
|
|
49
|
-
condition: ParsedExpression;
|
|
50
|
-
consequent: ParsedExpression;
|
|
51
|
-
alternate: ParsedExpression;
|
|
52
|
-
}
|
|
53
|
-
export interface LiteralExpression extends BaseExpression {
|
|
54
|
-
type: 'literal';
|
|
55
|
-
literalType: 'string' | 'number' | 'boolean' | 'null';
|
|
56
|
-
literalValue: unknown;
|
|
57
|
-
}
|
|
58
|
-
export interface GroupExpression extends BaseExpression {
|
|
59
|
-
type: 'group';
|
|
60
|
-
expression: ParsedExpression;
|
|
61
|
-
}
|
|
62
|
-
export interface PipeOperation {
|
|
63
|
-
name: string;
|
|
64
|
-
args: unknown[];
|
|
65
|
-
description?: string;
|
|
66
|
-
category?: OperationCategory;
|
|
67
|
-
}
|
|
68
|
-
export type OperationCategory = 'string' | 'array' | 'object' | 'number' | 'date' | 'encoding' | 'formatting';
|
|
69
|
-
export interface BuiltInFunction {
|
|
70
|
-
name: string;
|
|
71
|
-
description: string;
|
|
72
|
-
category: FunctionCategory;
|
|
73
|
-
signature: string;
|
|
74
|
-
args: FunctionArg[];
|
|
75
|
-
returnType: string;
|
|
76
|
-
examples: string[];
|
|
77
|
-
execute: (...args: unknown[]) => unknown;
|
|
78
|
-
}
|
|
79
|
-
export type FunctionCategory = 'datetime' | 'string' | 'math' | 'crypto' | 'array' | 'utility' | 'encoding';
|
|
80
|
-
export interface FunctionArg {
|
|
81
|
-
name: string;
|
|
82
|
-
type: string;
|
|
83
|
-
required: boolean;
|
|
84
|
-
description: string;
|
|
85
|
-
}
|
|
86
|
-
export interface WorkflowContext {
|
|
87
|
-
projectId: string;
|
|
88
|
-
projectName?: string;
|
|
89
|
-
workflowId?: string;
|
|
90
|
-
triggerData?: Record<string, unknown>;
|
|
91
|
-
stepExecutions?: Record<string, StepExecution>;
|
|
92
|
-
variables?: Record<string, unknown>;
|
|
93
|
-
steps?: WorkflowStep[];
|
|
94
|
-
}
|
|
95
|
-
export interface StepExecution {
|
|
96
|
-
stepId: string;
|
|
97
|
-
outputData: unknown;
|
|
98
|
-
status: 'success' | 'failed' | 'running' | 'pending';
|
|
99
|
-
startedAt?: Date;
|
|
100
|
-
completedAt?: Date;
|
|
101
|
-
error?: string;
|
|
102
|
-
}
|
|
103
|
-
export interface WorkflowStep {
|
|
104
|
-
id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
type: string;
|
|
107
|
-
config?: Record<string, unknown>;
|
|
108
|
-
}
|
|
109
|
-
export interface ExpressionToken {
|
|
110
|
-
type: 'text' | 'expression' | 'reference' | 'function' | 'error';
|
|
111
|
-
value: string;
|
|
112
|
-
rawValue: string;
|
|
113
|
-
start: number;
|
|
114
|
-
end: number;
|
|
115
|
-
parsed?: ParsedExpression;
|
|
116
|
-
isSecret?: boolean;
|
|
117
|
-
}
|
|
118
|
-
export interface ValidationResult {
|
|
119
|
-
isValid: boolean;
|
|
120
|
-
errors: ValidationError[];
|
|
121
|
-
warnings: ValidationWarning[];
|
|
122
|
-
}
|
|
123
|
-
export interface ValidationError {
|
|
124
|
-
type: 'error';
|
|
125
|
-
message: string;
|
|
126
|
-
start: number;
|
|
127
|
-
end: number;
|
|
128
|
-
path?: string;
|
|
129
|
-
}
|
|
130
|
-
export interface ValidationWarning {
|
|
131
|
-
type: 'warning';
|
|
132
|
-
message: string;
|
|
133
|
-
start: number;
|
|
134
|
-
end: number;
|
|
135
|
-
path?: string;
|
|
136
|
-
suggestion?: string;
|
|
137
|
-
}
|
|
138
|
-
export interface WorkflowResourceMapping {
|
|
139
|
-
source: DataSourceType;
|
|
140
|
-
resourceId: string;
|
|
141
|
-
resourceName: string;
|
|
142
|
-
displayPath: string;
|
|
143
|
-
savePath: string;
|
|
144
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OPERATOR_PRECEDENCE = exports.DataSourceType = void 0;
|
|
4
|
-
var DataSourceType;
|
|
5
|
-
(function (DataSourceType) {
|
|
6
|
-
DataSourceType["WORKFLOW_TRIGGER"] = "trigger";
|
|
7
|
-
DataSourceType["WORKFLOW_STEPS"] = "steps";
|
|
8
|
-
DataSourceType["WORKFLOW_VARIABLES"] = "variables";
|
|
9
|
-
DataSourceType["IP_ADDRESSES"] = "ipAddress";
|
|
10
|
-
DataSourceType["DOMAINS"] = "domain";
|
|
11
|
-
DataSourceType["APPLICATIONS"] = "app";
|
|
12
|
-
DataSourceType["SECRETS"] = "secret";
|
|
13
|
-
DataSourceType["PROJECT"] = "project";
|
|
14
|
-
DataSourceType["ENV"] = "env";
|
|
15
|
-
DataSourceType["ABYSS_CONFIG"] = "abyss";
|
|
16
|
-
DataSourceType["FUNCTIONS"] = "fn";
|
|
17
|
-
})(DataSourceType || (exports.DataSourceType = DataSourceType = {}));
|
|
18
|
-
exports.OPERATOR_PRECEDENCE = {
|
|
19
|
-
'||': 1,
|
|
20
|
-
'&&': 2,
|
|
21
|
-
'==': 3,
|
|
22
|
-
'!=': 3,
|
|
23
|
-
'<': 4,
|
|
24
|
-
'>': 4,
|
|
25
|
-
'<=': 4,
|
|
26
|
-
'>=': 4,
|
|
27
|
-
'+': 5,
|
|
28
|
-
'-': 5,
|
|
29
|
-
'*': 6,
|
|
30
|
-
'/': 6,
|
|
31
|
-
'%': 6,
|
|
32
|
-
'**': 7,
|
|
33
|
-
};
|
package/dist/workflow/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './expressions';
|
/package/dist/{expressions/types.js → types/interface/api/requests/billing-account.admin.request.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|