@epilot/entity-client 3.0.11 → 3.0.14

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.
@@ -1,30 +0,0 @@
1
- import { Components } from './openapi';
2
-
3
- export enum RelationAffinityMode {
4
- /**
5
- * For strong affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will trigger a CASCADE delete or create to the relation entity itself.
6
- * For weak affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will NOT trigger a CASCADE delete or create to the relation entity itself.
7
- */
8
- WEAK = 'weak',
9
- STRONG = 'strong',
10
- }
11
-
12
- export type Attribute =
13
- | Components.Schemas.InternalAttribute
14
- | Components.Schemas.TextAttribute
15
- | Components.Schemas.RepeatableAttribute
16
- | Components.Schemas.BooleanAttribute
17
- | Components.Schemas.SelectAttribute
18
- | Components.Schemas.RelationAttribute
19
- | Components.Schemas.UserRelationAttribute
20
- | Components.Schemas.DateAttribute
21
- | Components.Schemas.TagsAttribute
22
- | Components.Schemas.NumberAttribute
23
- | Components.Schemas.CurrencyAttribute
24
- | Components.Schemas.ConsentAttribute
25
- | Components.Schemas.LinkAttribute
26
- | Components.Schemas.OrderedListAttribute
27
- | Components.Schemas.FileAttribute
28
- | Components.Schemas.CountryAttribute;
29
-
30
- export type AttributeType = Attribute['type'];
package/webpack.config.js DELETED
@@ -1,28 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- const path = require('path');
3
-
4
- const CopyPlugin = require('copy-webpack-plugin');
5
-
6
- module.exports = {
7
- entry: './src/definition.ts',
8
- mode: 'production',
9
- module: {
10
- rules: [
11
- {
12
- test: /\.tsx?$/,
13
- use: 'ts-loader',
14
- exclude: /node_modules/,
15
- },
16
- ],
17
- },
18
- plugins: [
19
- new CopyPlugin({
20
- patterns: [{ from: '*.d.ts', context: './src' }],
21
- }),
22
- ],
23
- output: {
24
- path: path.join(__dirname, 'dist'),
25
- filename: 'definition.js',
26
- libraryTarget: 'commonjs',
27
- },
28
- };