Skip to content

Commit

Permalink
Remove index files in admin.applications.v1 module
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Dec 12, 2024
1 parent 0adff33 commit 85e3f96
Show file tree
Hide file tree
Showing 62 changed files with 103 additions and 565 deletions.
2 changes: 1 addition & 1 deletion features/admin.administrators.v1/pages/administrators.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
useCheckFeatureStatus,
useRequiredScopes
} from "@wso2is/access-control";
import { useApplicationList } from "@wso2is/admin.applications.v1/api";
import { useApplicationList } from "@wso2is/admin.applications.v1/api/application";
import {
AdvancedSearchWithBasicFilters,
AppState,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

import { FeatureAccessConfigInterface } from "@wso2is/access-control";
import { useApplicationList } from "@wso2is/admin.applications.v1/api";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants";
import { useApplicationList } from "@wso2is/admin.applications.v1/api/application";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants/application-management";
import { AppState, UserBasicInterface } from "@wso2is/admin.core.v1";
import { administratorConfig } from "@wso2is/admin.extensions.v1/configs/administrator";
import { updateRoleDetails, useRolesList } from "@wso2is/admin.roles.v2/api/roles";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import { FeatureAccessConfigInterface } from "@wso2is/access-control";
import { useApplicationList } from "@wso2is/admin.applications.v1/api/application";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants/application-management";
import {
AppState,
SharedUserStoreUtils,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ import List from "@oxygen-ui/react/List";
import ListItem from "@oxygen-ui/react/ListItem";
import ListItemText from "@oxygen-ui/react/ListItemText";
import Typography from "@oxygen-ui/react/Typography";
import { ExtendedClaimInterface } from "@wso2is/admin.applications.v1/components/settings/attribute-management";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants";
import {
ExtendedClaimInterface
} from "@wso2is/admin.applications.v1/components/settings/attribute-management/attribute-settings";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants/application-management";
import { getAllLocalClaims, updateAClaim } from "@wso2is/admin.claims.v1/api/claims";
import { ClaimManagementConstants } from "@wso2is/admin.claims.v1/constants";
import { AppConstants, AppState, history } from "@wso2is/admin.core.v1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* under the License.
*/

import { getApplicationDetails } from "@wso2is/admin.applications.v1/api";
import { getApplicationDetails } from "@wso2is/admin.applications.v1/api/application";
import {
AuthenticatorInterface as ApplicationAuthenticatorInterface,
ApplicationInterface,
AuthenticationStepInterface
} from "@wso2is/admin.applications.v1/models";
} from "@wso2is/admin.applications.v1/models/application";
import {
AuthenticatorInterface,
AuthenticatorTypes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { URLFragmentTypes } from "@wso2is/admin.applications.v1/models";
import { URLFragmentTypes } from "@wso2is/admin.applications.v1/models/application";
import { AppState, history } from "@wso2is/admin.core.v1";
import { ExtendedFeatureConfigInterface } from "@wso2is/admin.extensions.v1";
import { IdentifiableComponentInterface } from "@wso2is/core/models";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
* under the License.
*/

import { getApplicationList } from "@wso2is/admin.applications.v1/api";
import { ApplicationListInterface, ApplicationListItemInterface } from "@wso2is/admin.applications.v1/models";
import { getApplicationList } from "@wso2is/admin.applications.v1/api/application";
import {
ApplicationListInterface, ApplicationListItemInterface
} from "@wso2is/admin.applications.v1/models/application";
import { AppConstants, UIConstants, getEmptyPlaceholderIllustrations, history } from "@wso2is/admin.core.v1";
import { AlertLevels, IdentifiableComponentInterface } from "@wso2is/core/models";
import { addAlert } from "@wso2is/core/store";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

import { MinimalAppCreateWizard } from
"@wso2is/admin.applications.v1/components/wizard/minimal-application-create-wizard";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants";
import { ApplicationTemplateListItemInterface } from "@wso2is/admin.applications.v1/models";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants/application-management";
import { ApplicationTemplateListItemInterface } from "@wso2is/admin.applications.v1/models/application";
import { ApplicationTemplateManagementUtils } from
"@wso2is/admin.applications.v1/utils/application-template-management-utils";
import { AppState } from "@wso2is/admin.core.v1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@
* under the License.
*/

import { updateApplicationDetails, updateAuthProtocolConfig } from "@wso2is/admin.applications.v1/api";
import { updateApplicationDetails, updateAuthProtocolConfig } from "@wso2is/admin.applications.v1/api/application";
import {
ApplicationInterface,
MainApplicationInterface,
MainApplicationInterface
} from "@wso2is/admin.applications.v1/models/application";
import {
OIDCDataInterface,
PassiveStsConfigurationInterface,
SAML2ConfigurationInterface,
SAML2ServiceProviderInterface,
SupportedAuthProtocolTypes,
WSTrustConfigurationInterface
} from "@wso2is/admin.applications.v1/models";
} from "@wso2is/admin.applications.v1/models/application-inbound";
import { TemplateDynamicForm } from "@wso2is/admin.template-core.v1/components/template-dynamic-form";
import { DynamicFieldInterface } from "@wso2is/admin.template-core.v1/models/dynamic-fields";
import { AlertLevels, IdentifiableComponentInterface } from "@wso2is/core/models";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
import {
ApplicationInterface,
OIDCApplicationConfigurationInterface,
SAMLApplicationConfigurationInterface
} from "@wso2is/admin.applications.v1/models/application";
import {
OIDCDataInterface,
PassiveStsConfigurationInterface,
SAML2ConfigurationInterface,
SAMLApplicationConfigurationInterface,
SupportedAuthProtocolTypes,
WSTrustConfigurationInterface
} from "@wso2is/admin.applications.v1/models";
} from "@wso2is/admin.applications.v1/models/application-inbound";
import { AppState } from "@wso2is/admin.core.v1";
import { MarkdownGuide } from "@wso2is/admin.template-core.v1/components/markdown-guide";
import { IdentifiableComponentInterface } from "@wso2is/core/models";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/

