@actual-app/api 26.2.0-nightly.20260115 → 26.2.0-nightly.20260116

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.
@@ -45,7 +45,7 @@ type BaseConditionEntity<Field extends keyof FieldValueTypes, Op extends RuleCon
45
45
  $oneof: string[];
46
46
  }>;
47
47
  };
48
- export type RuleConditionEntity = BaseConditionEntity<'account', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches' | 'onBudget' | 'offBudget'> | BaseConditionEntity<'category', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'amount', 'is' | 'isapprox' | 'isbetween' | 'gt' | 'gte' | 'lt' | 'lte'> | BaseConditionEntity<'date', 'is' | 'isapprox' | 'isbetween' | 'gt' | 'gte' | 'lt' | 'lte'> | BaseConditionEntity<'notes', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches' | 'hasTags'> | BaseConditionEntity<'payee', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'imported_payee', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'saved', 'is'> | BaseConditionEntity<'cleared', 'is'> | BaseConditionEntity<'reconciled', 'is'> | BaseConditionEntity<'transfer', 'is'>;
48
+ export type RuleConditionEntity = BaseConditionEntity<'account', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches' | 'onBudget' | 'offBudget'> | BaseConditionEntity<'category', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'amount', 'is' | 'isapprox' | 'isbetween' | 'gt' | 'gte' | 'lt' | 'lte'> | BaseConditionEntity<'date', 'is' | 'isapprox' | 'isbetween' | 'gt' | 'gte' | 'lt' | 'lte'> | BaseConditionEntity<'notes', 'is' | 'isNot' | 'contains' | 'doesNotContain' | 'matches' | 'hasTags'> | BaseConditionEntity<'payee', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'imported_payee', 'is' | 'isNot' | 'oneOf' | 'notOneOf' | 'contains' | 'doesNotContain' | 'matches'> | BaseConditionEntity<'saved', 'is'> | BaseConditionEntity<'cleared', 'is'> | BaseConditionEntity<'reconciled', 'is'> | BaseConditionEntity<'transfer', 'is'>;
49
49
  export type RuleActionEntity = SetRuleActionEntity | SetSplitAmountRuleActionEntity | LinkScheduleRuleActionEntity | PrependNoteRuleActionEntity | AppendNoteRuleActionEntity | DeleteTransactionRuleActionEntity;
