@lumibase/sdk 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -361,10 +361,11 @@ interface TypegenSchemaFilters {
361
361
  include?: string[];
362
362
  exclude?: string[];
363
363
  }
364
- type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull";
364
+ type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull" | "_json_contains" | "_has_key" | "_has_any_keys" | "_has_all_keys";
365
365
  interface ItemFilter {
366
366
  _and?: ItemFilter[];
367
367
  _or?: ItemFilter[];
368
+ /** Field key; may be a dotted path into nested JSON, e.g. "meta.author.country". */
368
369
  [key: string]: {
369
370
  [op in ItemFilterOp]?: unknown;
370
371
  } | ItemFilter[] | undefined;
@@ -833,6 +834,8 @@ interface SiteResource {
833
834
  descriptor: string | null;
834
835
  defaultLanguage: string;
835
836
  defaultAppearance: string;
837
+ /** Default Studio save action: `stay` | `return` | `create_new`. */
838
+ defaultSaveAction: string;
836
839
  branding: {
837
840
  logoUrl?: string;
838
841
  faviconUrl?: string;
package/dist/index.d.ts CHANGED
@@ -361,10 +361,11 @@ interface TypegenSchemaFilters {
361
361
  include?: string[];
362
362
  exclude?: string[];
363
363
  }
364
- type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull";
364
+ type ItemFilterOp = "_eq" | "_neq" | "_in" | "_nin" | "_gt" | "_gte" | "_lt" | "_lte" | "_contains" | "_starts_with" | "_ends_with" | "_null" | "_nnull" | "_json_contains" | "_has_key" | "_has_any_keys" | "_has_all_keys";
365
365
  interface ItemFilter {
366
366
  _and?: ItemFilter[];
367
367
  _or?: ItemFilter[];
368
+ /** Field key; may be a dotted path into nested JSON, e.g. "meta.author.country". */
368
369
  [key: string]: {
369
370
  [op in ItemFilterOp]?: unknown;
370
371
  } | ItemFilter[] | undefined;
@@ -833,6 +834,8 @@ interface SiteResource {
833
834
  descriptor: string | null;
834
835
  defaultLanguage: string;
835
836
  defaultAppearance: string;
837
+ /** Default Studio save action: `stay` | `return` | `create_new`. */
838
+ defaultSaveAction: string;
836
839
  branding: {
837
840
  logoUrl?: string;
838
841
  faviconUrl?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumibase/sdk",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "LumiBase JS SDK (REST + WebSocket) + typegen core. Isomorphic ESM.",
5
5
  "type": "module",
6
6
  "repository": {