-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
channels-1094 #2024
Closed
Closed
channels-1094 #2024
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
28db0aa
refactor: Refactoring the name for dataFeedCache to be
cogwizzle cf0b33d
fix: Changing the variable name back.
cogwizzle 5496895
chore: Linter.
cogwizzle b792860
chore: Minor tweak to syntax to make it more clear.
cogwizzle 4899aeb
feat: Adding cache logic to message send performer.
cogwizzle 8ee70f6
refactor: Renaming maxResponseSizeBytes to maxValueSizeBytes.
cogwizzle b478bf1
refactor: Only storing status code instead of full response.
cogwizzle 255dba8
feat: Adding property retry to CustomError.
cogwizzle 837380f
feat: Changing the downstream logic to support partial DA successes.
cogwizzle a616a3f
fix: Type mismatch.
cogwizzle e758ce1
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 631df68
fix: Fixing construction of the EngageActionPerformer.
cogwizzle 3244334
fix: Attempt to update type issue.
cogwizzle 7ddc631
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 522a103
fix: Fixing type issue.
cogwizzle 2d5c75f
chore: Updating the core version.
cogwizzle b8a48fd
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 3221f34
feat: Updating the actions-core package.
cogwizzle 761b0b9
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle f5a2997
feat: Creating a canary script so that publishing canary versions of the
cogwizzle 6f55f20
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 26faeb8
feat: Updating test utilities to be easier to use.
cogwizzle f7cc09c
fix: Adding engageDestinationCache that won't break the test.
cogwizzle 1a7fcab
fix: Updating the max bundle size.
cogwizzle e6d18de
feat: Increasing the size limit.
cogwizzle 5c86514
fix: Updating broken test.
cogwizzle 7982eb9
feat: Implementing a more simple serialization than JSON as to not block
cogwizzle 47e6208
feat: Adding an info message that tracks if the cache was able to find
cogwizzle 121afa9
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 605cd2f
fix: Fixing a type issue with the MessageSendPerformer and the
cogwizzle fcb020b
feat: Updating yarn file.
cogwizzle 83a201b
feat: Adding logging for caching and reloading from the cache.
cogwizzle 72217d7
fix: Fixing dependency.
cogwizzle 3eb5fda
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 516921b
chore: Updating package.
cogwizzle 4ea3d45
chore: canary.
cogwizzle 779c533
feat: Updating the actions-core to new canary build.
cogwizzle 4572060
fix: Attempting to update dependencies.
cogwizzle a54ae36
fix: Revering change.
cogwizzle e8e52e6
feat: Updating the shared package.
cogwizzle 5e59f18
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle b22ecf5
feat: Yarn.lock.
cogwizzle cccddf9
fix: Empty message. I hate lerna.
cogwizzle 7ef8179
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 8b77355
chore: Updating version of core.
cogwizzle 5357d3f
fix: Fixing serialization bugs so that the cache works as expected.
cogwizzle a9d8806
chore: Updating version.
cogwizzle d970343
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle f960e80
chore: Updating verison.
cogwizzle 745cf43
chore: Updating core.
cogwizzle 1aa9695
chore: Updating lock.
cogwizzle 0adc2ac
refactor: Updating plain text.
cogwizzle 8ce1549
chore: Adding logging for better debugging.
cogwizzle c1d40d2
chore: Updating packages.
cogwizzle 0d450e2
Merge branch 'main' of ssh://github.com/segmentio/action-destinations…
cogwizzle 90ee709
feat: Adding additional logging.
cogwizzle 04c4575
chore: Update the version.
cogwizzle c76c722
Merge remote-tracking branch 'origin/main' into channels-1094
cogwizzle 3df6a9b
channels-1200 fixing stats for Channels-1094 (#2316)
pmunin 79518a7
fix: Reverting package.json.
cogwizzle 2bc39ce
Merge branch 'channels-1094' of ssh://github.com/segmentio/action-des…
cogwizzle c0a27d4
fix: Fixing duplicate commands.
cogwizzle c7b272e
fix: Reverting webpack change.
cogwizzle 42da15a
fix: Reverting change.
cogwizzle 591c5b9
reverting irrelevant changes
pmunin f60d4e2
Merge remote-tracking branch 'refs/remotes/origin/channels-1094' into…
pmunin 41c9de1
reverting irrelevant changes
pmunin ad7298c
fix: Reverting changes.
cogwizzle e0e4c4c
Merge branch 'channels-1094' of ssh://github.com/segmentio/action-des…
cogwizzle 5222383
fix: Reverting changes.
cogwizzle 133d08a
fix: Reverting changes.
cogwizzle b6ada52
fix: Reverting changes.
cogwizzle 55225b0
Merge remote-tracking branch 'origin/main' into channels-1094
pmunin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { StateContext, Logger, StatsContext, TransactionContext, DataFeedCache, ActionHookType } from './index' | ||
import { StateContext, Logger, StatsContext, TransactionContext, EngageDestinationCache, ActionHookType } from './index' | ||
import type { RequestOptions } from '../request-client' | ||
import type { JSONObject } from '../json-object' | ||
import { AuthTokens } from './parse-settings' | ||
|
@@ -20,7 +20,9 @@ export interface ExecuteInput< | |
Settings, | ||
Payload, | ||
AudienceSettings = unknown, | ||
/* eslint-disable-next-line @typescript-eslint/no-explicit-any -- Expected any. */ | ||
ActionHookInputs = any, | ||
/* eslint-disable-next-line @typescript-eslint/no-explicit-any -- Expected any. */ | ||
ActionHookOutputs = any | ||
> { | ||
/** The subscription mapping definition */ | ||
|
@@ -39,15 +41,17 @@ export interface ExecuteInput< | |
page?: string | ||
/** The data needed in OAuth requests */ | ||
readonly auth?: AuthTokens | ||
/** | ||
* The features available in the request based on the customer's sourceID; | ||
* `features`,`stats`, `logger` , `transactionContext` and `stateContext` are for internal Twilio/Segment use only. | ||
*/ | ||
/** Engage internal use only. DO NOT USE. */ | ||
readonly features?: Features | ||
Comment on lines
-55
to
+57
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Broke this comment apart so that we could get language server support for using each property in the shape of this object. |
||
/** Engage internal use only. DO NOT USE. */ | ||
readonly statsContext?: StatsContext | ||
/** Engage internal use only. DO NOT USE. */ | ||
readonly logger?: Logger | ||
readonly dataFeedCache?: DataFeedCache | ||
/** Engage internal use only. DO NOT USE. */ | ||
readonly engageDestinationCache?: EngageDestinationCache | ||
/** Engage internal use only. DO NOT USE. */ | ||
readonly transactionContext?: TransactionContext | ||
/** Engage internal use only. DO NOT USE. */ | ||
readonly stateContext?: StateContext | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broke this comment apart so that we could get language server support for using each property in the shape of this object.