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

@fernapi/api

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fernapi/api - npm Package Compare versions

Comparing version 0.1.6 to 1.1.11

lib/model/fern/NamedType.d.ts

4

lib/model/fern/BaseService.d.ts

@@ -1,7 +0,7 @@

import { TypeName } from "./TypeName";
import { NamedType } from "./NamedType";
import { WithDocs } from "./WithDocs";
export interface BaseService extends WithDocs {
name: TypeName;
name: NamedType;
displayName: string;
basePath: string;
}

@@ -18,2 +18,3 @@ export type { AliasTypeDefinition } from "./AliasTypeDefinition";

export type { MapType } from "./MapType";
export type { NamedType } from "./NamedType";
export type { ObjectField } from "./ObjectField";

@@ -26,3 +27,2 @@ export type { ObjectTypeDefinition } from "./ObjectTypeDefinition";

export type { TypeDefinition } from "./TypeDefinition";
export type { TypeName } from "./TypeName";
export { TypeReference } from "./TypeReference";

@@ -29,0 +29,0 @@ export type { UnionTypeDefinition } from "./UnionTypeDefinition";

@@ -0,7 +1,7 @@

import { NamedType } from "./NamedType";
import { ObjectField } from "./ObjectField";
import { TypeName } from "./TypeName";
export interface ObjectTypeDefinition {
/** A list of other types to inherit from */
extends: TypeName[];
extends: NamedType[];
fields: ObjectField[];
}

@@ -0,3 +1,3 @@

import { NamedType } from "./NamedType";
import { Type } from "./Type";
import { TypeName } from "./TypeName";
import { WithDocs } from "./WithDocs";

@@ -8,4 +8,4 @@ /**

export interface TypeDefinition extends WithDocs {
name: TypeName;
name: NamedType;
shape: Type;
}
import { ContainerType } from "./ContainerType";
import { NamedType } from "./NamedType";
import { PrimitiveType } from "./PrimitiveType";
import { TypeName } from "./TypeName";
export declare type TypeReference = TypeReference.Named | TypeReference.Primitive | TypeReference.Container | TypeReference.Void;
export declare namespace TypeReference {
interface Named extends TypeName {
interface Named extends NamedType {
type: "named";

@@ -21,3 +21,3 @@ }

interface Visitor<R> {
named: (value: TypeName) => R;
named: (value: NamedType) => R;
primitive: (value: PrimitiveType) => R;

@@ -24,0 +24,0 @@ container: (value: ContainerType) => R;

{
"name": "@fernapi/api",
"version": "0.1.6",
"version": "1.1.11",
"main": "lib/index.js",

@@ -13,2 +13,3 @@ "types": "lib/index.d.ts",

},
"dependencies": {},
"devDependencies": {

@@ -15,0 +16,0 @@ "typescript": "^4.6.3"

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