import Typography from "@oxygen-ui/react/Typography";
import { InboundProtocolsMeta } from "@wso2is/admin.applications.v1/components/meta";
import { AuthProtocolMetaListItemInterface } from "@wso2is/admin.applications.v1/models";
import { InboundProtocolsMeta } from "@wso2is/admin.applications.v1/components/meta/inbound-protocols.meta";
import { AuthProtocolMetaListItemInterface } from "@wso2is/admin.applications.v1/models/application-inbound";
import { ApplicationManagementUtils } from "@wso2is/admin.applications.v1/utils/application-management-utils";
import { AppState, EventPublisher, getEmptyPlaceholderIllustrations } from "@wso2is/admin.core.v1";
import useExtensionTemplates from "@wso2is/admin.template-core.v1/hooks/use-extension-templates";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
* under the License.
*/

import { getApplicationList } from "@wso2is/admin.applications.v1/api";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants";
import { ApplicationListInterface } from "@wso2is/admin.applications.v1/models";
import { getApplicationList } from "@wso2is/admin.applications.v1/api/application";
import { ApplicationManagementConstants } from "@wso2is/admin.applications.v1/constants/application-management";
import { ApplicationListInterface } from "@wso2is/admin.applications.v1/models/application";
import { AppState } from "@wso2is/admin.core.v1";
import { AlertLevels } from "@wso2is/core/models";
import { addAlert } from "@wso2is/core/store";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
* under the License.
*/

import { getApplicationList } from "@wso2is/admin.applications.v1/api";
import { ApplicationListInterface, ApplicationListItemInterface } from "@wso2is/admin.applications.v1/models";
import { getApplicationList } from "@wso2is/admin.applications.v1/api/application";
import {
ApplicationListInterface, ApplicationListItemInterface
} from "@wso2is/admin.applications.v1/models/application";
import set from "lodash-es/set";
import { MutableRefObject, useRef } from "react";

Expand Down
19 changes: 0 additions & 19 deletions features/admin.applications.v1/api/index.ts

This file was deleted.

27 changes: 0 additions & 27 deletions features/admin.applications.v1/components/forms/index.ts

This file was deleted.

22 changes: 0 additions & 22 deletions features/admin.applications.v1/components/help-panel/index.ts

This file was deleted.

22 changes: 0 additions & 22 deletions features/admin.applications.v1/components/meta/index.ts

This file was deleted.

19 changes: 0 additions & 19 deletions features/admin.applications.v1/components/modals/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ import { Trans, useTranslation } from "react-i18next";
import { useSelector } from "react-redux";
import { Checkbox, CheckboxProps, Divider, Grid, Icon } from "semantic-ui-react";
import { DropdownOptionsInterface } from "./attribute-settings";
import { ApplicationManagementConstants } from "../../../constants";
import { ApplicationManagementConstants } from "../../../constants/application-management";
import {
AdvanceAttributeSettingsErrorValidationInterface,
ClaimConfigurationInterface,
InboundProtocolListItemInterface,
OIDCDataInterface,
RoleConfigInterface,
RoleInterface,
SubjectConfigInterface,
SubjectInterface,
SubjectTypes
} from "../../../models";
} from "../../../models/application";
import { OIDCDataInterface } from "../../../models/application-inbound";

interface AdvanceAttributeSettingsPropsInterface extends IdentifiableComponentInterface {
claimConfigurations: ClaimConfigurationInterface;
Expand Down

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions features/admin.applications.v1/components/settings/index.ts

This file was deleted.

This file was deleted.

Loading

0 comments on commit 85e3f96

Please sign in to comment.