@rallie/core
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -1,2 +0,2 @@ | ||
import { LifecyleCallbackType, DependencyType, RelateType } from '../types'; | ||
import type { LifecyleCallbackType, DependencyType, RelateType } from '../types'; | ||
export declare class App { | ||
@@ -3,0 +3,0 @@ name: string; |
import { Socket } from './socket'; | ||
import { App } from './app'; | ||
import { MiddlewareFnType, ConfType } from '../types'; | ||
import type { MiddlewareFnType, ConfType } from '../types'; | ||
export declare class Bus { | ||
@@ -5,0 +5,0 @@ private name; |
@@ -1,2 +0,2 @@ | ||
import { CallbackType } from '../types'; | ||
import type { CallbackType } from '../types'; | ||
export declare class EventEmitter { | ||
@@ -3,0 +3,0 @@ private broadcastEvents; |
@@ -1,5 +0,5 @@ | ||
import { ScriptType, LinkType } from '../types'; | ||
import type { ScriptType, LinkType } from '../types'; | ||
export declare const loadScript: (scriptDeclare: ScriptType) => Promise<void>; | ||
export declare const loadLink: (linkDeclare: LinkType) => void; | ||
export declare const fetchScript: (fetch: ((input: RequestInfo, init?: RequestInit) => Promise<Response>) & typeof fetch) => (src: string) => Promise<string>; | ||
export declare const fetchScript: (fetch: ((input: RequestInfo, init?: RequestInit) => Promise<Response>) & typeof fetch) => (script: ScriptType) => Promise<string>; | ||
export declare const excuteCode: (code: string) => void; | ||
@@ -9,5 +9,5 @@ declare const _default: { | ||
loadLink: (linkDeclare: LinkType) => void; | ||
fetchScript: (fetch: ((input: RequestInfo, init?: RequestInit) => Promise<Response>) & typeof fetch) => (src: string) => Promise<string>; | ||
fetchScript: (fetch: ((input: RequestInfo, init?: RequestInit) => Promise<Response>) & typeof fetch) => (script: ScriptType) => Promise<string>; | ||
excuteCode: (code: string) => void; | ||
}; | ||
export default _default; |
@@ -1,3 +0,3 @@ | ||
import { EventEmitter } from './event-emitter'; | ||
import { CallbackType, StoresType } from '../types'; | ||
import type { EventEmitter } from './event-emitter'; | ||
import type { CallbackType, StoresType } from '../types'; | ||
import { Watcher } from './watcher'; | ||
@@ -4,0 +4,0 @@ export declare class Socket { |
@@ -1,2 +0,2 @@ | ||
import { MiddlewareFnType, NextFnType, ContextType, DependencyType, RelateType } from '../types'; | ||
import type { MiddlewareFnType, NextFnType, ContextType, DependencyType, RelateType } from '../types'; | ||
export declare const Errors: { | ||
@@ -19,3 +19,2 @@ removeNonExistedBroadcast: (eventName: string) => string; | ||
duplicatedBus: (name: string) => string; | ||
invalidResource: (asset: string) => string; | ||
bootstrapTimeout: (appName: string, time: number) => string; | ||
@@ -22,0 +21,0 @@ multipleCalledNextFn: () => string; |
@@ -1,2 +0,2 @@ | ||
import { StoresType } from '../types'; | ||
import type { StoresType } from '../types'; | ||
export declare class Watcher<T> { | ||
@@ -3,0 +3,0 @@ private namespace; |
@@ -7,4 +7,4 @@ import { Socket } from './lib/socket'; | ||
export declare type AssetsConfigType = Record<string, { | ||
js?: Array<Partial<HTMLScriptElement> | string>; | ||
css?: Array<Partial<HTMLLinkElement> | string>; | ||
js?: Array<ScriptType>; | ||
css?: Array<LinkType>; | ||
}>; | ||
@@ -11,0 +11,0 @@ export declare type ConfType = { |
{ | ||
"name": "@rallie/core", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "a progressive micro front framework", | ||
@@ -28,3 +28,3 @@ "main": "./dist/index.umd.js", | ||
"homepage": "https://github.com/ralliejs/rallie#readme", | ||
"gitHead": "ff1be4283b897c49464f78598800652a320d358a" | ||
"gitHead": "58dec5cd415c77cf84ca117a1dc112860e10e42b" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
170891
4193