npm package diff
Package: @forge/events
Versions: 2.0.1-next.0 - 2.0.1-next.1
File: package/src/text.ts
Index: package/src/text.ts
===================================================================
--- package/src/text.ts
+++ package/src/text.ts
@@ -1,17 +0,0 @@
-export const Text = {
- error: {
- invalidQueueName: `Queue names can only contain alphanumeric characters, dashes and underscores.`,
- invalidEvent: `Event must be an object.`,
- invalidEventBody: `Event body must be an object.`,
- invalidDelayInSecondsSetting: `The delayInSeconds setting must be between 0 and 900.`,
- maxEventsAllowed: (maxEventsCount: number): string =>
- `This push contains more than the ${maxEventsCount} events allowed.`,
- maxPayloadAllowed: (maxPayloadSize: number): string => `The maximum payload size is ${maxPayloadSize}KB.`,
- noEventsPushed: `No events pushed.`,
- rateLimitError: `Too many requests.`,
- invocationLimitReachedError: `The limit on cyclic invocation has been reached.`,
- jobIdEmpty: `jobId cannot be empty.`,
- jobDoesNotExit: (jobId: string, queueName: string): string =>
- `The job ${jobId} was not found for the queue ${queueName}.`
- }
-};