@antelopejs/dms 0.3.3 → 0.3.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.5
4
+
5
+ [compare changes](https://github.com/AntelopeJS/dms/compare/v0.3.4...v0.3.5)
6
+
7
+ ### 💅 Refactors
8
+
9
+ - **frontend:** Import the SDK through #dms/frontend-module ([#20](https://github.com/AntelopeJS/dms/pull/20))
10
+
11
+ ### 🏡 Chore
12
+
13
+ - Align community files with the organization defaults ([#19](https://github.com/AntelopeJS/dms/pull/19))
14
+
15
+ ### ❤️ Contributors
16
+
17
+ - Antony Rizzitelli <rizzitelli.antony@pm.me>
18
+
19
+ ## v0.3.4
20
+
21
+ [compare changes](https://github.com/AntelopeJS/dms/compare/v0.3.3...v0.3.4)
22
+
23
+ ### 🏡 Chore
24
+
25
+ - **dms:** Drop the pages export and require interface-dms 0.1.0 ([#18](https://github.com/AntelopeJS/dms/pull/18))
26
+
27
+ ### ❤️ Contributors
28
+
29
+ - Antony Rizzitelli <rizzitelli.antony@pm.me>
30
+
3
31
  ## v0.3.3
4
32
 
5
33
  [compare changes](https://github.com/AntelopeJS/dms/compare/interface-v0.1.0...v0.3.3)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  type DmsAppContext,
3
3
  type DmsPluginSetup,
4
- } from "#dms-inertia/frontend-module";
4
+ } from "#dms/frontend-module";
5
5
  import dmsMenuSyncPlugin from "./layers/dms-layout/app/plugins/dms-menu-sync.client";
6
6
  import commandPaletteNavigationPlugin from "./layers/dms-layout/app/plugins/command-palette-navigation.client";
7
7
  import commandPalettePersonalPagesPlugin from "./layers/dms-layout/app/plugins/command-palette-personal-pages.client";
@@ -2,7 +2,7 @@ import { defineAsyncComponent, type Component } from "vue";
2
2
  import {
3
3
  type DmsFrontendModule,
4
4
  useDmsAppConfig,
5
- } from "#dms-inertia/frontend-module";
5
+ } from "#dms/frontend-module";
6
6
  import { defu } from "defu";
7
7
  import appConfig from "./layers/dms-layout/app/app.config";
8
8
  import authMiddleware from "./layers/dms-auth/app/middleware/auth";
@@ -1,7 +1,7 @@
1
1
  import type {
2
2
  LocationQuery,
3
3
  LocationQueryRaw,
4
- } from "#dms-inertia/frontend-module";
4
+ } from "#dms/frontend-module";
5
5
 
6
6
  export const ACCOUNTS_LIST_ROUTE = "/auth/accounts";
7
7
  export const FROM_ACCOUNTS_QUERY = { from: "accounts" };
@@ -1,4 +1,4 @@
1
- import type { UseFetchOptions } from "#dms-inertia/frontend-module";
1
+ import type { UseFetchOptions } from "#dms/frontend-module";
2
2
 
3
3
  export const CONTENT_LANGUAGE_HEADER = "x-content-language";
4
4
 
@@ -29,7 +29,7 @@ export interface DmsAppConfig {
29
29
  branding: DmsBrandingConfig;
30
30
  }
31
31
 
32
- declare module "#dms-inertia/frontend-module" {
32
+ declare module "#dms/frontend-module" {
33
33
  interface DmsAppConfig {
34
34
  ui: DmsUiConfig;
35
35
  branding: DmsBrandingConfig;
@@ -54,7 +54,7 @@ interface DmsBrowserSession {
54
54
  activeTenantId?: string;
55
55
  }
56
56
 
57
- declare module "#dms-inertia/frontend-module" {
57
+ declare module "#dms/frontend-module" {
58
58
  import type { User } from "../../app/types/user";
59
59
 
60
60
  interface PublicRuntimeConfig {
@@ -37,7 +37,7 @@ const theme = tv({
37
37
  </script>
38
38
 
39
39
  <script setup lang="ts">
40
- import { DmsLink } from "#dms-inertia/frontend-module";
40
+ import { DmsLink } from "#dms/frontend-module";
41
41
  interface Props {
42
42
  item: DmsMenuItem;
43
43
  isTopLevel?: boolean;
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import type { DmsErrorData } from "#dms-inertia/frontend-module";
2
+ import type { DmsErrorData } from "#dms/frontend-module";
3
3
 
4
4
  const ERROR_CONFIGS: Record<
5
5
  number,
@@ -1,4 +1,4 @@
1
- import type { LocationQueryValue } from "#dms-inertia/frontend-module";
1
+ import type { LocationQueryValue } from "#dms/frontend-module";
2
2
 
3
3
  export function registerDefaultFunctions() {
4
4
  const { registerFunction } = useDefinedFunctions();
@@ -4,7 +4,7 @@ import type { QueryParamFilters } from "../../../composables/table-view/types";
4
4
  import type {
5
5
  LocationQuery,
6
6
  LocationQueryValue,
7
- } from "#dms-inertia/frontend-module";
7
+ } from "#dms/frontend-module";
8
8
  import {
9
9
  TableRowAction,
10
10
  FormContainerType,
@@ -58,7 +58,7 @@
58
58
  "zod": "^3.24.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@antelopejs/dms-frontend": ">=0.0.1 <1.0.0",
61
+ "@antelopejs/dms-frontend": ">=0.2.0 <1.0.0",
62
62
  "@eslint/js": "^8.57.0",
63
63
  "@inertiajs/vue3": "^3.7.0",
64
64
  "@nuxt/ui": "4.10.0",
@@ -121,8 +121,8 @@ importers:
121
121
  version: 3.25.76
122
122
  devDependencies:
123
123
  '@antelopejs/dms-frontend':
124
- specifier: '>=0.0.1 <1.0.0'
125
- version: 0.0.1
124
+ specifier: '>=0.2.0 <1.0.0'
125
+ version: 0.2.0
126
126
  '@eslint/js':
127
127
  specifier: ^8.57.0
128
128
  version: 8.57.0
@@ -193,11 +193,12 @@ packages:
193
193
  resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
194
194
  engines: {node: '>=10'}
195
195
 
196
- '@antelopejs/dms-frontend@0.0.1':
197
- resolution: {integrity: sha512-00lgHT52WQcaH7m34Yn1n3tbF3fxYS3fXwMjVJXI8FCrC95Kika6DwioJBD5c0824bjxMGhq/9ArmD401yb4Jw==}
196
+ '@antelopejs/dms-frontend@0.2.0':
197
+ resolution: {integrity: sha512-E1k+DCgFtOSJMnt6Ocxga5Dct30BjV6uo4BNJJ1wI9IauqAtgqOE32xeqd/YYQCCWa+sauUy21dfKNQiftR2Jw==}
198
+ engines: {node: '>=20.12.0'}
198
199
  hasBin: true
199
200
  peerDependencies:
200
- '@antelopejs/core': '>=1.5.0 <2'
201
+ '@antelopejs/core': '>=1.7.0 <2'
201
202
  peerDependenciesMeta:
202
203
  '@antelopejs/core':
203
204
  optional: true
@@ -654,6 +655,7 @@ packages:
654
655
  '@humanwhocodes/config-array@0.11.14':
655
656
  resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
656
657
  engines: {node: '>=10.10.0'}
658
+ deprecated: Use @eslint/config-array instead
657
659
 
658
660
  '@humanwhocodes/module-importer@1.0.1':
659
661
  resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
@@ -661,6 +663,7 @@ packages:
661
663
 
662
664
  '@humanwhocodes/object-schema@2.0.3':
663
665
  resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}
666
+ deprecated: Use @eslint/object-schema instead
664
667
 
665
668
  '@iconify-json/lucide@1.2.70':
666
669
  resolution: {integrity: sha512-56s9NdBKgshywVY1e4gOcxzAbU1J649e/jLHBJU1tyNqRs7mFLVEGwj2mmzHJ5YAZB5Tsngi4f/ocTBPlG06ZA==}
@@ -1463,6 +1466,7 @@ packages:
1463
1466
 
1464
1467
  '@ungap/structured-clone@1.3.0':
1465
1468
  resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
1469
+ deprecated: Potential CWE-502 - Update to 1.3.1 or higher
1466
1470
 
1467
1471
  '@unhead/vue@2.0.19':
1468
1472
  resolution: {integrity: sha512-7BYjHfOaoZ9+ARJkT10Q2TjnTUqDXmMpfakIAsD/hXiuff1oqWg1xeXT5+MomhNcC15HbiABpbbBmITLSHxdKg==}
@@ -2160,6 +2164,7 @@ packages:
2160
2164
  eslint@8.57.0:
2161
2165
  resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==}
2162
2166
  engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
2167
+ deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options.
2163
2168
  hasBin: true
2164
2169
 
2165
2170
  espree@9.6.1:
@@ -2315,6 +2320,7 @@ packages:
2315
2320
 
2316
2321
  glob@7.2.3:
2317
2322
  resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
2323
+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
2318
2324
 
2319
2325
  globals@13.24.0:
2320
2326
  resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}
@@ -2382,6 +2388,7 @@ packages:
2382
2388
 
2383
2389
  inflight@1.0.6:
2384
2390
  resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
2391
+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2385
2392
 
2386
2393
  inherits@2.0.4:
2387
2394
  resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
@@ -3085,6 +3092,7 @@ packages:
3085
3092
 
3086
3093
  rimraf@3.0.2:
3087
3094
  resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
3095
+ deprecated: Rimraf versions prior to v4 are no longer supported
3088
3096
  hasBin: true
3089
3097
 
3090
3098
  rollup@4.52.5:
@@ -3779,7 +3787,7 @@ snapshots:
3779
3787
 
3780
3788
  '@alloc/quick-lru@5.2.0': {}
3781
3789
 
3782
- '@antelopejs/dms-frontend@0.0.1':
3790
+ '@antelopejs/dms-frontend@0.2.0':
3783
3791
  dependencies:
3784
3792
  boxen: 5.1.2
3785
3793
  chalk: 4.1.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AntelopeJS/dms.git"
@@ -35,7 +35,7 @@
35
35
  "@antelopejs/interface-data-api": ">=0.1.9 <1.0.0",
36
36
  "@antelopejs/interface-database": ">=0.1.7 <1.0.0",
37
37
  "@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
38
- "@antelopejs/interface-dms": ">=0.0.3 <1.0.0",
38
+ "@antelopejs/interface-dms": ">=0.1.0 <1.0.0",
39
39
  "@antelopejs/interface-email": ">=0.0.5 <1.0.0",
40
40
  "@antelopejs/interface-file-storage": ">=0.1.3 <1.0.0",
41
41
  "archiver": "^7.0.1",
@@ -81,10 +81,6 @@
81
81
  "default": "./dist/index.js"
82
82
  },
83
83
  "./package.json": "./package.json",
84
- "./pages": {
85
- "types": "./dist/pages/index.d.ts",
86
- "default": "./dist/pages/index.js"
87
- },
88
84
  "./interfaces/*": null
89
85
  },
90
86
  "typesVersions": {