50
50
  export type SetRuleActionEntity = {
51
51
  field: string;
@@ -1,4 +1,4 @@
1
- export type FeatureFlag = 'goalTemplatesEnabled' | 'goalTemplatesUIEnabled' | 'actionTemplating' | 'formulaMode' | 'currency' | 'crossoverReport';
1
+ export type FeatureFlag = 'goalTemplatesEnabled' | 'goalTemplatesUIEnabled' | 'actionTemplating' | 'formulaMode' | 'currency' | 'crossoverReport' | 'customThemes';
2
2
  /**
3
3
  * Cross-device preferences. These sync across devices when they are changed.
4
4
  */
@@ -55,6 +55,7 @@ export type GlobalPrefs = Partial<{
55
55
  baseTheme?: 'light' | 'dark' | 'midnight';
56
56
  colors: Record<string, string>;
57
57
  }>;
58
+ installedCustomTheme?: string;
58
59
  documentDir: string;
59
60
  serverSelfSignedCert: string;
60
61
  syncServerConfig?: {
@@ -80,6 +81,7 @@ export type GlobalPrefsJson = Partial<{
80
81
  language?: GlobalPrefs['language'];
81
82
  theme?: GlobalPrefs['theme'];
82
83
  'preferred-dark-theme'?: GlobalPrefs['preferredDarkTheme'];
84
+ 'installed-custom-theme'?: GlobalPrefs['installedCustomTheme'];
83
85
  plugins?: string;
84
86
  'plugin-theme'?: string;
85
87
  'server-self-signed-cert'?: GlobalPrefs['serverSelfSignedCert'];
@@ -61163,7 +61163,7 @@ const FIELD_INFO = {
61163
61163
  payee: { type: "id", disallowedOps: /* @__PURE__ */ new Set(["onBudget", "offBudget"]) },
61164
61164
  payee_name: { type: "string" },
61165
61165
  date: { type: "date" },
61166
- notes: { type: "string" },
61166
+ notes: { type: "string", disallowedOps: /* @__PURE__ */ new Set(["oneOf", "notOneOf"]) },
61167
61167
  amount: { type: "number" },
61168
61168
  category: {
61169
61169
  type: "id",
@@ -125744,6 +125744,9 @@ async function saveGlobalPrefs(prefs2) {
125744
125744
  if (prefs2.preferredDarkTheme !== void 0) {
125745
125745
  await setItem("preferred-dark-theme", prefs2.preferredDarkTheme);
125746
125746
  }
125747
+ if (prefs2.installedCustomTheme !== void 0) {
125748
+ await setItem("installed-custom-theme", prefs2.installedCustomTheme);
125749
+ }
125747
125750
  if (prefs2.serverSelfSignedCert !== void 0) {
125748
125751
  await setItem("server-self-signed-cert", prefs2.serverSelfSignedCert);
125749
125752
  }
@@ -125756,7 +125759,7 @@ async function saveGlobalPrefs(prefs2) {
125756
125759
  return "ok";
125757
125760
  }
125758
125761
  async function loadGlobalPrefs() {
125759
- const { "floating-sidebar": floatingSidebar, "category-expanded-state": categoryExpandedState, "max-months": maxMonths, "document-dir": documentDir2, "encrypt-key": encryptKey, language, theme, "preferred-dark-theme": preferredDarkTheme, "server-self-signed-cert": serverSelfSignedCert, syncServerConfig, notifyWhenUpdateIsAvailable } = await multiGet([
125762
+ const { "floating-sidebar": floatingSidebar, "category-expanded-state": categoryExpandedState, "max-months": maxMonths, "document-dir": documentDir2, "encrypt-key": encryptKey, language, theme, "preferred-dark-theme": preferredDarkTheme, "installed-custom-theme": installedCustomTheme, "server-self-signed-cert": serverSelfSignedCert, syncServerConfig, notifyWhenUpdateIsAvailable } = await multiGet([
125760
125763
  "floating-sidebar",
125761
125764
  "category-expanded-state",
125762
125765
  "max-months",
@@ -125765,6 +125768,7 @@ async function loadGlobalPrefs() {
125765
125768
  "language",
125766
125769
  "theme",
125767
125770
  "preferred-dark-theme",
125771
+ "installed-custom-theme",
125768
125772
  "server-self-signed-cert",
125769
125773
  "syncServerConfig",
125770
125774
  "notifyWhenUpdateIsAvailable"
@@ -125778,6 +125782,7 @@ async function loadGlobalPrefs() {
125778
125782
  language,
125779
125783
  theme: theme === "light" || theme === "dark" || theme === "auto" || theme === "development" || theme === "midnight" ? theme : "auto",
125780
125784
  preferredDarkTheme: preferredDarkTheme === "dark" || preferredDarkTheme === "midnight" ? preferredDarkTheme : "dark",
125785
+ installedCustomTheme: installedCustomTheme || void 0,
125781
125786
  serverSelfSignedCert: serverSelfSignedCert || void 0,
125782
125787
  syncServerConfig: syncServerConfig || void 0,
125783
125788
  notifyWhenUpdateIsAvailable: notifyWhenUpdateIsAvailable === void 0 ? true : notifyWhenUpdateIsAvailable
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.2.0-nightly.20260115",
3
+ "version": "26.2.0-nightly.20260116",
4
4
  "description": "An API for Actual",
5
5
  "license": "MIT",
6
6
  "files": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/api",
3
- "version": "26.2.0-nightly.20260115",
3
+ "version": "26.2.0-nightly.20260116",
4
4
  "description": "An API for Actual",
5
5
  "license": "MIT",
6
6
  "files": [