@stackone/core 1.71.1 → 1.72.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/dist/index.d.mts +20 -1
- package/dist/index.d.ts +20 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ZodType, z } from "@stackone/utils";
|
|
2
|
+
import { IOlapClient } from "@stackone/olap";
|
|
2
3
|
import http from "node:http";
|
|
3
4
|
import https from "node:https";
|
|
4
5
|
import * as zod_v40 from "zod/v4";
|
|
@@ -741,6 +742,21 @@ type Authentication = {
|
|
|
741
742
|
};
|
|
742
743
|
};
|
|
743
744
|
//#endregion
|
|
745
|
+
//#region src/settings/types.d.ts
|
|
746
|
+
type Settings = {
|
|
747
|
+
olap: OlapSettings;
|
|
748
|
+
};
|
|
749
|
+
type OlapSettings = {
|
|
750
|
+
logs?: {
|
|
751
|
+
enabled: boolean;
|
|
752
|
+
};
|
|
753
|
+
advanced?: {
|
|
754
|
+
enabled?: boolean;
|
|
755
|
+
ttl?: number;
|
|
756
|
+
errorsOnly?: boolean;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
//#endregion
|
|
744
760
|
//#region src/blocks/types.d.ts
|
|
745
761
|
type Block = {
|
|
746
762
|
inputs?: {
|
|
@@ -751,6 +767,8 @@ type Block = {
|
|
|
751
767
|
debug?: DebugParams;
|
|
752
768
|
steps?: StepsSnapshots;
|
|
753
769
|
httpClient?: IHttpClient;
|
|
770
|
+
olapClient?: IOlapClient;
|
|
771
|
+
settings?: Settings;
|
|
754
772
|
logger?: ILogger;
|
|
755
773
|
operation?: Operation;
|
|
756
774
|
credentials?: Credentials;
|
|
@@ -774,6 +792,7 @@ type BlockContext = {
|
|
|
774
792
|
operationType: OperationType;
|
|
775
793
|
authenticationType: string;
|
|
776
794
|
environment: string;
|
|
795
|
+
actionRunId?: string;
|
|
777
796
|
service: string;
|
|
778
797
|
resource: string;
|
|
779
798
|
subResource?: string;
|
|
@@ -889,4 +908,4 @@ type Account = {
|
|
|
889
908
|
projectSecureId: string;
|
|
890
909
|
};
|
|
891
910
|
//#endregion
|
|
892
|
-
export { AUTHENTICATION_SCHEMA, type Account, type Assets, type Authentication, type AuthenticationConfig, type AuthenticationField, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, CoreError, type Cursor, type FieldConfig, type Input, type InputLocation, type Operation, type OperationResponse, type OperationType, type Schema, type SchemaField, type Step, type StepFunction, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type SupportConfig, type TestOperationConfig, areCursorsEqual, decodeCompositeId, encodeCompositeId, expandCursor, getCategoryDetails, isCompositeId, isCoreError, isCursorEmpty, isValidCategory, minifyCursor, updateCursor };
|
|
911
|
+
export { AUTHENTICATION_SCHEMA, type Account, type Assets, type Authentication, type AuthenticationConfig, type AuthenticationField, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, CoreError, type Cursor, type FieldConfig, type Input, type InputLocation, type Operation, type OperationResponse, type OperationType, type Schema, type SchemaField, type Settings, type Step, type StepFunction, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type SupportConfig, type TestOperationConfig, areCursorsEqual, decodeCompositeId, encodeCompositeId, expandCursor, getCategoryDetails, isCompositeId, isCoreError, isCursorEmpty, isValidCategory, minifyCursor, updateCursor };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IOlapClient } from "@stackone/olap";
|
|
1
2
|
import { ZodType, z } from "@stackone/utils";
|
|
2
3
|
import http from "node:http";
|
|
3
4
|
import https from "node:https";
|
|
@@ -741,6 +742,21 @@ type Authentication = {
|
|
|
741
742
|
};
|
|
742
743
|
};
|
|
743
744
|
//#endregion
|
|
745
|
+
//#region src/settings/types.d.ts
|
|
746
|
+
type Settings = {
|
|
747
|
+
olap: OlapSettings;
|
|
748
|
+
};
|
|
749
|
+
type OlapSettings = {
|
|
750
|
+
logs?: {
|
|
751
|
+
enabled: boolean;
|
|
752
|
+
};
|
|
753
|
+
advanced?: {
|
|
754
|
+
enabled?: boolean;
|
|
755
|
+
ttl?: number;
|
|
756
|
+
errorsOnly?: boolean;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
//#endregion
|
|
744
760
|
//#region src/blocks/types.d.ts
|
|
745
761
|
type Block = {
|
|
746
762
|
inputs?: {
|
|
@@ -751,6 +767,8 @@ type Block = {
|
|
|
751
767
|
debug?: DebugParams;
|
|
752
768
|
steps?: StepsSnapshots;
|
|
753
769
|
httpClient?: IHttpClient;
|
|
770
|
+
olapClient?: IOlapClient;
|
|
771
|
+
settings?: Settings;
|
|
754
772
|
logger?: ILogger;
|
|
755
773
|
operation?: Operation;
|
|
756
774
|
credentials?: Credentials;
|
|
@@ -774,6 +792,7 @@ type BlockContext = {
|
|
|
774
792
|
operationType: OperationType;
|
|
775
793
|
authenticationType: string;
|
|
776
794
|
environment: string;
|
|
795
|
+
actionRunId?: string;
|
|
777
796
|
service: string;
|
|
778
797
|
resource: string;
|
|
779
798
|
subResource?: string;
|
|
@@ -889,4 +908,4 @@ type Account = {
|
|
|
889
908
|
projectSecureId: string;
|
|
890
909
|
};
|
|
891
910
|
//#endregion
|
|
892
|
-
export { AUTHENTICATION_SCHEMA, type Account, type Assets, type Authentication, type AuthenticationConfig, type AuthenticationField, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, CoreError, type Cursor, type FieldConfig, type Input, type InputLocation, type Operation, type OperationResponse, type OperationType, type Schema, type SchemaField, type Step, type StepFunction, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type SupportConfig, type TestOperationConfig, areCursorsEqual, decodeCompositeId, encodeCompositeId, expandCursor, getCategoryDetails, isCompositeId, isCoreError, isCursorEmpty, isValidCategory, minifyCursor, updateCursor };
|
|
911
|
+
export { AUTHENTICATION_SCHEMA, type Account, type Assets, type Authentication, type AuthenticationConfig, type AuthenticationField, type Block, type BlockContext, type BlockIndexedRecord, COMPOSITE_ID_LATEST_VERSION, type Category, type CompositeIdentifier, type CompositeIdentifierConfig, type CompositeIdentifierConnectorConfig, type Connector, CoreError, type Cursor, type FieldConfig, type Input, type InputLocation, type Operation, type OperationResponse, type OperationType, type Schema, type SchemaField, type Settings, type Step, type StepFunction, StepFunctionName, type StepFunctionOutput, type StepFunctionParams, StepFunctionsFactory, stepFunctions as StepFunctionsRegistry, type StepsSnapshots, type SupportConfig, type TestOperationConfig, areCursorsEqual, decodeCompositeId, encodeCompositeId, expandCursor, getCategoryDetails, isCompositeId, isCoreError, isCursorEmpty, isValidCategory, minifyCursor, updateCursor };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackone/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.72.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -42,11 +42,12 @@
|
|
|
42
42
|
"license": "ISC",
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@stackone/expressions": "*",
|
|
45
|
+
"@stackone/olap": "*",
|
|
45
46
|
"@stackone/transport": "*",
|
|
46
47
|
"@stackone/utils": "*"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"tsdown": "
|
|
50
|
+
"tsdown": "0.12.9"
|
|
50
51
|
},
|
|
51
52
|
"tsdown": {
|
|
52
53
|
"dts": true,
|