New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dosgato/templating

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dosgato/templating - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

9

dist/apitemplate.d.ts
import { PageRecord, ComponentData, PageData } from './component.js';
import { LinkDefinition } from './links.js';
export declare type APITemplateType = 'page' | 'component' | 'data';
declare enum MessageType {
export declare enum ValidationMessageType {
ERROR = "error",

@@ -9,4 +9,4 @@ WARNING = "warning",

}
interface Feedback {
type: `${MessageType}`;
export interface ValidationFeedback {
type: `${ValidationMessageType}`;
path?: string;

@@ -70,3 +70,3 @@ message: string;

*/
validate: (data: ComponentData, query: <T>(query: string, variables?: any) => Promise<T>, page: PageData, path: string) => Promise<Feedback[]>;
validate: (data: ComponentData, query: <T>(query: string, variables?: any) => Promise<T>, page: PageData, path: string) => Promise<ValidationFeedback[]>;
/**

@@ -122,2 +122,1 @@ * Hard-coded properties that may be set on page templates to influence the rendering of

}): string[];
export {};
import { stopwords } from './stopwords.js';
var MessageType;
(function (MessageType) {
MessageType["ERROR"] = "error";
MessageType["WARNING"] = "warning";
MessageType["SUCCESS"] = "success";
})(MessageType || (MessageType = {}));
export var ValidationMessageType;
(function (ValidationMessageType) {
ValidationMessageType["ERROR"] = "error";
ValidationMessageType["WARNING"] = "warning";
ValidationMessageType["SUCCESS"] = "success";
})(ValidationMessageType || (ValidationMessageType = {}));
/**

@@ -9,0 +9,0 @@ * This function is used by API template definitions to help them identify links inside large blocks

{
"name": "@dosgato/templating",
"version": "0.0.25",
"version": "0.0.26",
"description": "A library to support building templates for dosgato CMS.",

@@ -5,0 +5,0 @@ "type": "module",

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