mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +00:00
27 lines
989 B
TypeScript
27 lines
989 B
TypeScript
/**
|
|
* Lua Snippets - Re-exports for backward compatibility
|
|
*
|
|
* Prefer importing from LuaSnippetUtils class or individual functions:
|
|
*
|
|
* @example
|
|
* // Class pattern (recommended)
|
|
* import { LuaSnippetUtils } from '@/lib/lua/LuaSnippetUtils'
|
|
* const snippets = LuaSnippetUtils.getByCategory('Validation')
|
|
*
|
|
* @example
|
|
* // Individual function import
|
|
* import { getSnippetsByCategory } from '@/lib/lua/functions/get-snippets-by-category'
|
|
*/
|
|
|
|
// Re-export types and data
|
|
export type { LuaSnippet } from './snippets/lua-snippets-data'
|
|
export { LUA_SNIPPET_CATEGORIES, LUA_SNIPPETS } from './snippets/lua-snippets-data'
|
|
|
|
// Re-export functions for backward compatibility
|
|
export { getSnippetsByCategory } from './functions/snippets/get-snippets-by-category'
|
|
export { searchSnippets } from './functions/snippets/search-snippets'
|
|
export { getSnippetById } from './functions/snippets/get-snippet-by-id'
|
|
|
|
// Re-export class wrapper
|
|
export { LuaSnippetUtils } from './LuaSnippetUtils'
|