Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trigger.dev/core

Package Overview
Dependencies
Maintainers
4
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trigger.dev/core - npm Package Compare versions

Comparing version 0.0.0-statuses-20230921210707 to 0.0.0-zod-decouple-20230922213650

39

dist/index.js

@@ -131,2 +131,3 @@ "use strict";

RunJobErrorSchema: () => RunJobErrorSchema,
RunJobInvalidPayloadErrorSchema: () => RunJobInvalidPayloadErrorSchema,
RunJobResponseSchema: () => RunJobResponseSchema,

@@ -136,2 +137,3 @@ RunJobResumeWithTaskSchema: () => RunJobResumeWithTaskSchema,

RunJobSuccessSchema: () => RunJobSuccessSchema,
RunJobUnresolvedAuthErrorSchema: () => RunJobUnresolvedAuthErrorSchema,
RunSourceContextSchema: () => RunSourceContextSchema,

@@ -148,2 +150,3 @@ RunStatusSchema: () => RunStatusSchema,

ScheduledTriggerMetadataSchema: () => ScheduledTriggerMetadataSchema,
SchemaErrorSchema: () => SchemaErrorSchema,
SendEventBodySchema: () => SendEventBodySchema,

@@ -351,2 +354,6 @@ SendEventOptionsSchema: () => SendEventOptionsSchema,

});
var SchemaErrorSchema = import_zod.z.object({
path: import_zod.z.array(import_zod.z.string()),
message: import_zod.z.string()
});

@@ -434,3 +441,4 @@ // src/schemas/eventFilter.ts

type: import_zod3.z.enum([
"oauth2"
"oauth2",
"apiKey"
]),

@@ -451,3 +459,4 @@ accessToken: import_zod3.z.string(),

"HOSTED",
"LOCAL"
"LOCAL",
"RESOLVER"
])

@@ -525,2 +534,4 @@ });

options: CronOptionsSchema,
/** An optional Account ID to associate with runs triggered by this interval */
accountId: import_zod6.z.string().optional(),
metadata: import_zod6.z.any()

@@ -533,2 +544,4 @@ });

options: IntervalOptionsSchema,
/** An optional Account ID to associate with runs triggered by this interval */
accountId: import_zod6.z.string().optional(),
/** Any additional metadata about the schedule. */

@@ -668,3 +681,5 @@ metadata: import_zod6.z.any()

import_zod10.z.literal("ABORTED"),
import_zod10.z.literal("CANCELED")
import_zod10.z.literal("CANCELED"),
import_zod10.z.literal("UNRESOLVED_AUTH"),
import_zod10.z.literal("INVALID_PAYLOAD")
]);

@@ -1056,2 +1071,13 @@ var RunTaskSchema = import_zod10.z.object({

});
var RunJobInvalidPayloadErrorSchema = import_zod11.z.object({
status: import_zod11.z.literal("INVALID_PAYLOAD"),
errors: import_zod11.z.array(SchemaErrorSchema)
});
var RunJobUnresolvedAuthErrorSchema = import_zod11.z.object({
status: import_zod11.z.literal("UNRESOLVED_AUTH_ERROR"),
issues: import_zod11.z.record(import_zod11.z.object({
id: import_zod11.z.string(),
error: import_zod11.z.string()
}))
});
var RunJobResumeWithTaskSchema = import_zod11.z.object({

@@ -1077,2 +1103,4 @@ status: import_zod11.z.literal("RESUME_WITH_TASK"),

RunJobErrorSchema,
RunJobUnresolvedAuthErrorSchema,
RunJobInvalidPayloadErrorSchema,
RunJobResumeWithTaskSchema,

@@ -1228,3 +1256,4 @@ RunJobRetryWithTaskSchema,

rule: EventRuleSchema,
source: SourceMetadataV2Schema
source: SourceMetadataV2Schema,
accountId: import_zod11.z.string().optional()
});

@@ -1242,3 +1271,3 @@ var InitializeTriggerBodySchema = import_zod11.z.object({

metadata: import_zod11.z.any(),
/** This will be used by the Trigger.dev Connect feature, which is coming soon. */
/** An optional Account ID to associate with runs triggered by this schedule */
accountId: import_zod11.z.string().optional()

@@ -1245,0 +1274,0 @@ });

2

package.json
{
"name": "@trigger.dev/core",
"version": "0.0.0-statuses-20230921210707",
"version": "0.0.0-zod-decouple-20230922213650",
"description": "Core code used across the Trigger.dev SDK and platform",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc