UNPKG

sicua

Version:

A tool for analyzing project structure and dependencies

39 lines (38 loc) 732 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.STATE_PATTERNS = void 0; exports.STATE_PATTERNS = { PREFIXES: new Set([ "state.", "setState", "useState", "useReducer", "store.", "getState", "useSelector", "useStore", ]), BOOLEAN_PREFIXES: new Set([ "is", "has", "should", "can", "will", "did", "was", ]), STATE_TERMS: new Set([ "state", "status", "loading", "error", "data", "value", "count", "selected", "active", "enabled", "visible", "pending", ]), };