Comparing version 0.0.3 to 0.0.4
@@ -1,2 +0,2 @@ | ||
import { WeakPromise } from 'src/weak_promise.js'; | ||
import { WeakPromise } from "./weak_promise.js"; | ||
export declare function delay(time: number): WeakPromise<void>; |
@@ -1,2 +0,2 @@ | ||
import { IRunnerBroadcast } from 'src/irunner_broadcast.js'; | ||
import { IRunnerBroadcast } from "../irunner_broadcast.js"; | ||
export declare function useRunnerErrorEffect(callback: (error: Error | null) => void, task: IRunnerBroadcast<any>): void; |
@@ -1,2 +0,2 @@ | ||
import { IRunnerBroadcast } from 'src/irunner_broadcast.js'; | ||
import { IRunnerBroadcast } from "../irunner_broadcast.js"; | ||
export declare function useRunnerFeedbackEffect(callback: (feedback: string) => void, task: IRunnerBroadcast<any>): void; |
@@ -1,2 +0,2 @@ | ||
import { IRunnerBroadcast } from 'src/irunner_broadcast.js'; | ||
import { IRunnerBroadcast } from "../irunner_broadcast.js"; | ||
export declare function useRunnerProgressEffect(callback: (progress: number) => void, task: IRunnerBroadcast<any>): void; |
@@ -1,2 +0,2 @@ | ||
import { IRunnerBroadcast, Status } from 'src/irunner_broadcast.js'; | ||
import { IRunnerBroadcast, Status } from "../irunner_broadcast.js"; | ||
export declare function useRunnerStatusEffect(callback: (value: Status) => void, task: IRunnerBroadcast<any>): void; |
@@ -1,2 +0,2 @@ | ||
import { IRunnerBroadcast } from 'src/irunner_broadcast.js'; | ||
export declare function useRunnerStatus(broadcast: IRunnerBroadcast<any>): import("src/irunner_broadcast.js").Status; | ||
import { IRunnerBroadcast } from "../irunner_broadcast.js"; | ||
export declare function useRunnerStatus(broadcast: IRunnerBroadcast<any>): import("../irunner_broadcast.js").Status; |
@@ -1,2 +0,2 @@ | ||
import { IBroadcast } from 'src/ibroadcast.js'; | ||
import { IBroadcast } from "../ibroadcast.js"; | ||
export declare function useSignalValueEffect<T>(callback: (value: T) => void, broadcast: IBroadcast<T>): void; |
@@ -1,2 +0,2 @@ | ||
import { IBroadcast } from 'src/ibroadcast.js'; | ||
import { IBroadcast } from "../ibroadcast.js"; | ||
export declare function useSignalValue<TValue>(broadcast: IBroadcast<TValue>): TValue; |
@@ -1,2 +0,2 @@ | ||
import { WeakPromise } from 'src/weak_promise.js'; | ||
import { WeakPromise } from "./weak_promise.js"; | ||
import { IRunnerBroadcast } from './irunner_broadcast.js'; | ||
@@ -3,0 +3,0 @@ import { ISignal } from './isignal.js'; |
@@ -1,4 +0,4 @@ | ||
import { FieldPresenter } from 'src/stories/todo/field_presenter.js'; | ||
import { OptionsFieldPresenter } from 'src/stories/todo/options_field_presenter.js'; | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { FieldPresenter } from "./field_presenter.js"; | ||
import { OptionsFieldPresenter } from "./options_field_presenter.js"; | ||
import { TodoItem } from "./todo_item.js"; | ||
export declare class AddFormPresenter { | ||
@@ -5,0 +5,0 @@ private _onSave; |
@@ -1,2 +0,2 @@ | ||
import { Signal } from 'src/signal.js'; | ||
import { Signal } from "../../signal.js"; | ||
interface InternalValidationOptions<T> { | ||
@@ -3,0 +3,0 @@ validate: (value: T) => void; |
@@ -1,2 +0,2 @@ | ||
import { FieldPresenter, ValidationOptions } from 'src/stories/todo/field_presenter.js'; | ||
import { FieldPresenter, ValidationOptions } from "./field_presenter.js"; | ||
export declare class OptionsFieldPresenter extends FieldPresenter<string> { | ||
@@ -3,0 +3,0 @@ private _options; |
import React from 'react'; | ||
import { AddFormPresenter } from 'src/stories/todo/add_form_presenter.js'; | ||
import { AddFormPresenter } from "../add_form_presenter.js"; | ||
export interface AddFormProps { | ||
@@ -4,0 +4,0 @@ presenter: AddFormPresenter; |
import React, { HTMLAttributes } from 'react'; | ||
import { FieldPresenter } from 'src/stories/todo/field_presenter.js'; | ||
import { FieldPresenter } from "../field_presenter.js"; | ||
export interface FieldProps extends HTMLAttributes<HTMLInputElement> { | ||
@@ -4,0 +4,0 @@ presenter: FieldPresenter<any>; |
import React, { HTMLAttributes } from 'react'; | ||
import { OptionsFieldPresenter } from 'src/stories/todo/options_field_presenter.js'; | ||
import { OptionsFieldPresenter } from "../options_field_presenter.js"; | ||
export interface OptionsFieldProps extends HTMLAttributes<HTMLSelectElement> { | ||
@@ -4,0 +4,0 @@ presenter: OptionsFieldPresenter; |
import React from 'react'; | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { TodoItem } from "../todo_item.js"; | ||
export interface TableCheckboxProps { | ||
@@ -4,0 +4,0 @@ item: TodoItem; |
import React from 'react'; | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { TodoItem } from "../todo_item.js"; | ||
export interface TableTodoItemPriorityProps { | ||
@@ -4,0 +4,0 @@ item: TodoItem; |
import React from 'react'; | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { TodoItem } from "../todo_item.js"; | ||
export interface TableTodoItemTitleProps { | ||
@@ -4,0 +4,0 @@ item: TodoItem; |
import React from 'react'; | ||
import { TodoPresenter } from 'src/stories/todo/todo_presenter.js'; | ||
import { TodoPresenter } from "../todo_presenter.js"; | ||
export interface TodoTableProps { | ||
@@ -4,0 +4,0 @@ width?: string; |
import React from 'react'; | ||
import { TodoPresenter } from 'src/stories/todo/todo_presenter.js'; | ||
import { TodoPresenter } from "../todo_presenter.js"; | ||
export interface TodoProps { | ||
@@ -4,0 +4,0 @@ width?: string; |
@@ -1,4 +0,4 @@ | ||
import { AddFormPresenter } from 'src/stories/todo/add_form_presenter.js'; | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { TodoService } from 'src/stories/todo/todo_service.js'; | ||
import { AddFormPresenter } from "./add_form_presenter.js"; | ||
import { TodoItem } from "./todo_item.js"; | ||
import { TodoService } from "./todo_service.js"; | ||
export declare class TodoPresenter { | ||
@@ -5,0 +5,0 @@ private _service; |
@@ -1,2 +0,2 @@ | ||
import { TodoItem } from 'src/stories/todo/todo_item.js'; | ||
import { TodoItem } from "./todo_item.js"; | ||
export declare class TodoService { | ||
@@ -3,0 +3,0 @@ private _items; |
{ | ||
"name": "@tcn/state", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "State management for complex business logic.", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
178663