Skip to content

Commit

Permalink
removed @irontec-voip references
Browse files Browse the repository at this point in the history
  • Loading branch information
mmadariaga committed Aug 8, 2024
1 parent 4f6c0ac commit 1f86fb8
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions library/hygen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Create in the root project a file named .hygen.js, following the next structure:

```javascript
const helpers = require("@irontec-voip/ivoz-ui/hygen/lib");
const helpers = require("@irontec/ivoz-ui/hygen/lib");

module.exports = {
templates: `${__dirname}/node_modules/@irontec-voip/ivoz-ui/hygen/templates`,
templates: `${__dirname}/node_modules/@irontec/ivoz-ui/hygen/templates`,
helpers: {
...helpers,
url: () => "https://10.189.2.23/isbc/api/docs.json",
Expand Down
8 changes: 4 additions & 4 deletions library/hygen/templates/entity/new/Entity.ejs.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
to: src/entities/<%= Name %>/<%= Name %>.tsx
---
import AccountTreeIcon from '@mui/icons-material/AccountTree';
import EntityInterface from '@irontec-voip/ivoz-ui/entities/EntityInterface';
import _ from '@irontec-voip/ivoz-ui/services/translations/translate';
import defaultEntityBehavior from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior';
import { EntityValue } from '@irontec-voip/ivoz-ui';
import EntityInterface from '@irontec/ivoz-ui/entities/EntityInterface';
import _ from '@irontec/ivoz-ui/services/translations/translate';
import defaultEntityBehavior from '@irontec/ivoz-ui/entities/DefaultEntityBehavior';
import { EntityValue } from '@irontec/ivoz-ui';
import { <%= Name %>Properties, <%= Name %>PropertyList } from './<%= Name %>Properties';

const properties: <%= Name %>Properties = {
Expand Down
4 changes: 2 additions & 2 deletions library/hygen/templates/entity/new/EntityProperties.ejs.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
to: src/entities/<%= Name %>/<%= Name %>Properties.ts
---
import { PropertySpec } from '@irontec-voip/ivoz-ui/services/api/ParsedApiSpecInterface';
import { EntityValue, EntityValues } from '@irontec-voip/ivoz-ui/services/entity/EntityService';
import { PropertySpec } from '@irontec/ivoz-ui/services/api/ParsedApiSpecInterface';
import { EntityValue, EntityValues } from '@irontec/ivoz-ui/services/entity/EntityService';

export type <%= Name %>PropertyList<T> = {
<%- h.formattedEntityProperties(h.url(), Name)%>
Expand Down
4 changes: 2 additions & 2 deletions library/hygen/templates/entity/new/ForeignKeyGetter.ejs.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
to: src/entities/<%= Name %>/ForeignKeyGetter.tsx
---
import { ForeignKeyGetterType } from '@irontec-voip/ivoz-ui/entities/EntityInterface';
import { autoSelectOptions } from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior';
import { ForeignKeyGetterType } from '@irontec/ivoz-ui/entities/EntityInterface';
import { autoSelectOptions } from '@irontec/ivoz-ui/entities/DefaultEntityBehavior';
import { <%= Name %>PropertyList } from './<%= Name %>Properties';

/** TODO remove this file unless you need to change default behaviour **/
Expand Down
4 changes: 2 additions & 2 deletions library/hygen/templates/entity/new/ForeignKeyResolver.ejs.t
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
to: src/entities/<%= Name %>/ForeignKeyResolver.tsx
---
import { autoForeignKeyResolver } from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior';
import { foreignKeyResolverType } from '@irontec-voip/ivoz-ui/entities/EntityInterface';
import { autoForeignKeyResolver } from '@irontec/ivoz-ui/entities/DefaultEntityBehavior';
import { foreignKeyResolverType } from '@irontec/ivoz-ui/entities/EntityInterface';
import { <%= Name %>PropertiesList } from './<%= Name %>Properties';

/** TODO remove this file unless you need to change default behaviour **/
Expand Down
6 changes: 3 additions & 3 deletions library/hygen/templates/entity/new/Form.ejs.t
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
to: src/entities/<%= Name %>/Form.tsx
---
import { EntityFormProps, FieldsetGroups } from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior';
import _ from '@irontec-voip/ivoz-ui/services/translations/translate';
import { Form as DefaultEntityForm } from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior/Form';
import { EntityFormProps, FieldsetGroups } from '@irontec/ivoz-ui/entities/DefaultEntityBehavior';
import _ from '@irontec/ivoz-ui/services/translations/translate';
import { Form as DefaultEntityForm } from '@irontec/ivoz-ui/entities/DefaultEntityBehavior/Form';

const Form = (props: EntityFormProps): JSX.Element => {

Expand Down
6 changes: 3 additions & 3 deletions library/hygen/templates/entity/new/SelectOptions.ejs.t
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
to: src/entities/<%= Name %>/SelectOptions.ts
---
import defaultEntityBehavior from '@irontec-voip/ivoz-ui/entities/DefaultEntityBehavior';
import { SelectOptionsType } from '@irontec-voip/ivoz-ui/entities/EntityInterface';
import defaultEntityBehavior from '@irontec/ivoz-ui/entities/DefaultEntityBehavior';
import { SelectOptionsType } from '@irontec/ivoz-ui/entities/EntityInterface';
import { <%= Name %>PropertiesList } from './<%= Name %>Properties';
import { DropdownChoices } from '@irontec-voip/ivoz-ui';
import { DropdownChoices } from '@irontec/ivoz-ui';
import store from 'store';

const <%= Name %>SelectOptions: SelectOptionsType = ({ callback, cancelToken }): Promise<unknown> => {
Expand Down
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@irontec/ivoz-ui",
"version": "1.4.1",
"version": "1.4.2",
"description": "UI library used in ivozprovider",
"license": "GPL-3.0",
"main": "index.js",
Expand Down

0 comments on commit 1f86fb8

Please sign in to comment.